浏览代码

2-24-1-10

cmy 1 年之前
父节点
当前提交
8ecabe1ada
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      src/pages/order/serveOrder/index.vue

+ 14 - 0
src/pages/order/serveOrder/index.vue

@@ -70,6 +70,15 @@
 						<span class="tabBox_pice">{{'¥' + val.pay_price}}</span>
 					</div>
 				</template>
+				<template slot-scope="{ row, index }" slot="pay_type">
+					<div class="tabBox" v-for="(val, i) in row.info" :key="i">
+						<span class="tabBox_pice" v-if="val.pay_type=='yue'">余额</span>
+						<span class="tabBox_pice" v-if="val.pay_type=='cash'">现金</span>
+						<span class="tabBox_pice" v-if="val.pay_type=='weixin'">微信</span>
+						<span class="tabBox_pice" v-if="val.pay_type=='alipay'">支付宝</span>
+						<span class="tabBox_pice" v-if="val.pay_type=='offline'">线下</span>
+					</div>
+				</template>
 				<template slot-scope="{ row, index }" slot="pay_price">
 					<span class="tabBox_pice">{{'¥' + showPrice(row.info)}}</span>
 				</template>
@@ -168,6 +177,11 @@
 						slot: 'pay_price',
 						minWidth: 70,
 					},
+					{
+						title: '支付方式',
+						slot: 'pay_type',
+						minWidth: 70,
+					},
 					{
 						title: '下单时间',
 						slot: 'add_time',