From 2678f0176d6428798007cef2516d25c753a389be Mon Sep 17 00:00:00 2001 From: chenfang Date: Thu, 25 Apr 2024 16:01:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=95=E7=A4=BA=E9=87=87=E8=B4=AD=E9=80=80?= =?UTF-8?q?=E8=B4=A7=E7=94=B3=E8=AF=B7=E6=94=B6=E8=B4=A7=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereturnRequestMain/index.vue | 6 ++++-- .../purchasereturnRequestMain.data.ts | 21 +++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index 4cbccf80d..18cde77ca 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -186,11 +186,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => if(formField == 'purchaseReceiptRecordNumber'){ // isShowButton.value = false setV[formField] = val[0][searchField] + console.log(333333,val[0]); + setV['purchaseReceiptRecordNumber'] = val[0]['number'] setV['supplierCode'] = val[0]['supplierCode'] setV['asnNumber'] = val[0]['asnNumber'] setV['ppNumber'] = val[0]['ppNumber'] - // 获取子表数据 getBomDisassemble // PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailList({ PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailListToRepeat({ @@ -201,7 +202,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => item.batch = item.toBatch item.packingNumber = item.toPackingNumber item.containerNumber = item.toContainerNumber - item.containerNumber = item.toContainerNumber + item.receiptQty = item.qty item.toLocationGroupCode = null item.toWarehouseCode = null item.toAreaTypes = null @@ -261,6 +262,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { setV['altBatch'] = val[0]['altBatch'] setV['packingNumber'] = val[0]['toPackingNumber'] setV['containerNumber'] = val[0]['toContainerNumber'] + setV['receiptQty'] = val[0]['qty'] setV['qty'] = val[0]['qty'] setV['uom'] = val[0]['uom'] setV['supplierQty'] = val[0]['supplierQty'] diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts index ec385f35f..699c00b4a 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts @@ -741,6 +741,27 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive } } }, + { + label: '收货数量', + field: 'receiptQty', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'InputNumber', + componentProps: { + min: 0, + precision: 6, + disabled:true + } + }, + tableForm:{ + type:'InputNumber', + min:0, + precision: 6 + } + }, { label: '数量', field: 'qty',