diff --git a/src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/PurchaseClaimRequestMain.data.ts b/src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/PurchaseClaimRequestMain.data.ts index 0d63b2516..413440157 100644 --- a/src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/PurchaseClaimRequestMain.data.ts +++ b/src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/PurchaseClaimRequestMain.data.ts @@ -285,9 +285,13 @@ export const PurchaseClaimRequestDetail = useCrudSchemas(reactive( table: { }, tableForm: { - disabled:true, - type: 'Select' + disabled:true }, + form: { + componentProps: { + disabled: true, + } + } }, { label: '计量单位', @@ -303,6 +307,11 @@ export const PurchaseClaimRequestDetail = useCrudSchemas(reactive( disabled:true, type: 'Select' }, + form: { + componentProps: { + disabled: true, + } + } }, { label: '索赔数量', diff --git a/src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/index.vue b/src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/index.vue index c0578e5dd..d1c3d4c5e 100644 --- a/src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/index.vue +++ b/src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/index.vue @@ -82,6 +82,7 @@ :detailButtonIsShowAdd="false" :detailButtonIsShowAddStatusArray="['1','2']" :isChangeDetailDrawer="['2']" + @searchTableSuccessDetail="searchTableSuccessDetail" @detailOpenForm="detailOpenForm" /> @@ -190,6 +191,11 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { setV[formField] = val[0][searchField] setV['remark'] = val[0]['remark'] setV['uom'] = val[0]['customerUom'] + if (formField == 'itemCode') { + setV['itemName'] = val[0]['itemName'] + setV['uom'] = val[0]['supplierUom'] + + } formRef.setValues(setV) }) }