Browse Source

YT-1320补给品收货、号口收货,新增去掉班次必填项

intex_online20241228
王宇飞 2 months ago
parent
commit
c1e5601665
  1. 1
      src/views/wms/productionManage/productionplan/productionMain/index.vue
  2. 72
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts
  3. 1
      src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue
  4. 72
      src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts

1
src/views/wms/productionManage/productionplan/productionMain/index.vue

@ -94,6 +94,7 @@ import { usePageLoading } from '@/hooks/web/usePageLoading'
const { loadStart, loadDone } = usePageLoading()
//
//
//
defineOptions({ name: 'ProductionMain' })
const message = useMessage() //

72
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',
@ -640,9 +640,9 @@ export const ProductionMainRules = reactive({
productionLine: [
{ required: true, message: '请选择生产线', trigger: 'change' }
],
shift: [
{ required: true, message: '请选择班次', trigger: 'change' }
],
// shift: [
// { required: true, message: '请选择班次', trigger: 'change' }
// ],
// team: [
// { required: true, message: '请选择班组', trigger: 'change' }
// ],

1
src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue

@ -93,6 +93,7 @@ import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading'
const { loadStart, loadDone } = usePageLoading()
//
//
defineOptions({ name: 'ProductionMainAssemble' })
const message = useMessage() //

72
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',
@ -639,9 +639,9 @@ export const ProductionMainRules = reactive({
productionLine: [
{ required: true, message: '请选择生产线', trigger: 'change' }
],
shift: [
{ required: true, message: '请选择班次', trigger: 'change' }
],
// shift: [
// { required: true, message: '请选择班次', trigger: 'change' }
// ],
// team: [
// { required: true, message: '请选择班组', trigger: 'change' }
// ],

Loading…
Cancel
Save