From 55e1ca6bccbee868b10fa9096f2f56704928461c Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 28 四月 2023 15:07:22 +0800
Subject: [PATCH] 1.提交

---
 src/views/kb/cgdd.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/kb/cgdd.vue b/src/views/kb/cgdd.vue
index 7f9905b..6450be2 100644
--- a/src/views/kb/cgdd.vue
+++ b/src/views/kb/cgdd.vue
@@ -137,7 +137,8 @@
                     width="114"
                   >
                     <template slot-scope="{row}">
-                      <div v-if="row.quantity1">{{ parseFloat(row.quantity1) }}</div>
+                      <!--                      <div v-if="row.quantity">{{ Math.floor(row.quantity*0.67) }}</div>-->
+                      <div v-if="row.quantity">{{ Math.round( row.quantity*0.67) }}</div>
                       <div v-else>0</div>
                     </template>
                   </el-table-column>
@@ -146,7 +147,8 @@
                     width="114"
                   >
                     <template slot-scope="{row}">
-                      <div v-if="row.quantity- row.quantity1">{{ parseFloat(row.quantity - row.quantity1) }}</div>
+                      <!--                      <div v-if="row.quantity- row.quantity1">{{ parseFloat(row.quantity - row.quantity1) }}</div>-->
+                      <div v-if="row.quantity">{{ Math.ceil(row.quantity*0.33) }}</div>
                       <div v-else>0</div>
                     </template>
                   </el-table-column>

--
Gitblit v1.9.3