From f4aa011cf82d2cdd29201fa0c3232eb5cf6d4549 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Tue, 19 Dec 2023 17:38:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B6=E5=93=81=E6=8A=A5=E5=BA=9F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productscrap/productscrapRequestMain/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue index 552c0bbca..5929e084d 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue @@ -226,11 +226,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => row['productionLineCode'] = val[0]['code'] }else if(formField == 'workStationCode'){ row['workStationCode'] = val[0]['code'] + row['fromLocationCode'] = val[0]['rawLocationCode'] }else if(formField == 'processCode'){ row['processCode'] = val[0]['code'] }else if(formField == 'itemCode'){ row['itemCode'] = val[0]['itemCode'] - row['fromLocationCode'] = val[0]['rawLocationCode'] + } } else { const setV = {} @@ -249,11 +250,11 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => { setV['productionLineCode'] = val[0]['code'] }else if(formField == 'workStationCode'){ setV['workStationCode'] = val[0]['code'] + setV['fromLocationCode'] = val[0]['fgLocationCode'] }else if(formField == 'processCode'){ setV['processCode'] = val[0]['code'] }else if(formField == 'itemCode'){ setV['itemCode'] = val[0]['itemCode'] - setV['fromLocationCode'] = val[0]['rawLocationCode'] } formRef.setValues(setV) })