natasha 1 year ago
parent
commit
8b17de13a6
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/views/personalCenter/components/OrderList.vue

+ 4 - 3
src/views/personalCenter/components/OrderList.vue

@@ -50,7 +50,7 @@
         </el-table-column>
         <el-table-column
             label="兑换码"
-            width="144">
+            width="160">
             <template slot-scope="scope">
                 <template v-if="scope.row.is_use_discount_code=='false'">
                     未使用
@@ -65,7 +65,8 @@
             label="支付金额"
             width="96">
             <template slot-scope="scope">
-                <span>¥{{scope.row.pay_amount | cutMoneyFiter}}</span>
+                <span v-if="scope.row.pay_amount">¥{{scope.row.pay_amount | cutMoneyFiter}}</span>
+                <span v-else>-</span>
             </template>
         </el-table-column>
         <el-table-column
@@ -150,7 +151,7 @@ export default {
                 textColor:'#EF21DA'
             },
             'refundFail':{
-                text:'退款失败',
+                text:'支付失败',
                 bg:'#F53F3F',
                 textColor:'#F53F3F'
             },