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

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

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

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

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

Loading…
Cancel
Save