diff --git a/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue b/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue index fbef4898b..e74f25d3f 100644 --- a/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue +++ b/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue @@ -112,12 +112,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => nextTick(() => { if (type == 'tableForm') { if (formField == 'itemCode') { - let itemCodes = val.filter(item=>tableData.value.find(item1=>item1['itemCode']==item['itemCode'])) - if(itemCodes.length>0){ - itemCodes = itemCodes.map(item=>(item['itemCode'])) - message.warning(`物料${itemCodes.join(',')}已经存在`) - } - val = val.filter(item=>!tableData.value.find(item1=>item1['itemCode']==item['itemCode'])) + val = val.filter(item=>!tableData.value.find(item1=>item1['itemCode']==item['itemCode']&&item1['fromBatch']==item['batch']&&item1['fromPackingNumber']==item['packingNumber']&&item1['fromLocationCode']==item['locationCode']&&item1['inventoryStatus']==item['inventoryStatus'])) if(val.length==0) return val.forEach(item=>{ const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item})) diff --git a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts index 976ac1f58..14f139488 100644 --- a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts @@ -483,15 +483,15 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive }, { label: '批次', - field: 'batch', + field: 'fromBatch', sort: 'custom', table: { width: 150 }, }, { - label: '包装代码', - field: 'packingNumber', + label: '包装号', + field: 'fromPackingNumber', sort: 'custom', table: { width: 150 @@ -506,7 +506,16 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive }, }, { - label: '数量', + label: '包装数量', + field: 'packQty', + sort: 'custom', + table: { + width: 150 + }, + isSearch: false, + }, + { + label: '收货数量', field: 'qty', sort: 'custom', table: { diff --git a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts index 19d5b35c8..a39a9ce07 100644 --- a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts @@ -586,7 +586,7 @@ export const CustomerreceiptRequestDetail = useCrudSchemas(reactive( }, }, { - label: '数量', + label: '包装规格', + field: 'packUnit', + sort: 'custom', + table: { + width: 150 + }, + isSearch: false, + }, + { + label: '包装数量', + field: 'packQty', + sort: 'custom', + table: { + width: 150 + }, + isSearch: false, + }, + { + label: '退货数量', field: 'qty', sort: 'custom', table: { diff --git a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts index 2cca7fa28..1bc99e9ae 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts +++ b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts @@ -425,15 +425,17 @@ export const IssueRequestMain = useCrudSchemas( } } }, - // { - // label: '备注', - // field: 'remark', - // sort: 'custom', - // table: { - // width: 150 - // }, - // isTable: false - // }, + { + label: '备注', + field: 'remark', + sort: 'custom', + table: { + width: 150 + }, + isForm: false, + isTable: true, + isDetail: true + }, // { // label: '使用在途库', // field: 'useOnTheWayLocation', diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts index ec2025149..d71ab0d84 100644 --- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts +++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts @@ -205,7 +205,9 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, - isTable: false, + isForm: false, + isTable: true, + isDetail: true }, { label: '到库位代码',