From 8cdd0cc43846713bebbc7caa1f5f0fca84e267d6 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期三, 19 三月 2025 14:21:10 +0800 Subject: [PATCH] 优化 --- admin/src/views/business/wxBillDetail.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/admin/src/views/business/wxBillDetail.vue b/admin/src/views/business/wxBillDetail.vue index 2f72f38..8f3bbb4 100644 --- a/admin/src/views/business/wxBillDetail.vue +++ b/admin/src/views/business/wxBillDetail.vue @@ -60,9 +60,14 @@ <span>{{scope.row.total == 0 ? '-' : scope.row.total }}</span> </template> </el-table-column> - <el-table-column prop="bikefee" label="鑷杞︽敹鍏ワ紙鍏冿級" min-width="100px" align="center"> + <el-table-column prop="bikefee" label="楠戣鏀跺叆锛堝厓锛�" min-width="100px" align="center"> <template slot-scope="scope"> <span>{{scope.row.bikeFee == 0 ? '-' : scope.row.bikeFee }}</span> + </template> + </el-table-column> + <el-table-column label="濂楅鏀跺叆(鍏�)" min-width="100px" align="center"> + <template slot-scope="scope"> + <span>{{scope.row.discountFee == 0 ? '-' : scope.row.discountFee }}</span> </template> </el-table-column> <!-- v-if="containPermissions(['business:pricingparam:update', 'business:pricingparam:delete'])" --> @@ -81,7 +86,6 @@ </template> </el-table-column> </el-table> - </template> <BillDetailWindow ref="billDetailWindow"/> </TableLayout> @@ -192,7 +196,6 @@ search () { fetchList(this.searchForm) .then(res => { - console.log(res) this.tableData.list = [ { billType: '浜ゆ槗瀹炴敹', ...res[0], cmmsAmt: (res[0].sumCmmsAmt + res[0].sumRefundCmmsAmt).toFixed(2) }, { billType: '閫�娆�', ...res[1], cmmsAmt: (res[1].sumCmmsAmt + res[1].sumRefundCmmsAmt).toFixed(2) }, @@ -212,7 +215,7 @@ this.search() }, arraySpanMethod ({ row, column, rowIndex, columnIndex }) { - if (rowIndex == 3) { + if (rowIndex === 3) { if (columnIndex === 0) { return [1, 8] } else { -- Gitblit v1.9.3