|
|
|
@ -172,12 +172,21 @@ export default class rawMaterialInventory extends BasePage {
|
|
|
|
|
}
|
|
|
|
|
//点击完成
|
|
|
|
|
async checkRawOrderComplete() {
|
|
|
|
|
await model.checkRawOrderComplete(this.pddNo);
|
|
|
|
|
if (this.model.code == '1') {
|
|
|
|
|
uni.showToast({ title: this.$t('message.Warehouse_Tip9') as any });
|
|
|
|
|
this.empty();
|
|
|
|
|
this.pddNo = '';
|
|
|
|
|
}
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: this.$t('message.Closecount') as string,
|
|
|
|
|
success: async (res) => {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
await model.checkRawOrderComplete(this.pddNo);
|
|
|
|
|
if (this.model.code == '1') {
|
|
|
|
|
uni.showToast({ title: this.$t('message.Warehouse_Tip9') as any });
|
|
|
|
|
this.empty();
|
|
|
|
|
this.pddNo = '';
|
|
|
|
|
}
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
//返回
|
|
|
|
|
back() {
|
|
|
|
|