Browse Source

修改盘点页面BUG

intex_online20250327
叶佳兴 3 months ago
parent
commit
e9c6e48c91
  1. 88
      src/views/wms/countManage/count/countConfig/countConfig.data.ts

88
src/views/wms/countManage/count/countConfig/countConfig.data.ts

@ -16,7 +16,6 @@ export const CountConfig = useCrudSchemas(reactive<CrudSchema[]>([
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 180,
fixed: 'left' fixed: 'left'
}, },
isSearch: true, isSearch: true,
@ -51,7 +50,6 @@ export const CountConfig = useCrudSchemas(reactive<CrudSchema[]>([
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
width: 180
}, },
form:{ form:{
componentProps:{ componentProps:{
@ -65,22 +63,6 @@ export const CountConfig = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
width: 100
},
form:{
componentProps:{
disabled: true
}
}
},
{
label: '计量单位',
field: 'uom',
sort: 'custom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
table: {
width: 100
}, },
form:{ form:{
componentProps:{ componentProps:{
@ -88,12 +70,25 @@ export const CountConfig = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
// {
// label: '包装规格',
// field: 'packUnit',
// sort: 'custom',
// table: {
// width: 100
// },
// form:{
// componentProps:{
// disabled: true
// }
// }
// },
{ {
label: '包装规格', label: '标包数量',
field: 'packUnit', field: 'packQty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 100
}, },
form:{ form:{
componentProps:{ componentProps:{
@ -102,11 +97,12 @@ export const CountConfig = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '包装数量', label: '计量单位',
field: 'packQty', field: 'uom',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
table: { table: {
width: 100
}, },
form:{ form:{
componentProps:{ componentProps:{
@ -114,23 +110,45 @@ export const CountConfig = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
// {
// label: '盘点模式',
// field: 'countType',
// sort: 'custom',
// dictType: DICT_TYPE.INVENTORY_MODE,
// dictClass: 'string',
// isSearch: true,
// table: {
// width: 180
// },
// },
{ {
label: '盘点模式', label: '盘点模式',
field: 'countType', field: 'countType',
sort: 'custom',
dictType: DICT_TYPE.INVENTORY_MODE, dictType: DICT_TYPE.INVENTORY_MODE,
dictClass: 'string', dictClass: 'string',
isSearch: true, isTable: true,
isDetail: true,
sort: 'custom',
table: { table: {
width: 180 },
isTableForm: true,
form: {
component: 'Radio',
}, },
}, },
{ {
label: '转换率', label: '转换率',
field: 'conversionRate', field: 'conversionRate',
sort: 'custom', sort: 'custom',
table: { form: {
width: 100 component: 'InputNumber',
value: 0,
componentProps: {
min:0,
precision:2
}
}, },
}, },
{ {
@ -141,9 +159,13 @@ export const CountConfig = useCrudSchemas(reactive<CrudSchema[]>([
isTable: false isTable: false
}, },
{ {
label: '备注', label: '创建者',
field: 'remark', field: 'creator',
sort: 'custom', table: {
width: 130
},
isForm: false,
isTable: true
}, },
{ {
label: '创建时间', label: '创建时间',
@ -166,7 +188,7 @@ export const CountConfig = useCrudSchemas(reactive<CrudSchema[]>([
field: 'action', field: 'action',
isForm: false, isForm: false,
table: { table: {
width: 150,
fixed: 'right' fixed: 'right'
} }
} }

Loading…
Cancel
Save