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);
if (server.serverAddress.includes('https://eurmom.haier.net')) {
//
this.Version = '1.1.24';
this.Version = '1.1.25';
} else {
this.Version = '1.0.49';
}

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

Loading…
Cancel
Save