fix: 客运页面: 查询的日期类型的赋值

feature/year-over-year
Lei OT 2 years ago
parent 30d185eb3c
commit 01748ecb71

@ -17,9 +17,9 @@ class CustomerStore {
const date_picker_store = this.rootStore.date_picker_store; const date_picker_store = this.rootStore.date_picker_store;
let url = '/service-tourdesign/PotentialCusOrder'; let url = '/service-tourdesign/PotentialCusOrder';
url += '?Website=' + this.potential_data.webcode.toString() + '&DEI_SNList=' + this.potential_data.groups.toString(); url += '?Website=' + this.potential_data.webcode.toString() + '&DEI_SNList=' + this.potential_data.groups.toString();
if (this.potential_data.date_type == 'applyDate') { if (String(this.potential_data.date_type).toLowerCase() === 'applydate') {
url += '&ApplydateCheck=1&EntrancedateCheck=0&ConfirmDateCheck=0'; url += '&ApplydateCheck=1&EntrancedateCheck=0&ConfirmDateCheck=0';
} else if(this.potential_data.date_type == 'ConfirmDate'){ } else if(String(this.potential_data.date_type).toLowerCase() === 'confirmdate'){
url += '&ApplydateCheck=0&EntrancedateCheck=0&ConfirmDateCheck=1'; url += '&ApplydateCheck=0&EntrancedateCheck=0&ConfirmDateCheck=1';
}else { }else {
url += '&ApplydateCheck=0&EntrancedateCheck=1&ConfirmDateCheck=0'; url += '&ApplydateCheck=0&EntrancedateCheck=1&ConfirmDateCheck=0';
@ -96,9 +96,9 @@ class CustomerStore {
const date_picker_store = this.rootStore.date_picker_store; const date_picker_store = this.rootStore.date_picker_store;
let url = '/service-tourdesign/RegularCusOrder'; let url = '/service-tourdesign/RegularCusOrder';
url += '?Website=' + this.regular_data.webcode.toString() + '&DEI_SNList=' + this.regular_data.groups.toString(); url += '?Website=' + this.regular_data.webcode.toString() + '&DEI_SNList=' + this.regular_data.groups.toString();
if (this.regular_data.date_type == 'applyDate') { if (String(this.regular_data.date_type).toLowerCase() === 'applydate') {
url += '&ApplydateCheck=1&EntrancedateCheck=0&ConfirmDateCheck=0'; url += '&ApplydateCheck=1&EntrancedateCheck=0&ConfirmDateCheck=0';
} else if(this.regular_data.date_type == 'ConfirmDate'){ } else if(String(this.regular_data.date_type).toLowerCase() === 'confirmdate'){
url += '&ApplydateCheck=0&EntrancedateCheck=0&ConfirmDateCheck=1'; url += '&ApplydateCheck=0&EntrancedateCheck=0&ConfirmDateCheck=1';
}else { }else {
url += '&ApplydateCheck=0&EntrancedateCheck=1&ConfirmDateCheck=0'; url += '&ApplydateCheck=0&EntrancedateCheck=1&ConfirmDateCheck=0';
@ -175,9 +175,9 @@ class CustomerStore {
const date_picker_store = this.rootStore.date_picker_store; const date_picker_store = this.rootStore.date_picker_store;
let url = '/service-tourdesign/RegularCusInChinaOrder'; let url = '/service-tourdesign/RegularCusInChinaOrder';
url += '?Website=' + this.inchina_data.webcode.toString() + '&DEI_SNList=' + this.inchina_data.groups.toString(); url += '?Website=' + this.inchina_data.webcode.toString() + '&DEI_SNList=' + this.inchina_data.groups.toString();
if (this.inchina_data.date_type == 'applyDate') { if (String(this.inchina_data.date_type).toLowerCase() === 'applydate') {
url += '&ApplydateCheck=1&EntrancedateCheck=0&ConfirmDateCheck=0'; url += '&ApplydateCheck=1&EntrancedateCheck=0&ConfirmDateCheck=0';
} else if(this.inchina_data.date_type == 'ConfirmDate'){ } else if(String(this.inchina_data.date_type).toLowerCase() === 'confirmdate'){
url += '&ApplydateCheck=0&EntrancedateCheck=0&ConfirmDateCheck=1'; url += '&ApplydateCheck=0&EntrancedateCheck=0&ConfirmDateCheck=1';
}else { }else {
url += '&ApplydateCheck=0&EntrancedateCheck=1&ConfirmDateCheck=0'; url += '&ApplydateCheck=0&EntrancedateCheck=1&ConfirmDateCheck=0';

Loading…
Cancel
Save