diff --git a/klp-ui/src/views/wms/coil/do/warehousing.vue b/klp-ui/src/views/wms/coil/do/warehousing.vue index 471c3e78..014fc406 100644 --- a/klp-ui/src/views/wms/coil/do/warehousing.vue +++ b/klp-ui/src/views/wms/coil/do/warehousing.vue @@ -607,9 +607,11 @@ export default { handleCoil(COIL_ACTIONS.RECEIVE, this.form, this.form.planId) .then(res => { this.$modal.msgSuccess("入库成功"); + this.form = { itemId: null, itemType: 'raw_material', + materialType: '原料', warehouseId: '1988150044862377986', // 酸连轧原料库 netWeight: null, grossWeight: null, @@ -618,8 +620,9 @@ export default { trimmingRequirement: null, packingStatus: null, packagingRequirement: null, - planId: this.todayPlanId, + planId: this.form.planId, } + this.getMaxCoilNoByPrefix() this.getList() }).finally(() => { this.buttonLoading = false; @@ -731,7 +734,7 @@ export default { getMaxCoilNo(prefix).then(res => { console.log(res) // 扣掉最后一位 - this.form.enterCoilNo = res.data.maxEnterCoilNo.slice(0, -1); + this.$set(this.form, 'enterCoilNo', res.data.maxEnterCoilNo.slice(0, -1)); }) }, // 检查钢卷号是否合法(后端检查)