diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue index 496447b0d..c4300abe6 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue @@ -162,7 +162,12 @@ InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => { key: 'businessType', value: businessType.value , isMainValue: false - },] + },],item.form.componentProps.searchCondition = [ + { + key: 'businessType', + value: businessType.value, + isMainValue: false + }] } else { delete item.tableForm.searchCondition } @@ -182,6 +187,12 @@ InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => { value: businessType.value, isMainValue: false }] + item.form.componentProps.searchCondition = [ + { + key: 'businessType', + value: businessType.value, + isMainValue: false + }] } } }) @@ -431,8 +442,6 @@ const handleDeleteTable = (item, index) => { const submitForm = async (formType, data) => { data.subList = tableData.value // 拼接子表数据参数 data.subList.forEach(item => { - console.log(fromInventoryStatus.value) - console.log(!fromInventoryStatus.value) if(fromInventoryStatus.value){ item.fromInventoryStatus = fromInventoryStatus.value item.toInventoryStatus = toInventoryStatus.value diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts index 0728dd5c0..bbf9ab021 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts @@ -561,7 +561,12 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( searchField: 'packingNumber', searchTitle: '库存余额信息', searchAllSchemas: Balance.allSchemas, - searchPage: BalanceApi.selectLocationTypeToBalance + searchPage: BalanceApi.selectLocationTypeToBalance, + searchCondition: [{ + key: 'locationCode', + value: 'businessType', + isMainValue: true + }] } } }, @@ -671,6 +676,12 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( searchTitle: '库位信息', searchAllSchemas: Location.allSchemas, searchPage: LocationApi.selectBusinessTypeToLocation, + searchCondition: [ + { + key: 'type', + value: 'businessType', + isMainValue: true + }] } } },