|
|
@ -491,10 +491,14 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
|
searchPage: BalanceApi.getBalanceItemPage, |
|
|
|
searchCondition: [{ |
|
|
|
message: '请填写从仓库代码!', |
|
|
|
key: 'warehouseCode', |
|
|
|
value: 'fromWarehouseCode', |
|
|
|
message: '请填写从仓库代码!', |
|
|
|
isMainValue: true |
|
|
|
isFormModel:true, // filters中添加筛选的数据--取于formModel
|
|
|
|
required:true, // 前置添加必有,和isFormModel结合使用
|
|
|
|
action: '==', |
|
|
|
isSearch: true, |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'businessType', |
|
|
|
value: 'Scrap', |
|
|
@ -507,12 +511,6 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
action: '==', |
|
|
|
isSearch: true, |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'inventoryStatus', |
|
|
|
value: 'SCRAP', |
|
|
|
action: '==', |
|
|
|
isSearch: true, |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
}, |
|
|
|
form: { |
|
|
|