From a305a0d7aa39adb735eee56bb0a695f817bd7f4b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 24 九月 2026 14:53:15 +0800
Subject: [PATCH] 天津-智科电子 1.协同办公-协同审批:待审批节点,第三人账号不可进行修改 2.营销管理-销售台账:勾选单个导出会出现整个导出的情况,但只能显示父项、不能显示子项 3.营销管理-销售台账:点击下拉没有价格,点击详情有价格
---
src/views/productionManagement/processRoute/processRouteItem/index.vue | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/views/productionManagement/processRoute/processRouteItem/index.vue b/src/views/productionManagement/processRoute/processRouteItem/index.vue
index 3c52410..0f54aef 100644
--- a/src/views/productionManagement/processRoute/processRouteItem/index.vue
+++ b/src/views/productionManagement/processRoute/processRouteItem/index.vue
@@ -47,14 +47,14 @@
<span class="info-value">{{ routeInfo.quantity || '-' }}</span>
</div>
</div>
- <div class="info-item">
- <div class="info-label-wrapper">
- <span class="info-label">澶囨敞</span>
- </div>
- <div class="info-value-wrapper">
- <span class="info-value">{{ routeInfo.description }}</span>
- </div>
- </div>
+<!-- <div class="info-item">-->
+<!-- <div class="info-label-wrapper">-->
+<!-- <span class="info-label">澶囨敞</span>-->
+<!-- </div>-->
+<!-- <div class="info-value-wrapper">-->
+<!-- <span class="info-value">{{ routeInfo.description }}</span>-->
+<!-- </div>-->
+<!-- </div>-->
</div>
</el-card>
<!-- 闄勪欢妯″潡 -->
@@ -340,7 +340,7 @@
style="margin: 0">
<el-input-number v-model="row.unitQuantity"
:min="0"
- :precision="2"
+ :precision="8"
:step="1"
controls-position="right"
style="width: 100%"
@@ -1198,19 +1198,19 @@
});
};
- const toQuantityNumber = value => {
+ const toQuantityNumber = (value, scale = 2) => {
const numberValue = Number(value);
if (!Number.isFinite(numberValue)) {
return 0;
}
- return Number(numberValue.toFixed(2));
+ return Number(numberValue.toFixed(scale));
};
const syncDemandedQuantityTree = (items, parentDemandedQuantity = null) => {
items.forEach(item => {
if (parentDemandedQuantity !== null) {
item.demandedQuantity = toQuantityNumber(
- parentDemandedQuantity * toQuantityNumber(item.unitQuantity)
+ parentDemandedQuantity * toQuantityNumber(item.unitQuantity, 8)
);
}
--
Gitblit v1.9.3