Browse Source

盘点主表增加按字典阈值拆分字段,子表增加仓库、库区、库位组、库位字段,对应PC端及后端代码修改

hella_online_20240829
bjang03 5 months ago
parent
commit
74402ee434
  1. 27
      src/views/wms/countManage/count/countJobMain/countJobMain.data.ts
  2. 32
      src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts
  3. 35
      src/views/wms/countManage/count/countRecordMain/countRecordMain.data.ts
  4. 25
      src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts
  5. 32
      src/views/wms/countManage/countadjust/countadjustRecordMain/countadjustRecordMain.data.ts
  6. 27
      src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts

27
src/views/wms/countManage/count/countJobMain/countJobMain.data.ts

@ -27,6 +27,33 @@ export const CountJobMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '任务拆分方式',
field: 'countSplitType',
dictType: DICT_TYPE.COUNT_SPLIT_TYPE,
dictClass: 'string',
sort: 'custom',
table: {
width: 150
},
isTable:true,
isForm: true,
form: {
value: 'locationCode'
}
},
{
label: '任务拆分值',
field: 'countSplitCode',
dictClass: 'string',
sort: 'custom',
table: {
width: 150
},
isTable:true,
isForm: true
},
{ {
label: '计划单号', label: '计划单号',
field: 'planNumber', field: 'planNumber',

32
src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts

@ -49,27 +49,29 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true isSearch: true
}, },
{ {
label: '',//执行周期 label: '任务拆分方式',
field: 'crontab', field: 'countSplitType',
dictType: DICT_TYPE.COUNT_SPLIT_TYPE,
dictClass: 'string',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable:false, isTable:true,
isForm: true,
form: { form: {
componentProps:{ value: 'locationCode'
disabled:true
}
} }
}, },
{ {
label: '执行周期',//执行周期 label: '',//执行周期
field: 'crontab', field: 'crontab',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isForm:false, isTable:false,
form:{ form:{
componentProps:{ componentProps:{
disabled:true disabled:true
@ -77,20 +79,18 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '任务拆分方式', label: '执行周期',//执行周期
field: 'countSplitType', field: 'crontab',
dictType: DICT_TYPE.COUNT_SPLIT_TYPE,
dictClass: 'string',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable:true, isForm:false,
isForm: true,
form:{ form:{
value: 'locationCode' componentProps:{
disabled:true
}
} }
}, },
{ {
label: '维度', label: '维度',

35
src/views/wms/countManage/count/countRecordMain/countRecordMain.data.ts

@ -40,14 +40,33 @@ export const CountRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
// { {
// label: '仓库代码', label: '任务拆分方式',
// field: 'warehouseCode', field: 'countSplitType',
// sort: 'custom', dictType: DICT_TYPE.COUNT_SPLIT_TYPE,
// table: { dictClass: 'string',
// width: 150 sort: 'custom',
// }, table: {
// }, width: 150
},
isTable:true,
isForm: true,
form: {
value: 'locationCode'
}
},
{
label: '任务拆分值',
field: 'countSplitCode',
dictClass: 'string',
sort: 'custom',
table: {
width: 150
},
isTable:true,
isForm: true
},
{ {
label: '阶段', label: '阶段',
field: 'stage', field: 'stage',

25
src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts

@ -90,15 +90,22 @@ export const CountRequestMain = useCrudSchemas(<CrudSchema[]>([
}, },
isSearch: true, isSearch: true,
}, },
// { {
// label: '仓库代码', label: '任务拆分方式',
// field: 'warehouseCode', field: 'countSplitType',
// sort: 'custom', dictType: DICT_TYPE.COUNT_SPLIT_TYPE,
// table: { dictClass: 'string',
// width: 150 sort: 'custom',
// }, table: {
// isSearch: true, width: 150
// }, },
isTable:true,
isForm: true,
form: {
value: 'locationCode'
}
},
{ {
label: '申请时间', label: '申请时间',
field: 'requestTime', field: 'requestTime',

32
src/views/wms/countManage/countadjust/countadjustRecordMain/countadjustRecordMain.data.ts

@ -24,22 +24,32 @@ export const CountadjustRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true isSearch: true
}, },
// {
// label: '盘点记录单号',
// field: 'countRecordNumber',
// sort: 'custom',
// table: {
// width: 180
// },
// isSearch: true
// },
{ {
label: '仓库代码', label: '任务拆分方式',
field: 'warehouseCode', field: 'countSplitType',
dictType: DICT_TYPE.COUNT_SPLIT_TYPE,
dictClass: 'string',
sort: 'custom',
table: {
width: 150
},
isTable:true,
isForm: true,
form: {
value: 'locationCode'
}
},
{
label: '任务拆分值',
field: 'countSplitCode',
dictClass: 'string',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable:true,
isForm: true
}, },
{ {
label: '出库事务类型', label: '出库事务类型',

27
src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts

@ -55,6 +55,33 @@ export const CountadjustRequestMain = useCrudSchemas(<CrudSchema[]>([
}, },
}, },
{
label: '任务拆分方式',
field: 'countSplitType',
dictType: DICT_TYPE.COUNT_SPLIT_TYPE,
dictClass: 'string',
sort: 'custom',
table: {
width: 150
},
isTable:true,
isForm: true,
form: {
value: 'locationCode'
}
},
{
label: '任务拆分值',
field: 'countSplitCode',
dictClass: 'string',
sort: 'custom',
table: {
width: 150
},
isTable:true,
isForm: true
},
// { // {
// label: '申请单号', // label: '申请单号',
// field: 'requestNumber', // field: 'requestNumber',

Loading…
Cancel
Save