From 3bd642ad4d805032ae43e1fd23e0c4e6b7dfa9f2 Mon Sep 17 00:00:00 2001 From: zhang_12370 <z2864490065@outlook.com> Date: 星期六, 12 七月 2025 11:58:41 +0800 Subject: [PATCH] 1、修改采购管理的匹配逻辑 2、修改生产加工新增生产明细的总数居匹配问题 3、修改配煤计算器 4、修改设备管理领用记录的提交问题 --- src/views/procureMent/components/ProductionDialog.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/procureMent/components/ProductionDialog.vue b/src/views/procureMent/components/ProductionDialog.vue index 0c720bf..e92ddac 100644 --- a/src/views/procureMent/components/ProductionDialog.vue +++ b/src/views/procureMent/components/ProductionDialog.vue @@ -203,7 +203,7 @@ // 1. 鏍规嵁鍚◣鍗曚环鍜岀◣鐜囪绠椾笉鍚◣鍗曚环 // 涓嶅惈绋庡崟浠� = 鍚◣鍗曚环 / (1 + 绋庣巼/100) const priceExcludingTax = priceIncludingTax && taxRate - ? toFixed(priceIncludingTax / (1 + taxRate / 100), 2) + ? parseFloat((priceIncludingTax / (1 + taxRate / 100)).toFixed(2)) : 0; // 2. 璁$畻涓嶅惈绋庢�讳环 = 涓嶅惈绋庡崟浠� 脳 鏁伴噺 @@ -216,8 +216,8 @@ ? toFixed(priceIncludingTax * quantity, 2) : 0; - // 鏇存柊琛ㄥ崟鏁版嵁 - form.value.priceExcludingTax = priceExcludingTax; + // 淇濊瘉鏄剧ず涓轰袱浣嶅皬鏁帮紙濡�88.5鏄剧ず涓�88.50锛� + form.value.priceExcludingTax = priceExcludingTax.toFixed(2); form.value.totalPriceExcludingTax = totalPriceExcludingTax; form.value.totalPriceIncludingTax = totalPriceIncludingTax; }; -- Gitblit v1.9.3