Browse Source

盘点顺序调整-喜

hella_online_20240829
王宇飞 6 months ago
parent
commit
ca41f9f47e
  1. 132
      src/views/wms/countManage/count/countJobMain/countJobMain.data.ts
  2. 137
      src/views/wms/countManage/count/countRecordMain/countRecordMain.data.ts

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

@ -594,20 +594,11 @@ export const CountJobMainRules = reactive({
*/ */
export const CountJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const CountJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '单据号', label: '库位代码',
field: 'number', field: 'locationCode',
sort: 'custom',
table: {
width: 180
},
hiddenInMain:true,
},
{
label: '盘点明细号',
field: 'countDetailNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
}, },
}, },
{ {
@ -627,111 +618,133 @@ export const CountJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物料描述1', label: '批次',
field: 'itemDesc1', field: 'batch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物料描述2', label: '包装号',
field: 'itemDesc2', field: 'packingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '批次', label: '数量',
field: 'batch', field: 'qty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '包装号', label: '盘点数量',
field: 'packingNumber', field: 'countQty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '仓库代码', label: '计量单位',
field: 'warehouseCode', field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '库区代码', label: '库存状态',
field: 'areaCode', field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
},{ },
label: '库位组代码', {
field: 'locationGroupCode', label: '物料描述1',
field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '库位代码', label: '物料描述2',
field: 'locationCode', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
// {
// label: '器具号',
// field: 'containerNumber',
// sort: 'custom',
// table: {
// width: 150
// },
// isTable:false,
// },
{ {
label: '数量', label: '单据号',
field: 'qty', field: 'number',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
form: { hiddenInMain:true,
component: 'InputNumber',
}
}, },
{ {
label: '计量单位', label: '盘点明细号',
field: 'uom', field: 'countDetailNumber',
dictType: DICT_TYPE.UOM, sort: 'custom',
dictClass: 'string', table: {
isTable: true, width: 180
},
},
{
label: '仓库代码',
field: 'warehouseCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '库存状态', label: '库区代码',
field: 'inventoryStatus', field: 'areaCode',
dictType: DICT_TYPE.INVENTORY_STATUS, sort: 'custom',
dictClass: 'string', table: {
isTable: true, width: 150
},
},{
label: '库位组代码',
field: 'locationGroupCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
// {
// label: '器具号',
// field: 'containerNumber',
// sort: 'custom',
// table: {
// width: 150
// },
// isTable:false,
// },
// { // {
// label: '项目代码', // label: '项目代码',
// field: 'projectCode', // field: 'projectCode',
@ -749,14 +762,7 @@ export const CountJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150 // width: 150
// }, // },
// }, // },
{
label: '盘点数量',
field: 'countQty',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '盘点时间', label: '盘点时间',
field: 'countTime', field: 'countTime',

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

@ -353,11 +353,11 @@ export const CountRecordMainRules = reactive({
*/ */
export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '单据号', label: '库位代码',
field: 'number', field: 'locationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
}, },
}, },
{ {
@ -377,28 +377,31 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物料描述1', label: '批次',
field: 'itemDesc1', field: 'batch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物料描述2', label: '包装号',
field: 'itemDesc2', field: 'packingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '盘点明细号', label: '数量',
field: 'countDetailNumber', field: 'qty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '盘点数量', label: '盘点数量',
@ -411,6 +414,60 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
component: 'InputNumber', component: 'InputNumber',
} }
}, },
{
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '库存状态',
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '物料描述1',
field: 'itemDesc1',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物料描述2',
field: 'itemDesc2',
sort: 'custom',
table: {
width: 150
},
},
{
label: '盘点明细号',
field: 'countDetailNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 180
},
},
{ {
label: '盘点时间', label: '盘点时间',
field: 'countTime', field: 'countTime',
@ -447,22 +504,7 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150 // width: 150
// }, // },
// }, // },
{
label: '批次',
field: 'batch',
sort: 'custom',
table: {
width: 150
},
},
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
},
// { // {
// label: '器具号', // label: '器具号',
// field: 'containerNumber', // field: 'containerNumber',
@ -471,36 +513,9 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150 // width: 150
// }, // },
// }, // },
{
label: '数量',
field: 'qty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位代码',
field: 'locationCode',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '库位组代码', label: '库位组代码',
field: 'locationGroupCode', field: 'locationGroupCode',
@ -517,17 +532,7 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '库存状态',
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '货主代码', label: '货主代码',
field: 'ownerCode', field: 'ownerCode',

Loading…
Cancel
Save