Browse Source

记录顺序

linshi20240813
wangyufei 1 month ago
parent
commit
b890ad1de7
  1. 124
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/inventorymoveRecordMain.data.ts
  2. 100
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/inventorymoveRecordRequestMain.data.ts

124
src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/inventorymoveRecordMain.data.ts

@ -15,24 +15,24 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true isSearch: true
}, },
{ // {
label: '申请单号', // label: '申请单号',
field: 'requestNumber', // field: 'requestNumber',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 180 // width: 180
}, // },
isSearch: true // isSearch: true
}, // },
{ // {
label: '任务单号', // label: '任务单号',
field: 'jobNumber', // field: 'jobNumber',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 180 // width: 180
}, // },
isSearch: true // isSearch: true
}, // },
// { // {
// label: '使用在途库', // label: '使用在途库',
// field: 'useOnTheWayLocation', // field: 'useOnTheWayLocation',
@ -133,15 +133,15 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
// } // }
// }, // },
// }, // },
{ // {
label: '发货单号', // label: '发货单号',
field: 'asnNumber', // field: 'asnNumber',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
isForm: false, // isForm: false,
}, // },
{ {
label: '从仓库代码', label: '从仓库代码',
field: 'fromWarehouseCode', field: 'fromWarehouseCode',
@ -588,41 +588,41 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{ // {
label: '项目代码', // label: '项目代码',
field: 'projectCode', // field: 'projectCode',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ // {
label: '从货主代码', // label: '从货主代码',
field: 'fromOwnerCode', // field: 'fromOwnerCode',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ // {
label: '到货主代码', // label: '到货主代码',
field: 'toOwnerCode', // field: 'toOwnerCode',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ // {
label: '接口类型', // label: '接口类型',
field: 'interfaceType', // field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE, // dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
// { // {
// label: '备注', // label: '备注',
// field: 'remark', // field: 'remark',

100
src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/inventorymoveRecordRequestMain.data.ts

@ -258,8 +258,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
{ {
label: '批次', label: '从包装号',
field: 'fromBatch', field: 'fromPackingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -274,14 +274,28 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
{ {
label: '从包装号', label: '到包装号',
field: 'fromPackingNumber', field: 'toPackingNumber',
sort: 'custom',
table: {
width: 150
},
isTableForm: true,
isForm: false,
},
{
label: '从库存状态',
field: 'fromInventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
tableForm: { tableForm: {
disabled: true disabled: true,
type: 'Select'
}, },
form: { form: {
componentProps: { componentProps: {
@ -290,14 +304,24 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
{ {
label: '到包装号', label: '到库存状态',
field: 'toPackingNumber', field: 'toInventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTableForm: true, tableForm: {
isForm: false, disabled: false,
type: 'Select'
},
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '包装规格', label: '包装规格',
@ -319,7 +343,22 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
}, },
{
label: '批次',
field: 'fromBatch',
sort: 'custom',
table: {
width: 150
},
tableForm: {
disabled: true
},
form: {
componentProps: {
disabled: true
}
}
},
{ {
label: '数量', label: '数量',
field: 'qty', field: 'qty',
@ -360,47 +399,6 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
disabled: true disabled: true
} }
} }
},
{
label: '从库存状态',
field: 'fromInventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
disabled: true,
type: 'Select'
},
form: {
componentProps: {
disabled: true
}
}
},
{
label: '到库存状态',
field: 'toInventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
disabled: false,
type: 'Select'
},
form: {
componentProps: {
disabled: true
}
}
} }
])) ]))

Loading…
Cancel
Save