Browse Source

退款按钮条件判断

natasha 1 month ago
parent
commit
2649e16303
1 changed files with 5 additions and 1 deletions
  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>