Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
58971a3c
Commit
58971a3c
authored
Apr 07, 2023
by
lizhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签约地点校验修改
parent
9650c7a1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
13 deletions
+22
-13
con_contract_modify.lview
...main/webapp/modules/cont/CON505/con_contract_modify.lview
+1
-1
prj_project_create.lview
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
+7
-4
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+7
-4
prj_project_maintain_wfl_new.lview
...pp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
+7
-4
No files found.
src/main/webapp/modules/cont/CON505/con_contract_modify.lview
View file @
58971a3c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
View file @
58971a3c
...
...
@@ -460,10 +460,13 @@
return false;
}
if (record.get('signing_city')){
var reg = /^([\u2E80-\u9FFF]){4,}$/;
if (!reg.test(record.get('signing_city'))) {
$L.showErrorMessage('提示', '合同签订地建议格式:“xx市xx区”(也可填写详细地址)!');
return false;
// var reg = /^([\u2E80-\u9FFF]){4,}$/;
// if (!reg.test(record.get('signing_city'))) {
// $L.showErrorMessage('提示', '合同签订地建议格式:“xx市xx区”(也可填写详细地址)!');
// return false;
// }
if (record.get('signing_city').indexOf('州') == -1
&&
record.get('signing_city').indexOf('县') == -1
&&
record.get('signing_city').indexOf('区') == -1) {
Leaf.showConfirm('${HLS.PROMPT}', '合同签订地所填写内容,未细化到区/县/州级别,是否确认?', function () {});
}
}
}
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
58971a3c
...
...
@@ -1830,10 +1830,13 @@
}
if
(record.get('signing_city')){
//
var
reg =
/^([\u2E80-\u9FFF]){4,}$/;
var
reg =
/^(.){4,}$/;
if
(!reg.test(record.get('signing_city')))
{
$L.showErrorMessage('提示',
'合同签订地建议格式:“xx市xx区”(也可填写详细地址)!');
return
false;
//
var
reg =
/^(.){4,}$/;
//
if
(!reg.test(record.get('signing_city')))
{
//
$L.showErrorMessage('提示',
'合同签订地建议格式:“xx市xx区”(也可填写详细地址)!');
//
return
false;
//
}
if
(record.get('signing_city').indexOf('州')
==
-1
&&
record.get('signing_city').indexOf('县')
==
-1
&&
record.get('signing_city').indexOf('区')
==
-1)
{
Leaf.showConfirm('${HLS.PROMPT}',
'合同签订地所填写内容,未细化到区/县/州级别,是否确认?',
function
()
{});
}
}
}
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
View file @
58971a3c
...
...
@@ -328,10 +328,13 @@
return false;
}
if (record.get('signing_city')){
var reg = /^([\u2E80-\u9FFF]){4,}$/;
if (!reg.test(record.get('signing_city'))) {
$L.showErrorMessage('提示', '合同签订地请输入**市**区!');
return false;
// var reg = /^([\u2E80-\u9FFF]){4,}$/;
// if (!reg.test(record.get('signing_city'))) {
// $L.showErrorMessage('提示', '合同签订地请输入**市**区!');
// return false;
// }
if (record.get('signing_city').indexOf('州') == -1 && record.get('signing_city').indexOf('县') == -1 && record.get('signing_city').indexOf('区') == -1) {
Leaf.showConfirm('${HLS.PROMPT}', '合同签订地所填写内容,未细化到区/县/州级别,是否确认?', function () {});
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment