From a2b634f900c9566f7d134e45e39ef5cecda471a7 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Fri, 2 Feb 2024 13:37:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=96=B0=E5=A2=9E=E8=B5=8B?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereturn/purchasereturnRequestMain/index.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index 89320ff7c..d0f019124 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -281,6 +281,16 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { setV['singlePrice'] = val[0]['singlePrice'] setV['amount'] = val[0]['amount'] setV['projectCode'] = val[0]['projectCode'] + + if(formField == 'itemCode'){ + setV['batch'] = val[0]['toBatch'] + setV['packingNumber'] = val[0]['toPackingNumber'] + setV['containerNumber'] = val[0]['toContainerNumber'] + setV['containerNumber'] = val[0]['containerNumber'] + setV['containerNumber'] = val[0]['containerNumber'] + setV['fromLocationCode'] = val[0]['fromLocationCode'] + setV['toLocationCode'] = val[0]['toLocationCode'] + } }else { setV[formField] = val[0][searchField] }