From bbe0011222a552beaee65af2f0ce1efd32a57e16 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Fri, 16 Aug 2024 19:58:02 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=96=B0=E7=89=88=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E9=80=80=E8=B4=A7=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereturn/purchasereturnRequestMainNew/index.vue | 4 +++- .../purchasereturnRequestMainNew.data.ts | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue index 1805e5bf4..d065fb8d6 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue @@ -810,12 +810,14 @@ const onChangeForm = async (field, cur, formRef)=>{ if(subList&&subList.length>0){ tableData.value = subList.map(item=>({ 'batch':item['batch'], - 'status':item['inventoryStatus'], + 'inventoryStatus':item['inventoryStatus'], 'inventoryBalance':item['qty'], 'qty':0, 'reason_type':'', 'reason':'' })) + }else{ + tableData.value = [] } } } diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts index f904e74ff..e1eb42507 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts @@ -254,6 +254,7 @@ export const PurchasereturnRequestMainNew = useCrudSchemas( }, form: { component: 'Select', + value:locationList[0]['value'], componentProps: { options: locationList } From 45b1bc1b5f8c9a5e9e115afd0a811b3e6467a8c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Fri, 16 Aug 2024 20:15:42 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A3=80=E9=AA=8C?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E7=9A=84=E8=B4=A8=E6=A3=80=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=20HL-5363?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/qms/inspectionRequest/index.vue | 29 +++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/src/views/qms/inspectionRequest/index.vue b/src/views/qms/inspectionRequest/index.vue index a50c38cee..4e6ea8443 100644 --- a/src/views/qms/inspectionRequest/index.vue +++ b/src/views/qms/inspectionRequest/index.vue @@ -88,6 +88,17 @@ @ListTableSubmit="ListTableSubmit" /> + + + + +