浏览代码

退款按钮条件判断

natasha 1 月之前
父节点
当前提交
2649e16303
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/views/finance_manage/FlowManage.vue

+ 5 - 1
src/views/finance_manage/FlowManage.vue

@@ -418,7 +418,11 @@
                   size="small"
                   class="red-btn"
                   @click.native.prevent="handleRefund(scope.row, scope.$index)"
-                  v-if="scope.row.is_use_discount_code == 'false'"
+                  v-if="
+                    scope.row.is_use_discount_code == 'false' &&
+                    scope.row.is_reservation === 'false' &&
+                    scope.row.is_has_refund_apply === 'false'
+                  "
                 >
                   退款
                 </el-button>