|
@ -207,12 +207,15 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
},{ |
|
|
}, |
|
|
key: 'costcentreType', |
|
|
// {
|
|
|
value: 'costCenterType', |
|
|
// key: 'costcentreType',
|
|
|
message: '成本中心类型不能为空!', |
|
|
// value: 'costCenterType',
|
|
|
isMainValue: true |
|
|
// message: '成本中心类型不能为空!',
|
|
|
}], |
|
|
// isMainValue: true
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
], |
|
|
verificationParams: [{ |
|
|
verificationParams: [{ |
|
|
key: 'code', |
|
|
key: 'code', |
|
|
action: '==', |
|
|
action: '==', |
|
@ -236,12 +239,14 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
},{ |
|
|
}, |
|
|
key: 'costcentreType', |
|
|
// {
|
|
|
value: 'costCenterType', |
|
|
// key: 'costcentreType',
|
|
|
message: '成本中心类型不能为空!', |
|
|
// value: 'costCenterType',
|
|
|
isMainValue: true |
|
|
// message: '成本中心类型不能为空!',
|
|
|
}], |
|
|
// isMainValue: true
|
|
|
|
|
|
// }
|
|
|
|
|
|
], |
|
|
verificationParams: [{ |
|
|
verificationParams: [{ |
|
|
key: 'code', |
|
|
key: 'code', |
|
|
action: '==', |
|
|
action: '==', |
|
@ -669,7 +674,7 @@ export const UnplannedissueRequestMainRules = reactive({ |
|
|
{ required: true, message: '请输入成本中心代码', trigger: 'blur' } |
|
|
{ required: true, message: '请输入成本中心代码', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
costCenterType: [ |
|
|
costCenterType: [ |
|
|
{ required: true, message: '请输入成本中心类型', trigger: 'blur' } |
|
|
{ required: false, message: '请输入成本中心类型', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
reasonCodeRequisition: [ |
|
|
reasonCodeRequisition: [ |
|
|
{ required: true, message: '请输入领用原因代码', trigger: 'blur' } |
|
|
{ required: true, message: '请输入领用原因代码', trigger: 'blur' } |
|
|