|
|
@ -207,12 +207,14 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'costcentreType', |
|
|
|
value: 'costCenterType', |
|
|
|
message: '成本中心类型不能为空!', |
|
|
|
isMainValue: true |
|
|
|
}], |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// key: 'costcentreType',
|
|
|
|
// value: 'costCenterType',
|
|
|
|
// message: '成本中心类型不能为空!',
|
|
|
|
// isMainValue: true
|
|
|
|
// }
|
|
|
|
], |
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
@ -236,12 +238,14 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'costcentreType', |
|
|
|
value: 'costCenterType', |
|
|
|
message: '成本中心类型不能为空!', |
|
|
|
isMainValue: true |
|
|
|
}], |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// key: 'costcentreType',
|
|
|
|
// value: 'costCenterType',
|
|
|
|
// message: '成本中心类型不能为空!',
|
|
|
|
// isMainValue: true
|
|
|
|
// }
|
|
|
|
], |
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
@ -648,7 +652,7 @@ export const UnplannedreceiptRequestMainRules = reactive({ |
|
|
|
{ required: true, message: '请输入成本中心代码', trigger: 'blur' } |
|
|
|
], |
|
|
|
costCenterType: [ |
|
|
|
{ required: true, message: '请输入成本中心类型', trigger: 'blur' } |
|
|
|
{ required: false, message: '请输入成本中心类型', trigger: 'blur' } |
|
|
|
], |
|
|
|
projectCode: [ |
|
|
|
{ required: false, message: '请输入项目代码', trigger: 'blur' } |
|
|
|