From 5c1f97b67c9ea4a6069374b18881a66cb751440c Mon Sep 17 00:00:00 2001 From: "YEJIAXING-PC\\lenovo" <591141169@qq.com> Date: Fri, 20 Jun 2025 15:08:09 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E3=80=8A=E7=9B=98=E7=82=B9=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=A1=A8=E3=80=8B=E6=96=B0=E5=A2=9E=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=A6=82=E6=9E=9C=E9=80=89=E6=8B=A9=E7=9A=84=E5=93=81=E7=95=AA?= =?UTF-8?q?=E5=9C=A8=E3=80=8A=E5=8D=95=E4=BD=8D=E8=BD=AC=E6=8D=A2=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E3=80=8B=E4=B8=AD=EF=BC=8C=E7=BB=B4=E6=8A=A4=E4=BA=86?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E7=8E=87=EF=BC=8C=E5=88=99=E5=B8=A6=E5=87=BA?= =?UTF-8?q?=E8=AF=A5=E8=BD=AC=E6=8D=A2=E7=8E=87=EF=BC=9B=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E6=9C=AA=E7=BB=B4=E6=8A=A4=E8=BD=AC=E6=8D=A2=E7=8E=87=E5=88=99?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E4=B8=BA1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stdcostprice/stdcostprice.data.ts | 26 ++-- .../count/countConfig/countConfig.data.ts | 3 +- .../countManage/count/countConfig/index.vue | 136 +++++++++++------- 3 files changed, 97 insertions(+), 68 deletions(-) diff --git a/src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts b/src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts index cc48f1781..861ca38fd 100644 --- a/src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts +++ b/src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts @@ -106,19 +106,19 @@ export const Stdcostprice = useCrudSchemas(reactive([ isSearch : true, isTable : true }, - // { - // label: '价格', - // field: 'price', - // sort: 'custom', - // isSearch: true, - // form: { - // component: 'InputNumber', - // componentProps: { - // min: 0, - // precision: 6 - // } - // } - // }, + { + label: '价格', + field: 'price', + sort: 'custom', + isSearch: true, + form: { + component: 'InputNumber', + componentProps: { + min: 0, + precision: 6 + } + } + }, { label: '是否可用', field: 'available', diff --git a/src/views/wms/countManage/count/countConfig/countConfig.data.ts b/src/views/wms/countManage/count/countConfig/countConfig.data.ts index 654455e28..972acaae5 100644 --- a/src/views/wms/countManage/count/countConfig/countConfig.data.ts +++ b/src/views/wms/countManage/count/countConfig/countConfig.data.ts @@ -146,7 +146,8 @@ export const CountConfig = useCrudSchemas(reactive([ component: 'InputNumber', value: 0, componentProps: { - min:0, + disabled: true, + min:1, precision:2 } }, diff --git a/src/views/wms/countManage/count/countConfig/index.vue b/src/views/wms/countManage/count/countConfig/index.vue index 11a8f2d12..ae2f5480d 100644 --- a/src/views/wms/countManage/count/countConfig/index.vue +++ b/src/views/wms/countManage/count/countConfig/index.vue @@ -1,18 +1,22 @@