diff --git a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts index c9fa4cc01..abd673e95 100644 --- a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts @@ -59,6 +59,11 @@ export const InspectRequestMain = useCrudSchemas(reactive([ width: 150 }, isSearch: true, + form:{ + componentProps:{ + disabled:true + } + } }, { label: '单据号', diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index 204a64935..9cdf14b86 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -144,9 +144,11 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => row['supplierUom'] = val[0]['supplierUom'] row['inventoryStatus'] = val[0]['inventoryStatus'] row['fromLocationCode'] = val[0]['fromLocationCode'] - row['toLocationCode'] = '' + row['toLocationCode'] = null row['fromLocationGroupCode'] = val[0]['fromLocationGroupCode'] - row['toLocationGroupCode'] = '' + row['toLocationGroupCode'] = null + row['toWarehouseCode'] = null + row['toLocationTypes'] = null row['fromAreaCode'] = val[0]['areaCode'] row['toAreaCode'] = val[0]['toAreaCode'] row['fromQwnerCode'] = val[0]['fromQwnerCode'] @@ -177,6 +179,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => item.batch = item.toBatch item.packingNumber = item.toPackingNumber item.containerNumber = item.toContainerNumber + item.toLocationGroupCode = null + item.toWarehouseCode = null + item.toLocationTypes = null + item.toLocationCode = null }) isShowButton.value = false PurchasereturnRequestDetail.allSchemas.tableFormColumns.map((item) => { diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts index b6c99601a..d2e6395d2 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts @@ -75,6 +75,11 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ width: 150 }, isSearch: true, + form:{ + componentProps:{ + disabled:true + } + } }, { label: '承运商', @@ -118,6 +123,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm:false, isForm: false, }, { @@ -142,6 +148,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm:false, isForm: false, }, { @@ -161,6 +168,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ width: 150 }, isForm: false, + isTableForm:false, }, { label: '从月台代码', @@ -735,7 +743,6 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive table: { width: 150 }, - isTableForm:false, tableForm:{ disabled:true }