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
c77bff08
Commit
c77bff08
authored
Jun 08, 2021
by
李贺贺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同签订地字段添加校验
parent
1c0a9755
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
prj_project_create.lview
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
+7
-0
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+7
-0
prj_project_maintain_wfl_new.lview
...pp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
+7
-0
No files found.
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
View file @
c77bff08
...
...
@@ -374,6 +374,13 @@
Leaf.showMessage('${l:HLS.PROMPT}', '扣款限额应大于0');
return false;
}
if (record.get('signing_city')){
var reg = /^([\u2E80-\u9FFF]){4,}$/;
if (!reg.test(record.get('signing_city'))) {
$L.showErrorMessage('提示', '合同签订地请输入**市**区!');
return false;
}
}
}
if (bp_tenant_detail_r && ds.id == prj_project_ds_id) {
for (var key in bp_tenant_detail_r.data) {
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
c77bff08
...
...
@@ -1479,6 +1479,13 @@
Leaf.showMessage('${l:HLS.PROMPT}',
'扣款限额应大于0');
return
false;
}
if
(record.get('signing_city')){
var
reg =
/^([\u2E80-\u9FFF]){4,}$/;
if
(!reg.test(record.get('signing_city')))
{
$L.showErrorMessage('提示',
'合同签订地请输入**市**区!');
return
false;
}
}
}
if
(bp_tenant_detail_r
&&
ds.id =
=
prj_project_ds_id)
{
for
(var
key
in
bp_tenant_detail_r.data)
{
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
View file @
c77bff08
...
...
@@ -312,6 +312,13 @@
Leaf.showMessage('${l:HLS.PROMPT}', '扣款限额不能小于0');
return false;
}
if (record.get('signing_city')){
var reg = /^([\u2E80-\u9FFF]){4,}$/;
if (!reg.test(record.get('signing_city'))) {
$L.showErrorMessage('提示', '合同签订地请输入**市**区!');
return false;
}
}
}
if (bp_tenant_detail_r && ds.id == prj_project_ds_id) {
for (var key in bp_tenant_detail_r.data) {
...
...
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