|
|
@ -603,7 +603,26 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
|
}] |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '原料库位', |
|
|
|
field: 'fromLocationCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
isDetail:false, |
|
|
|
isTable:false, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料代码', |
|
|
|
field: 'itemCode', |
|
|
@ -621,12 +640,12 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
|
searchAllSchemas: Balance.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: BalanceApi.getBalancePage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition:[ |
|
|
|
// {
|
|
|
|
// key: 'locationCode',
|
|
|
|
// value: 'fromLocationCode',
|
|
|
|
// message: '请填写从库位代码!',
|
|
|
|
// isMainValue: true
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
key: 'locationCode', |
|
|
|
value: 'fromLocationCode', |
|
|
|
message: '请填写原料库位!', |
|
|
|
isMainValue: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'inventoryStatus', |
|
|
|
value: 'OK', |
|
|
@ -642,21 +661,20 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
|
searchAllSchemas: Balance.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: BalanceApi.getBalancePage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition:[ |
|
|
|
// {
|
|
|
|
// key: 'locationCode',
|
|
|
|
// value: 'fromLocationCode',
|
|
|
|
// message: '请填写从库位代码!',
|
|
|
|
// isMainValue: true
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
key: 'locationCode', |
|
|
|
value: 'fromLocationCode', |
|
|
|
message: '请填写从库位代码!', |
|
|
|
isMainValue: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'inventoryStatus', |
|
|
|
value: 'OK', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'productionLineCode', |
|
|
|
value: 'productionLineCode', |
|
|
|
message: '请选择生产线信息!', |
|
|
|
isMainValue: true |
|
|
|
key: 'businessType', |
|
|
|
value: 'ReturnToStore', // 合格退料
|
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
}, |
|
|
|
}, |
|
|
|