Commit 1b64c23b authored by 38823's avatar 38823

二手机业务增加 机号唯一性校验

parent 74207827
...@@ -874,7 +874,7 @@ ...@@ -874,7 +874,7 @@
} }
if(!Leaf.isEmpty(secondary_lease) && secondary_lease!='YES') { if(!Leaf.isEmpty(secondary_lease) && secondary_lease!='YES') {
if (division == '92' && !Leaf.isEmpty(machine_number)) { if ((division == '92' || division == '70') && !Leaf.isEmpty(machine_number)) {
Leaf.request({ Leaf.request({
url: $('check_machine_number_id').getUrl(), url: $('check_machine_number_id').getUrl(),
para: { para: {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -486,7 +486,7 @@ ...@@ -486,7 +486,7 @@
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(!Leaf.isEmpty(secondary_lease) && secondary_lease !='YES'){
if(division == '92' && !Leaf.isEmpty(machine_number)){ if((division == '92' || division == '70') && !Leaf.isEmpty(machine_number)){
Leaf.request({ Leaf.request({
url: $('check_machine_number_id').getUrl(), url: $('check_machine_number_id').getUrl(),
para: { para: {
......
...@@ -2152,7 +2152,7 @@ ...@@ -2152,7 +2152,7 @@
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(!Leaf.isEmpty(secondary_lease) && secondary_lease!='YES'){
if(division == '92' && !Leaf.isEmpty(machine_number)){ if((division == '92' || division == '70') && !Leaf.isEmpty(machine_number)){
Leaf.request({ Leaf.request({
url: $('check_machine_number_id').getUrl(), url: $('check_machine_number_id').getUrl(),
para: { para: {
......
...@@ -419,7 +419,7 @@ ...@@ -419,7 +419,7 @@
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(!Leaf.isEmpty(secondary_lease) && secondary_lease !='YES') {
if (division == '92' && !Leaf.isEmpty(machine_number)) { if ((division == '92' || division == '70') && !Leaf.isEmpty(machine_number)) {
Leaf.request({ Leaf.request({
url: $('check_machine_number_id').getUrl(), url: $('check_machine_number_id').getUrl(),
para: { para: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment