Browse Source

报废出库根据业务类型筛选物料类型

master_hella_20240701
chenfang 5 months ago
parent
commit
09eaf9dd68
  1. 28
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

28
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -485,15 +485,23 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'packingNumber', searchField: 'packingNumber',
searchTitle: '库存余额信息', searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas, searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalancePage, searchPage: BalanceApi.getBalanceItemPage,
searchCondition: [{ searchCondition: [{
key: 'warehouseCode', key: 'warehouseCode',
value: 'fromWarehouseCode', value: 'fromWarehouseCode',
message: '请填写从仓库代码!', message: '请填写从仓库代码!',
isMainValue: true isMainValue: true
},{ },{
key: 'inventoryStatus', key: 'businessType',
value: 'SCRAP', value: 'Scrap',
action: '==',
isSearch: true,
isMainValue: false
},{
key: 'inOrOut',
value: 'out',
action: '==',
isSearch: true,
isMainValue: false isMainValue: false
}] }]
}, },
@ -505,15 +513,23 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'packingNumber', searchField: 'packingNumber',
searchTitle: '库存余额信息', searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas, searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalancePage, searchPage: BalanceApi.getBalanceItemPage,
searchCondition: [{ searchCondition: [{
key: 'warehouseCode', key: 'warehouseCode',
value: 'fromWarehouseCode', value: 'fromWarehouseCode',
message: '请填写从仓库代码!', message: '请填写从仓库代码!',
isMainValue: true isMainValue: true
},{ },{
key: 'inventoryStatus', key: 'businessType',
value: 'SCRAP', value: 'Scrap',
action: '==',
isSearch: true,
isMainValue: false
},{
key: 'inOrOut',
value: 'out',
action: '==',
isSearch: true,
isMainValue: false isMainValue: false
}] }]
} }

Loading…
Cancel
Save