Browse Source

HL-5799装配报工&预生产报工申请、任务、记录,增加班次筛选条件,装配报工&预生产报工任务、记录标题栏增加班次字段

hella_online_20240904
王宇飞 5 months ago
parent
commit
0cf1cb3baa
  1. 13
      src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts
  2. 15
      src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts
  3. 40
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts
  4. 15
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleJobMain/productreceiptAssembleJobMain.data.ts
  5. 13
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts
  6. 38
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts

13
src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts

@ -1,5 +1,7 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime'
import * as ShiftApi from '@/api/wms/shift'
const shiftList = await ShiftApi.getShiftPage({available:'TRUE',pageSize: 500,pageNo: 1,sort:'',by: 'ASC'})
/**
* @returns {Array}
@ -99,6 +101,17 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isSearch: true,
search: {
component:'Select',
componentProps:{
options:shiftList.list,
optionsAlias: {
labelField: 'name',
valueField: 'name'
},
}
}
},
{
label: '收货类型',

15
src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts

@ -1,5 +1,7 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime'
import * as ShiftApi from '@/api/wms/shift'
const shiftList = await ShiftApi.getShiftPage({available:'TRUE',pageSize: 500,pageNo: 1,sort:'',by: 'ASC'})
/**
* @returns {Array}
@ -94,7 +96,18 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: true
isTable: true,
isSearch: true,
search: {
component:'Select',
componentProps:{
options:shiftList.list,
optionsAlias: {
labelField: 'name',
valueField: 'name'
},
}
}
},
{
label: '收货类型',

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

@ -262,31 +262,7 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}], // 失去焦点校验参数
}
}
// 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: '班次',
@ -296,7 +272,19 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
isForm:false,
sortTableDefault: 1001
sortTableDefault: 1001,
isSearch: true,
search: {
component:'Select',
componentProps:{
options:shiftList.list,
optionsAlias: {
labelField: 'name',
valueField: 'name'
},
}
}
},
{
label: '收货类型',

15
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleJobMain/productreceiptAssembleJobMain.data.ts

@ -1,6 +1,8 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime'
import * as ShiftApi from '@/api/wms/shift'
const shiftList = await ShiftApi.getShiftPage({available:'TRUE',pageSize: 500,pageNo: 1,sort:'',by: 'ASC'})
console.log('shiftList',shiftList)
/**
* @returns {Array}
*/
@ -96,9 +98,20 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'shiftName',
sort: 'custom',
isTable:true,
isSearch:true,
table: {
width: 150
},
search: {
component:'Select',
componentProps:{
options:shiftList.list,
optionsAlias: {
labelField: 'name',
valueField: 'name'
},
}
}
},
{
label: '收货类型',

13
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts

@ -1,5 +1,7 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime'
import * as ShiftApi from '@/api/wms/shift'
const shiftList = await ShiftApi.getShiftPage({available:'TRUE',pageSize: 500,pageNo: 1,sort:'',by: 'ASC'})
/**
* @returns {Array}
@ -112,10 +114,21 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '班次',
field: 'shiftName',
sort: 'custom',
isSearch:true,
isTable:true,
table: {
width: 150
},
search: {
component:'Select',
componentProps:{
options:shiftList.list,
optionsAlias: {
labelField: 'name',
valueField: 'name'
},
}
}
},
{
label: '收货类型',

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

@ -271,31 +271,6 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}], // 失去焦点校验参数
}
}
// 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: '班次',
@ -304,8 +279,19 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isSearch:true,
isForm:false,
sortTableDefault: 1001
sortTableDefault: 1001,
search: {
component:'Select',
componentProps:{
options:shiftList.list,
optionsAlias: {
labelField: 'name',
valueField: 'name'
},
}
}
},
{
label: '收货类型',

Loading…
Cancel
Save