Browse Source

成本中心类型 改为非必填 YT-688

intex_online20241111
YEJIAXING-PC\lenovo 3 weeks ago
parent
commit
b233264afd
  1. 31
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts
  2. 30
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts

31
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts

@ -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' }

30
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts

@ -207,12 +207,14 @@ export const UnplannedreceiptRequestMain = 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 +238,14 @@ export const UnplannedreceiptRequestMain = 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: '==',
@ -648,7 +652,7 @@ export const UnplannedreceiptRequestMainRules = reactive({
{ required: true, message: '请输入成本中心代码', trigger: 'blur' } { required: true, message: '请输入成本中心代码', trigger: 'blur' }
], ],
costCenterType: [ costCenterType: [
{ required: true, message: '请输入成本中心类型', trigger: 'blur' } { required: false, message: '请输入成本中心类型', trigger: 'blur' }
], ],
projectCode: [ projectCode: [
{ required: false, message: '请输入项目代码', trigger: 'blur' } { required: false, message: '请输入项目代码', trigger: 'blur' }

Loading…
Cancel
Save