cosmoim-852 fix 原材料报废成本中心必选bug修复

master
guoshuang 3 years ago
parent 4efda6f842
commit 91c617b718

@ -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.31';
this.Version = '1.1.32';
} else {
this.Version = '1.0.49';
}

@ -232,6 +232,10 @@ export default class KanDanHandOver extends BasePage {
this.customToast(this.$t('message.Warehouse_Tip5') as string);
return;
}
if (!this.centerlist.value) {
this.customToast(this.$t('message.Pleasecenter') as string);
return;
}
if (this.Some.fileNo == '' || this.Some.fileNo == null || this.Some.fileNo == undefined) {
this.customToast(this.$t('message.fileNumber') as string);
return;
@ -335,10 +339,6 @@ export default class KanDanHandOver extends BasePage {
this.customToast(this.$t('message.Pi_NoData') as string);
return;
}
if (!this.centerlist.value) {
this.customToast(this.$t('message.Pleasecenter') as string);
return;
}
let isTrue = true;
this.model.orderInInfoList.forEach((item: any) => {
if (item.totalqty != 0) {
@ -359,7 +359,7 @@ export default class KanDanHandOver extends BasePage {
image: '/static/icons/icon-51.png',
});
this.Some = {};
this.Some.fileNo = ' ';
this.Some.fileNo = '';
this.wl = {};
this.MaterialList = [];
this.qty = 0;

Loading…
Cancel
Save