cosmoim-852 fix 俄罗斯海外dn收货库位加载问题修改

master
guoshuang 2 years ago
parent 04eb6dd15d
commit 27dd95c139

@ -171,7 +171,7 @@ export default class LoginPage extends BasePage {
console.log('......', server.serverAddress); console.log('......', server.serverAddress);
if (server.serverAddress.includes('https://eurmom.haier.net')) { if (server.serverAddress.includes('https://eurmom.haier.net')) {
// //
this.Version = '1.1.24'; this.Version = '1.1.25';
} else { } else {
this.Version = '1.0.49'; this.Version = '1.0.49';
} }

@ -270,16 +270,16 @@ export default class dnReceiptDom extends BasePage {
this.every = { ...e.pickerName }; this.every = { ...e.pickerName };
// //
console.log('this.every', this.every); console.log('this.every', this.every);
this.Location = []; //this.Location = [];
// //
this.Location = await this.initLocation(this.every); // this.Location = await this.initLocation(this.every);
if (this.Location.length == 0) { // if (this.Location.length == 0) {
await this.queryLoction(); // await this.queryLoction();
} // }
// //
this.LocationChoice({ // this.LocationChoice({
pickerName: this.Location.find(() => true), // pickerName: this.Location.find(() => true),
}); // });
this.DNReceivingList.forEach((item: any, index: any) => { this.DNReceivingList.forEach((item: any, index: any) => {
if (item.poNo == this.every.poNo && item.materialCode == this.every.materialCode && item.poLine == this.every.poLine) { if (item.poNo == this.every.poNo && item.materialCode == this.every.materialCode && item.poLine == this.every.poLine) {
this.everyIndex = index; this.everyIndex = index;
@ -371,13 +371,13 @@ export default class dnReceiptDom extends BasePage {
// add table // add table
this.LocationList = []; this.LocationList = [];
// //
this.Location = []; // this.Location = [];
this.poNo = ''; this.poNo = '';
this.poList = []; this.poList = [];
// //
this.wl = { // this.wl = {
value: null, // value: null,
}; // };
// //
this.every = {}; this.every = {};
// //
@ -391,12 +391,12 @@ export default class dnReceiptDom extends BasePage {
} }
empty() { empty() {
this.LocationList = []; this.LocationList = [];
this.Location = []; //this.Location = [];
this.poNo = ''; this.poNo = '';
this.poList = []; this.poList = [];
this.wl = { // this.wl = {
value: null, // value: null,
}; // };
this.every = {}; this.every = {};
this.materialList = []; this.materialList = [];
this.receiptAmount = null; this.receiptAmount = null;

Loading…
Cancel
Save