From b04965d39ae30fddc8c79622ad309ba541961d9f Mon Sep 17 00:00:00 2001 From: futian.liu <liufutianyoo@163.com> Date: 星期四, 07 十二月 2023 14:53:12 +0800 Subject: [PATCH] 出库单金额处理 --- admin-web/src/views/stock/accessStock/outbound/detail.vue | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/admin-web/src/views/stock/accessStock/outbound/detail.vue b/admin-web/src/views/stock/accessStock/outbound/detail.vue index 9b49569..d09af1a 100644 --- a/admin-web/src/views/stock/accessStock/outbound/detail.vue +++ b/admin-web/src/views/stock/accessStock/outbound/detail.vue @@ -59,9 +59,9 @@ {{ scope.row.counts }} </template> </el-table-column> - <el-table-column prop="counts" label="閲戦" align="center"> + <el-table-column prop="totalAmount" label="閲戦" align="center"> <template slot-scope="scope"> - {{ scope.row.price * scope.row.counts | formatPrice}} + {{ scope.row.totalAmount}} </template> </el-table-column> </el-table> @@ -71,7 +71,7 @@ <img v-if="checkImg(src.name)" class="v-img" - :src="src.url" + :src="getUrl(src.path)" :alt="src.name" style="width: 100px; height: 100px" /> @@ -118,9 +118,6 @@ formatTime(time) { if (!time) return; return DateFormatter.LongToDateTime(time); - }, - formatPrice(price) { - return price / 100 } }, created() { -- Gitblit v1.9.1