dam-7 feat 过账新增二次提交

master
hou 3 years ago
parent 56750cfb70
commit 20aef9d82a

@ -234,11 +234,15 @@ export default class stoOutboundDom extends BasePage {
}); });
} }
// //
async Posting() { Posting() {
if (!this.form.orderNo) { if (!this.form.orderNo) {
this.customToast(this.$t('message.Commission_tips1') as string); this.customToast(this.$t('message.Commission_tips1') as string);
return; return;
} }
uni.showModal({
title: this.$t('message.ConfirmPosting') as string,
success: async (res) => {
if (res.confirm) {
let params = { let params = {
nxOutCode: this.form.orderNo, nxOutCode: this.form.orderNo,
rowItem: this.form.row, rowItem: this.form.row,
@ -255,6 +259,11 @@ export default class stoOutboundDom extends BasePage {
}); });
this.empty(); this.empty();
} }
} else if (res.cancel) {
return;
}
},
});
} }
empty() { empty() {
this.form.dockCode = null; this.form.dockCode = null;

@ -181,7 +181,6 @@ export default class RawReceiptDetail extends BasePage {
this.wlCode = this.Location[0]; this.wlCode = this.Location[0];
} }
} }
//
Add() { Add() {
if (this.qty == '' || this.wlCode == '') { if (this.qty == '' || this.wlCode == '') {
this.customToast(this.$t('message.Commission_tips2') as any); this.customToast(this.$t('message.Commission_tips2') as any);
@ -191,7 +190,6 @@ export default class RawReceiptDetail extends BasePage {
this.customToast(this.$t('message.Commission_tips3') as any); this.customToast(this.$t('message.Commission_tips3') as any);
return; return;
} }
//guoshuang
if (JSON.stringify(this.some) == '{}') { if (JSON.stringify(this.some) == '{}') {
this.customToast(this.$t('message.Commission_tips6') as any); this.customToast(this.$t('message.Commission_tips6') as any);
return; return;

Loading…
Cancel
Save