浏览代码

退款按钮显示判断

natasha 1 周之前
父节点
当前提交
dfe8ad6ace
共有 1 个文件被更改,包括 1 次插入9 次删除
  1. 1 9
      src/views/personalCenter/components/OrderList.vue

+ 1 - 9
src/views/personalCenter/components/OrderList.vue

@@ -144,15 +144,7 @@
       </el-table-column>
       <el-table-column prop="status" label="操作" width="100" fixed="right">
         <template slot-scope="scope">
-          <template
-            v-if="
-              scope.row.order_status === 1 &&
-              scope.row.is_use_discount_code === 'false' &&
-              (scope.row.is_has_refund_apply === 'false' ||
-                (scope.row.is_has_refund_apply === 'true' &&
-                  scope.row.refund_apply_status === 1))
-            "
-          >
+          <template v-if="scope.row.is_can_submit_refund_apply === 'true'">
             <a class="apply" @click="handleApply(scope.row, scope.$index)"
               >申请退款</a
             >