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

Loading…
Cancel
Save