原材料(成品)移库 报废 领用 提交后重新调接口

master
hou 3 years ago
parent 5bfaf3a96b
commit fc61f6ecea

@ -176,8 +176,9 @@ export default class ProductCheckReceipt extends BasePage {
} }
this.Some = {}; this.Some = {};
this.wl = {}; this.wl = {};
this.form.order3 = ''; // this.form.order3 = '';
this.form.barcode = ''; this.form.barcode = '';
this.query()
} }
// //
async bill() { async bill() {

@ -169,11 +169,12 @@ export default class productCheckReceipt extends BasePage {
await this.model.onTakeoutConfirm(orderlist); await this.model.onTakeoutConfirm(orderlist);
if (model.code == '1') { if (model.code == '1') {
this.customToast(this.$t('message.Warehouse_Tip9') as string); this.customToast(this.$t('message.Warehouse_Tip9') as string);
this.form.productCode = ''; // this.form.productCode = '';
model.empty(); model.empty();
setTimeout(() => { this.query()
this.$forceUpdate(); // setTimeout(() => {
}, 2000); // this.$forceUpdate();
// }, 2000);
} }
}); });
} }

@ -130,8 +130,8 @@ export default class KanDanHandOver extends BasePage {
this.Some = {}; this.Some = {};
this.Some.fileNo = ' '; this.Some.fileNo = ' ';
this.wl = {}; this.wl = {};
this.order3 = '';
this.MaterialList = []; this.MaterialList = [];
this.query()
} }
} }
} }
@ -203,7 +203,7 @@ export default class KanDanHandOver extends BasePage {
view { view {
width: 110rpx; width: 110rpx;
height: 100%; height: 100%;
//line-height: 100rpx; line-height: 100rpx;
} }
} }
.single-right { .single-right {

@ -112,7 +112,7 @@ export default class KanDanHandOver extends BasePage {
// //
async submit() { async submit() {
if (this.order3 === '') { if (this.order3 === '') {
this.customToast(this.$t('message.Commission_tips1') as string); this.customToast(this.$t('message.Commission_tips1') as string);
return; return;
} }
if (!this.Some) { if (!this.Some) {
@ -134,8 +134,8 @@ export default class KanDanHandOver extends BasePage {
this.Some = {}; this.Some = {};
this.Some.fileNo = ' '; this.Some.fileNo = ' ';
this.wl = {}; this.wl = {};
this.order3 = '';
this.MaterialList = []; this.MaterialList = [];
this.query()
} }
} }
} }
@ -207,7 +207,7 @@ export default class KanDanHandOver extends BasePage {
view { view {
width: 110rpx; width: 110rpx;
height: 100%; height: 100%;
//line-height: 100rpx; line-height: 100rpx;
} }
} }
.single-right { .single-right {

Loading…
Cancel
Save