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
c4859929
Commit
c4859929
authored
Jun 28, 2024
by
lizhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消机号校验请求
parent
a65eab89
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1 addition
and
287 deletions
+1
-287
con_re_incept_modify.lview
...in/webapp/modules/cont/CON3200/con_re_incept_modify.lview
+0
-29
con_re_incept_op_modify.lview
...webapp/modules/cont/CON3200/con_re_incept_op_modify.lview
+0
-29
con_contract_modify.lview
...main/webapp/modules/cont/CON505/con_contract_modify.lview
+1
-1
con_contract_op_modify.lview
...n/webapp/modules/cont/CON505/con_contract_op_modify.lview
+0
-25
con_contract_closed_wfl.lview
.../webapp/modules/cont/CON542/con_contract_closed_wfl.lview
+0
-25
prj_project_create.lview
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
+0
-29
prj_project_create_constru.lview
...bapp/modules/prj/PRJ500N/prj_project_create_constru.lview
+0
-29
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+0
-31
prj_project_maintain_constru.lview
...pp/modules/prj/PRJ501N/prj_project_maintain_constru.lview
+0
-31
prj_project_maintain_constru_wfl.lview
...odules/prj/PRJ501N/prj_project_maintain_constru_wfl.lview
+0
-29
prj_project_maintain_wfl_new.lview
...pp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
+0
-29
No files found.
src/main/webapp/modules/cont/CON3200/con_re_incept_modify.lview
View file @
c4859929
...
@@ -948,35 +948,6 @@
...
@@ -948,35 +948,6 @@
}
}
}
}
if(!Leaf.isEmpty(secondary_lease)
&&
secondary_lease!='YES') {
if ((division == '92' || division == '70')
&&
!Leaf.isEmpty(machine_number)) {
Leaf.request({
url: $('check_machine_number_id').getUrl(),
para: {
machine_number: machine_number,
project_id: project_id
},
scope: this,
success: function (res) {
machine_number_num = res.result.record.v_count;
},
failure: function () {
return false;
},
scope: this,
sync: true
});
}
if (machine_number_num > 0
&&
count == 0) {
count = count + 1;
$L.showErrorMessage('提示', '该机号已存在,请重新确认!');
return false;
} else if (machine_number_num > 0
&&
count != 0) {
count = 0;
return false;
}
}
}
}
...
...
src/main/webapp/modules/cont/CON3200/con_re_incept_op_modify.lview
View file @
c4859929
...
@@ -850,35 +850,6 @@
...
@@ -850,35 +850,6 @@
}
}
}
}
if(!Leaf.isEmpty(secondary_lease)
&&
secondary_lease!='YES') {
if (division == '92'
&&
!Leaf.isEmpty(machine_number)) {
Leaf.request({
url: $('check_machine_number_id').getUrl(),
para: {
machine_number: machine_number,
project_id: project_id
},
scope: this,
success: function (res) {
machine_number_num = res.result.record.v_count;
},
failure: function () {
return false;
},
scope: this,
sync: true
});
}
if (machine_number_num > 0
&&
count == 0) {
count = count + 1;
$L.showErrorMessage('提示', '该机号已存在,请重新确认!');
return false;
} else if (machine_number_num > 0
&&
count != 0) {
count = 0;
return false;
}
}
}
}
...
...
src/main/webapp/modules/cont/CON505/con_contract_modify.lview
View file @
c4859929
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/main/webapp/modules/cont/CON505/con_contract_op_modify.lview
View file @
c4859929
...
@@ -822,31 +822,6 @@
...
@@ -822,31 +822,6 @@
var project_id = con_record.get('project_id');
var project_id = con_record.get('project_id');
var machine_number_num = 0;
var machine_number_num = 0;
var secondary_lease = record.get('secondary_lease') ;
var secondary_lease = record.get('secondary_lease') ;
if(!Leaf.isEmpty(secondary_lease)
&&
secondary_lease!='YES') {
if (division == '92'
&&
!Leaf.isEmpty(machine_number)) {
Leaf.request({
url: $('check_machine_number_id_con').getUrl(),
para: {
machine_number: machine_number,
project_id: project_id
},
scope: this,
success: function (res) {
machine_number_num = res.result.record.v_count;
},
failure: function () {
return false;
},
scope: this,
sync: true
});
}
if (machine_number_num > 0) {
$L.showErrorMessage('提示', '该机号已存在,请重新确认!');
return false;
}
}
//add by 26887cz 2021-07-21
//add by 26887cz 2021-07-21
if (record.get('signing_city')){
if (record.get('signing_city')){
...
...
src/main/webapp/modules/cont/CON542/con_contract_closed_wfl.lview
View file @
c4859929
...
@@ -819,31 +819,6 @@
...
@@ -819,31 +819,6 @@
var project_id = con_record.get('project_id');
var project_id = con_record.get('project_id');
var machine_number_num = 0;
var machine_number_num = 0;
var secondary_lease = record.get('secondary_lease') ;
var secondary_lease = record.get('secondary_lease') ;
if(!Leaf.isEmpty(secondary_lease)
&&
secondary_lease!='YES') {
if (division == '92'
&&
!Leaf.isEmpty(machine_number)) {
Leaf.request({
url: $('check_machine_number_id_con').getUrl(),
para: {
machine_number: machine_number,
project_id: project_id
},
scope: this,
success: function (res) {
machine_number_num = res.result.record.v_count;
},
failure: function () {
return false;
},
scope: this,
sync: true
});
}
if (machine_number_num > 0) {
$L.showErrorMessage('提示', '该机号已存在,请重新确认!');
return false;
}
}
//add by 26887cz 2021-07-21
//add by 26887cz 2021-07-21
if (record.get('signing_city')){
if (record.get('signing_city')){
...
...
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
View file @
c4859929
...
@@ -488,35 +488,6 @@
...
@@ -488,35 +488,6 @@
var project_id = project_record.get('project_id');
var project_id = project_record.get('project_id');
var machine_number_num = 0;
var machine_number_num = 0;
var secondary_lease = project_record.get('secondary_lease');
var secondary_lease = project_record.get('secondary_lease');
if(!Leaf.isEmpty(secondary_lease) && secondary_lease !='YES'){
if((division == '92' || division == '70') && !Leaf.isEmpty(machine_number)){
Leaf.request({
url: $('check_machine_number_id').getUrl(),
para: {
machine_number: machine_number,
project_id :project_id
},
scope: this,
success: function (res) {
machine_number_num= res.result.record.v_count;
},
failure: function () {
return false;
},
scope: this,
sync: true
});
}
if (machine_number_num>
0
&&
count == 0){
count = count+1;
$L.showErrorMessage('提示', '该机号已存在,请重新确认!');
return false;
}else if(machine_number_num>0
&&
count != 0){
count = 0;
return false;
}
}
var score_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_TENANT_SCORE_INFO', 'bp_tenant_rate_detail');
var score_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_TENANT_SCORE_INFO', 'bp_tenant_rate_detail');
var bp_tenant_detail_r = $(score_ds_id).getCurrentRecord();
var bp_tenant_detail_r = $(score_ds_id).getCurrentRecord();
if (prj_project_ds_id == ds.id && prj_project_ds_id) {
if (prj_project_ds_id == ds.id && prj_project_ds_id) {
...
...
src/main/webapp/modules/prj/PRJ500N/prj_project_create_constru.lview
View file @
c4859929
...
@@ -409,35 +409,6 @@
...
@@ -409,35 +409,6 @@
var project_id = project_record.get('project_id');
var project_id = project_record.get('project_id');
var machine_number_num = 0;
var machine_number_num = 0;
var secondary_lease = project_record.get('secondary_lease');
var secondary_lease = project_record.get('secondary_lease');
if(!Leaf.isEmpty(secondary_lease) && secondary_lease !='YES'){
if(division == '92' && !Leaf.isEmpty(machine_number)){
Leaf.request({
url: $('check_machine_number_id').getUrl(),
para: {
machine_number: machine_number,
project_id :project_id
},
scope: this,
success: function (res) {
machine_number_num= res.result.record.v_count;
},
failure: function () {
return false;
},
scope: this,
sync: true
});
}
if (machine_number_num>
0
&&
count == 0){
count = count+1;
$L.showErrorMessage('提示', '该机号已存在,请重新确认!');
return false;
}else if(machine_number_num>0
&&
count != 0){
count = 0;
return false;
}
}
var score_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_TENANT_SCORE_INFO', 'bp_tenant_rate_detail');
var score_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_TENANT_SCORE_INFO', 'bp_tenant_rate_detail');
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
c4859929
...
@@ -2090,37 +2090,6 @@
...
@@ -2090,37 +2090,6 @@
var
project_id =
project_record.get('project_id');
var
project_id =
project_record.get('project_id');
var
machine_number_num =
0;
var
machine_number_num =
0;
var
secondary_lease =
project_record.get('secondary_lease');
var
secondary_lease =
project_record.get('secondary_lease');
if(!Leaf.isEmpty(secondary_lease)
&&
secondary_lease!='YES'){
if((
division =
=
'92'
||
division =
=
'70')
&&
!Leaf.isEmpty(machine_number)){
Leaf.request({
url:
$('check_machine_number_id').getUrl(),
para:
{
machine_number:
machine_number,
project_id
:
project_id
},
scope:
this,
success:
function
(res)
{
machine_number_num=
res.result.record.v_count;
},
failure:
function
()
{
return
false;
},
scope:
this,
sync:
true
});
}
if
(machine_number_num
>
0
&&
count == 0){
count = count+1;
$L.showErrorMessage('提示', '该机号已存在,请重新确认!');
return false;
}else if(machine_number_num>0
&&
count != 0){
count = 0;
return false;
}
}
return
true;
return
true;
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain_constru.lview
View file @
c4859929
...
@@ -1764,37 +1764,6 @@
...
@@ -1764,37 +1764,6 @@
var
project_id =
project_record.get('project_id');
var
project_id =
project_record.get('project_id');
var
machine_number_num =
0;
var
machine_number_num =
0;
var
secondary_lease =
project_record.get('secondary_lease');
var
secondary_lease =
project_record.get('secondary_lease');
if(!Leaf.isEmpty(secondary_lease)
&&
secondary_lease!='YES'){
if(
division =
=
'92'
&&
!Leaf.isEmpty(machine_number)){
Leaf.request({
url:
$('check_machine_number_id').getUrl(),
para:
{
machine_number:
machine_number,
project_id
:
project_id
},
scope:
this,
success:
function
(res)
{
machine_number_num=
res.result.record.v_count;
},
failure:
function
()
{
return
false;
},
scope:
this,
sync:
true
});
}
if
(machine_number_num
>
0
&&
count == 0){
count = count+1;
$L.showErrorMessage('提示', '该机号已存在,请重新确认!');
return false;
}else if(machine_number_num>0
&&
count != 0){
count = 0;
return false;
}
}
return
true;
return
true;
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain_constru_wfl.lview
View file @
c4859929
...
@@ -378,35 +378,6 @@
...
@@ -378,35 +378,6 @@
var machine_number = lease_item_record.get('machine_number_70');
var machine_number = lease_item_record.get('machine_number_70');
var machine_number_num = 0;
var machine_number_num = 0;
var secondary_lease = project_record.get('secondary_lease');
var secondary_lease = project_record.get('secondary_lease');
if(!Leaf.isEmpty(secondary_lease) && secondary_lease !='YES') {
if (division == '92' && !Leaf.isEmpty(machine_number)) {
Leaf.request({
url: $('prj501n_check_machine_number_id').getUrl(),
para: {
machine_number: machine_number,
project_id: project_id
},
scope: this,
success: function (res) {
machine_number_num = res.result.record.v_count;
},
failure: function () {
return false;
},
scope: this,
sync: true
});
}
if (machine_number_num >
0
&&
count == 0) {
count = count + 1;
$L.showErrorMessage('提示', '该机号已存在,请重新确认!');
return false;
} else if (machine_number_num > 0
&&
count != 0) {
count = 0;
return false;
}
}
if(!bp_rate_flag){
if(!bp_rate_flag){
return false;
return false;
}
}
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
View file @
c4859929
...
@@ -433,35 +433,6 @@
...
@@ -433,35 +433,6 @@
var machine_number = lease_item_record.get('machine_number_70');
var machine_number = lease_item_record.get('machine_number_70');
var machine_number_num = 0;
var machine_number_num = 0;
var secondary_lease = project_record.get('secondary_lease');
var secondary_lease = project_record.get('secondary_lease');
if(!Leaf.isEmpty(secondary_lease) && secondary_lease !='YES') {
if ((division == '92' || division == '70') && !Leaf.isEmpty(machine_number)) {
Leaf.request({
url: $('prj501n_check_machine_number_id').getUrl(),
para: {
machine_number: machine_number,
project_id: project_id
},
scope: this,
success: function (res) {
machine_number_num = res.result.record.v_count;
},
failure: function () {
return false;
},
scope: this,
sync: true
});
}
if (machine_number_num >
0
&&
count == 0) {
count = count + 1;
$L.showErrorMessage('提示', '该机号已存在,请重新确认!');
return false;
} else if (machine_number_num > 0
&&
count != 0) {
count = 0;
return false;
}
}
if(!bp_rate_flag){
if(!bp_rate_flag){
return false;
return false;
}
}
...
...
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