From 8785160bffd6f30b28b3a8f294e7843c18dc2f83 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期五, 12 七月 2024 14:00:56 +0800
Subject: [PATCH] 提交面积计算方式
---
north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue b/north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue
index 16c04c6..76bd066 100644
--- a/north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue
+++ b/north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue
@@ -985,14 +985,14 @@
const area = parseFloat((row.width * row.height/1000000).toFixed(2))
let areaSum = 0
switch (titleUploadData.value.calculateType){
- case 1:{
- areaSum = parseFloat((area * row.quantity).toFixed(2))
- break
- }
case 2:{
areaSum = parseFloat((row.width * row.height * row.quantity/1000000).toFixed(2))
break
}
+ default :{
+ areaSum = parseFloat((area * row.quantity).toFixed(2))
+ break
+ }
}
return areaSum
}
--
Gitblit v1.8.0