From e9c6e48c91d6a6f64609130ae6072e61453bc530 Mon Sep 17 00:00:00 2001 From: "YEJIAXING-PC\\lenovo" <591141169@qq.com> Date: Wed, 19 Mar 2025 10:35:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=98=E7=82=B9=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../count/countConfig/countConfig.data.ts | 88 ++++++++++++------- 1 file changed, 55 insertions(+), 33 deletions(-) diff --git a/src/views/wms/countManage/count/countConfig/countConfig.data.ts b/src/views/wms/countManage/count/countConfig/countConfig.data.ts index 6c2521d47..654455e28 100644 --- a/src/views/wms/countManage/count/countConfig/countConfig.data.ts +++ b/src/views/wms/countManage/count/countConfig/countConfig.data.ts @@ -16,7 +16,6 @@ export const CountConfig = useCrudSchemas(reactive([ field: 'itemCode', sort: 'custom', table: { - width: 180, fixed: 'left' }, isSearch: true, @@ -51,7 +50,6 @@ export const CountConfig = useCrudSchemas(reactive([ field: 'itemName', sort: 'custom', table: { - width: 180 }, form:{ componentProps:{ @@ -65,22 +63,6 @@ export const CountConfig = useCrudSchemas(reactive([ sort: 'custom', isSearch: true, table: { - width: 100 - }, - form:{ - componentProps:{ - disabled: true - } - } - }, - { - label: '计量单位', - field: 'uom', - sort: 'custom', - dictType: DICT_TYPE.UOM, - dictClass: 'string', - table: { - width: 100 }, form:{ componentProps:{ @@ -88,12 +70,25 @@ export const CountConfig = useCrudSchemas(reactive([ } } }, + + // { + // label: '包装规格', + // field: 'packUnit', + // sort: 'custom', + // table: { + // width: 100 + // }, + // form:{ + // componentProps:{ + // disabled: true + // } + // } + // }, { - label: '包装规格', - field: 'packUnit', + label: '标包数量', + field: 'packQty', sort: 'custom', table: { - width: 100 }, form:{ componentProps:{ @@ -102,11 +97,12 @@ export const CountConfig = useCrudSchemas(reactive([ } }, { - label: '包装数量', - field: 'packQty', + label: '计量单位', + field: 'uom', sort: 'custom', + dictType: DICT_TYPE.UOM, + dictClass: 'string', table: { - width: 100 }, form:{ componentProps:{ @@ -114,23 +110,45 @@ export const CountConfig = useCrudSchemas(reactive([ } } }, + // { + // label: '盘点模式', + // field: 'countType', + // sort: 'custom', + // dictType: DICT_TYPE.INVENTORY_MODE, + // dictClass: 'string', + // isSearch: true, + // table: { + // width: 180 + // }, + // }, + { label: '盘点模式', field: 'countType', - sort: 'custom', dictType: DICT_TYPE.INVENTORY_MODE, dictClass: 'string', - isSearch: true, + isTable: true, + isDetail: true, + sort: 'custom', table: { - width: 180 + }, + isTableForm: true, + form: { + component: 'Radio', }, }, + { label: '转换率', field: 'conversionRate', sort: 'custom', - table: { - width: 100 + form: { + component: 'InputNumber', + value: 0, + componentProps: { + min:0, + precision:2 + } }, }, { @@ -141,9 +159,13 @@ export const CountConfig = useCrudSchemas(reactive([ isTable: false }, { - label: '备注', - field: 'remark', - sort: 'custom', + label: '创建者', + field: 'creator', + table: { + width: 130 + }, + isForm: false, + isTable: true }, { label: '创建时间', @@ -166,7 +188,7 @@ export const CountConfig = useCrudSchemas(reactive([ field: 'action', isForm: false, table: { - width: 150, + fixed: 'right' } }