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

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

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

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

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

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

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

Loading…
Cancel
Save