From 2df4b8c7104b2c6cdbc12048ae4273e878905a09 Mon Sep 17 00:00:00 2001 From: "JinLu.Yin" <411641505@qq.com> Date: Fri, 16 Sep 2022 21:26:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E9=80=89=E6=8B=A9=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=EF=BC=9B=E9=A2=86=E6=96=99=E5=8D=95=E8=A1=8C=E4=B8=8A?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E5=9B=9E=E6=98=BE=E4=BF=AE=E5=A4=8D=EF=BC=9B?= =?UTF-8?q?=E9=80=80=E6=96=99=E5=8D=95=E8=A1=8C=E5=AE=8C=E5=96=84=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/stockSelect/single.vue | 20 +++-- src/views/mes/wm/issue/line.vue | 5 +- src/views/mes/wm/rtissue/index.vue | 9 +- src/views/mes/wm/rtissue/line.vue | 125 ++++++++++++++++++++------ 4 files changed, 119 insertions(+), 40 deletions(-) diff --git a/src/components/stockSelect/single.vue b/src/components/stockSelect/single.vue index 87a2f90..963d72c 100644 --- a/src/components/stockSelect/single.vue +++ b/src/components/stockSelect/single.vue @@ -193,14 +193,14 @@ export default { specification: null, unitOfMeasure: null, batchCode: this.batchCode, - warehouseId: null, - warehouseCode: null, + warehouseId: this.warehouseId, + warehouseCode: this.warehouseCode, warehouseName: null, - locationId: null, - locationCode: null, + locationId: this.locationId, + locationCode: this.locationCode, locationName: null, - areaId: null, - areaCode: null, + areaId: this.areaId, + areaCode: this.areaCode, areaName: null, vendorId: this.vendorId, vendorCode: null, @@ -215,7 +215,13 @@ export default { }, props:{ vendorId: null, - batchCode: null + batchCode: null, + warehouseId: null, + warehouseCode: null, + locationId: null, + locationCode: null, + areaId: null, + areaCode: null }, created() { this.getList(); diff --git a/src/views/mes/wm/issue/line.vue b/src/views/mes/wm/issue/line.vue index d57befd..2601ed9 100644 --- a/src/views/mes/wm/issue/line.vue +++ b/src/views/mes/wm/issue/line.vue @@ -141,7 +141,7 @@ - + @@ -301,6 +301,9 @@ export default { const lineId = row.lineId || this.ids getIssueline(lineId).then(response => { this.form = response.data; + this.warehouseInfo[0] = response.data.warehouseId; + this.warehouseInfo[1] = response.data.locationId; + this.warehouseInfo[2] = response.data.areaId; this.open = true; this.title = "修改生产领料单行"; }); diff --git a/src/views/mes/wm/rtissue/index.vue b/src/views/mes/wm/rtissue/index.vue index b0b4e79..cb343d6 100644 --- a/src/views/mes/wm/rtissue/index.vue +++ b/src/views/mes/wm/rtissue/index.vue @@ -70,12 +70,12 @@ - + - + - + {{ parseTime(scope.row.rtDate, '{y}-{m}-{d}') }} @@ -85,8 +85,7 @@ - - + - + 修改 @@ -38,22 +38,23 @@ - - - + + + - - - + + + - + 修改 删除 @@ -80,42 +82,50 @@ - - + + + + + - - + + - + - + - - - - - - + - - + + + + + + + + @@ -130,15 +140,25 @@