From b6a04be0a4cbf5d5a44006a09b83f52a71dfce27 Mon Sep 17 00:00:00 2001
From: haoyahui <2032914783@qq.com>
Date: 星期五, 17 十一月 2023 10:19:48 +0800
Subject: [PATCH] 部门管理,仓库管理库管员,库存管理

---
 admin-web/src/views/stock/procure/purchaseOrder/detail.vue |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/admin-web/src/views/stock/procure/purchaseOrder/detail.vue b/admin-web/src/views/stock/procure/purchaseOrder/detail.vue
index b5bf873..4dc2ce5 100644
--- a/admin-web/src/views/stock/procure/purchaseOrder/detail.vue
+++ b/admin-web/src/views/stock/procure/purchaseOrder/detail.vue
@@ -70,7 +70,7 @@
         </el-table-column>
         <el-table-column prop="price" label="鍗曚环" align="center">
           <template slot-scope="scope">
-            {{ scope.row.price }}
+            {{ scope.row.price | formatPrice }}
           </template>
         </el-table-column>
         <el-table-column prop="counts" label="鍏ュ簱鏁伴噺" align="center">
@@ -80,7 +80,7 @@
         </el-table-column>
         <el-table-column prop="counts" label="閲戦" align="center">
           <template slot-scope="scope">
-            {{ (scope.row.price * scope.row.counts).toFixed(2) }}
+            {{ scope.row.price * scope.row.counts  | formatPrice}}
           </template>
         </el-table-column>
       </el-table>
@@ -140,6 +140,9 @@
       if (!time) return '-';
       return DateFormatter.LongToDateTime(time);
     },
+    formatPrice(price) {
+      return price / 100
+    }
   },
   created() {
     procureDetail({ id: this.setting.id }).then((res) => {
@@ -203,10 +206,4 @@
 </script>
 <style lang="scss" scoped>
 @import url(../../index.scss);
-.el-dialog {
-  z-index: 1100 !important;
-}
->>> .el-dialog {
-  z-index: 1100 !important;
-}
 </style>

--
Gitblit v1.9.1