|
@@ -149,8 +149,8 @@
|
|
|
<span><b>下单时间</b>:{{ order.createTime }}</span>
|
|
|
<span><b>商户</b>:{{ order.companyWechatName || '无' }}</span>
|
|
|
<span><b>网点</b>:{{ order.websitName || '无' }}</span>
|
|
|
- <el-tag>{{order.saleType | saleTypeFilter}}</el-tag>
|
|
|
- <el-tag>{{order.payType}}</el-tag>
|
|
|
+ <el-tag>{{ {1: '商城销售', 2: '线下销售',}[order.saleType] }}</el-tag>
|
|
|
+ <el-tag :type="order.payTypeId == 'WECHAT' ? 'success' : ''">{{order.payType}}</el-tag>
|
|
|
<div class="fr">
|
|
|
<el-link type="primary" v-if="$restrict('orderNote')" :underline="false" @click="showRemark(order)">订单备注</el-link>
|
|
|
<el-link type="primary" v-if="$restrict('detail')" :underline="false" @click="queryDetail(order.orderId)">查看详情</el-link>
|
|
@@ -662,16 +662,6 @@ export default {
|
|
|
components: {
|
|
|
printPreview
|
|
|
},
|
|
|
-
|
|
|
- filters: {
|
|
|
- saleTypeFilter(val) {
|
|
|
- const MAP = {
|
|
|
- 1: '商城销售',
|
|
|
- 2: '线下销售',
|
|
|
- }
|
|
|
- return MAP[val];
|
|
|
- }
|
|
|
- },
|
|
|
|
|
|
data() {
|
|
|
return {
|