cosmoim-852 fix 原材料报废成本中心必选校验

master
guoshuang 3 years ago
parent 12999f43f3
commit 4efda6f842

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

@ -335,6 +335,10 @@ export default class KanDanHandOver extends BasePage {
this.customToast(this.$t('message.Pi_NoData') as string); this.customToast(this.$t('message.Pi_NoData') as string);
return; return;
} }
if (!this.centerlist.value) {
this.customToast(this.$t('message.Pleasecenter') as string);
return;
}
let isTrue = true; let isTrue = true;
this.model.orderInInfoList.forEach((item: any) => { this.model.orderInInfoList.forEach((item: any) => {
if (item.totalqty != 0) { if (item.totalqty != 0) {

Loading…
Cancel
Save