From 6d115dc25e9db3262b34f74887e7bfb393a266c1 Mon Sep 17 00:00:00 2001 From: guoshuang Date: Wed, 30 Oct 2024 15:45:39 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BD=E8=83=9A=E5=85=A5=E5=BA=93=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E6=89=B9=E6=AC=A1=E6=B8=85=E9=99=A4=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WhiteManagement/WhiteInstorage/index.vue | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/pages/wms/WhiteManagement/WhiteInstorage/index.vue b/src/pages/wms/WhiteManagement/WhiteInstorage/index.vue index 439ed9d..6f6d3e0 100644 --- a/src/pages/wms/WhiteManagement/WhiteInstorage/index.vue +++ b/src/pages/wms/WhiteManagement/WhiteInstorage/index.vue @@ -185,6 +185,7 @@ export default class WhiteInstorage extends BasePage { warehouselist = []; planQuantity = 0; actplanQuantity = 0; + cunchuQuantity = 0; // remove: any = {}; // async onReady() { // await this.model.queryLocation(); @@ -246,9 +247,9 @@ export default class WhiteInstorage extends BasePage { warehouseChange(e: any) { console.log('e', e); this.cimWl = e.pickerName; - this.planQuantity = e.pickerName.batchQuantity - parseFloat(e.pickerName.realityNumber); + //this.planQuantity = e.pickerName.batchQuantity - parseFloat(e.pickerName.realityNumber); ///切换批次,入库托盘全部清掉 - this.actplanQuantity = this.planQuantity; + this.actplanQuantity = this.cunchuQuantity; this.list = []; } //取消按钮 @@ -269,6 +270,7 @@ export default class WhiteInstorage extends BasePage { if (model.orderNoItemList) { this.orderNoItemList = model.orderNoItemList; this.actplanQuantity = this.orderNoItemList.attr1; + this.cunchuQuantity = this.orderNoItemList.attr1; // this.number1 = this.orderNoItemList.attr3; } else { this.orderNoItemList = {}; @@ -350,15 +352,15 @@ export default class WhiteInstorage extends BasePage { //this.getlist(); } } - async getlist() { - await (this.model as any).list(this.orderNo); - if (model.productCodeList.length > 0) { - this.list = model.productCodeList; - } else { - this.list = []; - } - console.log(model.productCodeList); - } + // async getlist() { + // await (this.model as any).list(this.orderNo); + // if (model.productCodeList.length > 0) { + // this.list = model.productCodeList; + // } else { + // this.list = []; + // } + // console.log(model.productCodeList); + // } async rukubutn() { this.form5 = {}; if (this.orderNo == '' || this.orderNo.length == 0) {