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
},
},
{
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: '计划单号',
field: 'planNumber',

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

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

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

@ -40,14 +40,33 @@ export const CountRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
// {
// label: '仓库代码',
// field: 'warehouseCode',
// sort: 'custom',
// table: {
// 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: '阶段',
field: 'stage',

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

@ -90,15 +90,22 @@ export const CountRequestMain = useCrudSchemas(<CrudSchema[]>([
},
isSearch: true,
},
// {
// label: '仓库代码',
// field: 'warehouseCode',
// sort: 'custom',
// table: {
// width: 150
// },
// isSearch: true,
// },
{
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: 'requestTime',

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

@ -24,22 +24,32 @@ export const CountadjustRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isSearch: true
},
// {
// label: '盘点记录单号',
// field: 'countRecordNumber',
// sort: 'custom',
// table: {
// width: 180
// },
// isSearch: true
// },
{
label: '仓库代码',
field: 'warehouseCode',
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: '出库事务类型',

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: '申请单号',
// field: 'requestNumber',

Loading…
Cancel
Save