Browse Source

YT-1319、YT-1320补给品生产计划、号口生产计划、补给品收货、号口品收货,去掉班次必填

intex
zhaoyiran 4 days ago
parent
commit
aae6f315bd
  1. 66
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts
  2. 66
      src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts
  3. 6
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts
  4. 6
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts

66
src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

@ -199,39 +199,39 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
// {
// label: '班次',
// field: 'shift',
// sort: 'custom',
// table: {
// width: 150
// },
// form: {
// // labelMessage: '信息提示说明!!!',
// componentProps: {
// enterSearch: true,
// isSearchList: true,
// searchListPlaceholder: '请选择班次',
// searchField: 'code',
// searchTitle: '班次信息',
// searchAllSchemas: Shift.allSchemas,
// searchPage: ShiftApi.getShiftPage,
// searchCondition:[{
// key: 'available',
// value: 'TRUE',
// isMainValue: false
// }],
// verificationParams: [{
// key: 'code',
// action: '==',
// value: '',
// isMainValue: false,
// isSearch: true,
// isFormModel: true,
// }], // 失去焦点校验参数
// }
// }
// },
{
label: '班次',
field: 'shift',
sort: 'custom',
table: {
width: 150
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
enterSearch: true,
isSearchList: true,
searchListPlaceholder: '请选择班次',
searchField: 'code',
searchTitle: '班次信息',
searchAllSchemas: Shift.allSchemas,
searchPage: ShiftApi.getShiftPage,
searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
}
}
},
// {
// label: '物料代码',
// field: 'detailItemCode',

66
src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts

@ -198,39 +198,39 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
// {
// label: '班次',
// field: 'shift',
// sort: 'custom',
// table: {
// width: 150
// },
// form: {
// // labelMessage: '信息提示说明!!!',
// componentProps: {
// enterSearch: true,
// isSearchList: true,
// searchListPlaceholder: '请选择班次',
// searchField: 'code',
// searchTitle: '班次信息',
// searchAllSchemas: Shift.allSchemas,
// searchPage: ShiftApi.getShiftPage,
// searchCondition:[{
// key: 'available',
// value: 'TRUE',
// isMainValue: false
// }],
// verificationParams: [{
// key: 'code',
// action: '==',
// value: '',
// isMainValue: false,
// isSearch: true,
// isFormModel: true,
// }], // 失去焦点校验参数
// }
// }
// },
{
label: '班次',
field: 'shift',
sort: 'custom',
table: {
width: 150
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
enterSearch: true,
isSearchList: true,
searchListPlaceholder: '请选择班次',
searchField: 'code',
searchTitle: '班次信息',
searchAllSchemas: Shift.allSchemas,
searchPage: ShiftApi.getShiftPage,
searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
}
}
},
// {
// label: '物料代码',
// field: 'detailItemCode',

6
src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts

@ -611,9 +611,9 @@ export const ProductreceiptRequestMainRules = reactive({
// team: [
// { required: true, message: '请选择班组代码', trigger: 'change' }
// ],
shift: [
{ required: true, message: '请选择班次代码', trigger: 'change' }
],
// shift: [
// { required: true, message: '请选择班次代码', trigger: 'change' }
// ],
// departmentCode: [
// { required: true, message: '请输入部门', trigger: 'blur' }
// ],

6
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts

@ -617,9 +617,9 @@ export const ProductreceiptRequestMainRules = reactive({
// team: [
// { required: true, message: '请选择班组代码', trigger: 'change' }
// ],
shift: [
{ required: true, message: '请选择班次代码', trigger: 'change' }
],
// shift: [
// { required: true, message: '请选择班次代码', trigger: 'change' }
// ],
// departmentCode: [
// { required: true, message: '请输入部门', trigger: 'blur' }
// ],

Loading…
Cancel
Save