Explorar o código

退款按钮显示判断

natasha hai 1 semana
pai
achega
dfe8ad6ace
Modificáronse 1 ficheiros con 1 adicións e 9 borrados
  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
             >