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

Loading…
Cancel
Save