Browse Source

盘点业务兼容批次

master
zengqinyuan 4 weeks ago
parent
commit
658db4c29a
  1. 16
      src/views/eam/item/adjustRecord/adjustRecord.data.ts
  2. 41
      src/views/eam/item/countRecord/countRecord.data.ts
  3. 34
      src/views/eam/item/countadjustWork/countadjustWork.data.ts

16
src/views/eam/item/adjustRecord/adjustRecord.data.ts

@ -77,6 +77,16 @@ export const AdjustRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{
label: '库区编号',
field: 'areaNumber',
sort: 'custom',
isForm: false,
isSearch: true,
table: {
width: 180,
},
},
{ {
label: '库位编号', label: '库位编号',
field: 'locationNumber', field: 'locationNumber',
@ -87,10 +97,9 @@ export const AdjustRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 180, width: 180,
}, },
}, },
{ {
label: '库区编号', label: '批次',
field: 'areaNumber', field: 'batch',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
isSearch: true, isSearch: true,
@ -98,7 +107,6 @@ export const AdjustRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 180, width: 180,
}, },
}, },
{ {
label: '库存数量', label: '库存数量',
field: 'qty', field: 'qty',

41
src/views/eam/item/countRecord/countRecord.data.ts

@ -129,9 +129,16 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 180, width: 180,
}, },
}, },
{
label: '库区编号',
field: 'areaNumber',
sort: 'custom',
isForm: false,
isSearch: true,
table: {
width: 180,
},
},
{ {
label: '库位编号', label: '库位编号',
field: 'locationNumber', field: 'locationNumber',
@ -142,10 +149,9 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 180, width: 180,
}, },
}, },
{ {
label: '库区编号', label: '批次',
field: 'areaNumber', field: 'batch',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
isSearch: true, isSearch: true,
@ -153,7 +159,6 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 180, width: 180,
}, },
}, },
{ {
label: '库存数量', label: '库存数量',
field: 'qty', field: 'qty',
@ -220,17 +225,17 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
precision: 2 precision: 2
} }
}, },
{ // {
label: '操作', // label: '操作',
field: 'action', // field: 'action',
isDetail: false, // isDetail: false,
isForm: false, // isForm: false,
table: { // table: {
width: 150, // width: 150,
fixed: 'right' // fixed: 'right'
}, // },
isTableForm: false, // isTableForm: false,
} // }
])) ]))
//表单校验 //表单校验

34
src/views/eam/item/countadjustWork/countadjustWork.data.ts

@ -71,7 +71,6 @@ export const CountJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
isSearch: true, isSearch: true,
table: { table: {
width: 180,
fixed: 'left' fixed: 'left'
}, },
}, },
@ -108,7 +107,16 @@ export const CountJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 180, width: 180,
}, },
}, },
{
label: '批次',
field: 'batch',
sort: 'custom',
isForm: false,
isSearch: true,
table: {
width: 180,
},
},
{ {
label: '库存数量', label: '库存数量',
field: 'qty', field: 'qty',
@ -131,17 +139,17 @@ export const CountJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
precision: 2 precision: 2
} }
}, },
{ // {
label: '操作', // label: '操作',
field: 'action', // field: 'action',
isDetail: false, // isDetail: false,
isForm: false, // isForm: false,
table: { // table: {
width: 150, // width: 150,
fixed: 'right' // fixed: 'right'
}, // },
isTableForm: false, // isTableForm: false,
} // }
])) ]))
//表单校验 //表单校验

Loading…
Cancel
Save