From 75aaca3a95314be8c384df18dba23c661dea742c Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期一, 27 十一月 2023 19:05:38 +0800 Subject: [PATCH] feat: --- admin-web/src/views/stock/procure/purchaseOrder/detail.vue | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 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..480d5fc 100644 --- a/admin-web/src/views/stock/procure/purchaseOrder/detail.vue +++ b/admin-web/src/views/stock/procure/purchaseOrder/detail.vue @@ -1,5 +1,5 @@ <template> - <win-md class="stock-detail" :title="setting.title" @close="close" :width="'800px'"> + <win-md class="stock-detail" :title="setting.title" @close="close" :width="'800px'" :loading="loading"> <el-row :gutter="20"> <el-col :span="8"> <span>鍏ュ簱鍗曞彿锛�</span> @@ -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> @@ -119,6 +119,7 @@ }, data() { return { + loading:true, fileList: [], detail: { baseCategoryName: '', @@ -140,9 +141,13 @@ if (!time) return '-'; return DateFormatter.LongToDateTime(time); }, + formatPrice(price) { + return price / 100 + } }, created() { procureDetail({ id: this.setting.id }).then((res) => { + this.loading = false this.detail = res; this.fileList = this.detail.procureDoc ? JSON.parse(this.detail.procureDoc) : []; this.$nextTick(() => { @@ -203,10 +208,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