From bb36759c80f9c31e26ea5a41ab43cd36c127fc50 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 25 八月 2026 17:08:14 +0800
Subject: [PATCH] 新疆-新聚 1.小数点修改
---
src/views/productionManagement/productStructure/Detail/index.vue | 6 +++---
src/views/productionManagement/productStructure/DetailNew/MaterialCard.vue | 2 +-
src/views/productionManagement/productStructure/DetailNew/index.vue | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/productionManagement/productStructure/Detail/index.vue b/src/views/productionManagement/productStructure/Detail/index.vue
index dba448a..b872b1c 100644
--- a/src/views/productionManagement/productStructure/Detail/index.vue
+++ b/src/views/productionManagement/productStructure/Detail/index.vue
@@ -82,7 +82,7 @@
style="margin: 0">
<el-input-number v-model="row.unitQuantity"
:min="0"
- :precision="2"
+ :precision="4"
:step="1"
controls-position="right"
style="width: 100%"
@@ -100,7 +100,7 @@
style="margin: 0">
<el-input-number v-model="row.demandedQuantity"
:min="0"
- :precision="2"
+ :precision="4"
:step="1"
controls-position="right"
style="width: 100%"
@@ -274,7 +274,7 @@
if (!Number.isFinite(numberValue)) {
return 0;
}
- return Number(numberValue.toFixed(2));
+ return Number(numberValue.toFixed(4));
};
const syncDemandedQuantityTree = (
diff --git a/src/views/productionManagement/productStructure/DetailNew/MaterialCard.vue b/src/views/productionManagement/productStructure/DetailNew/MaterialCard.vue
index f0ac5a6..c32419a 100644
--- a/src/views/productionManagement/productStructure/DetailNew/MaterialCard.vue
+++ b/src/views/productionManagement/productStructure/DetailNew/MaterialCard.vue
@@ -82,7 +82,7 @@
<el-form-item label="鏁伴噺" :rules="[{ required: true, message: '璇峰~鍐欐暟閲�' }]" style="margin:0">
<el-input-number v-model="row.unitQuantity"
:min="0"
- :precision="2"
+ :precision="4"
:step="1"
controls-position="right"
style="width:100%"
diff --git a/src/views/productionManagement/productStructure/DetailNew/index.vue b/src/views/productionManagement/productStructure/DetailNew/index.vue
index 050e374..cfc7bba 100644
--- a/src/views/productionManagement/productStructure/DetailNew/index.vue
+++ b/src/views/productionManagement/productStructure/DetailNew/index.vue
@@ -206,7 +206,7 @@
if (!Number.isFinite(numberValue)) {
return 0;
}
- return Number(numberValue.toFixed(2));
+ return Number(numberValue.toFixed(4));
};
const syncDemandedQuantityTree = (
--
Gitblit v1.9.3