ソースを参照

已经退款的不展示按钮

lifanagju_citu 9 ヶ月 前
コミット
ea90467417
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/pay/wallet/rechargeRecord/index.vue

+ 1 - 1
src/views/pay/wallet/rechargeRecord/index.vue

@@ -103,7 +103,7 @@
       />
       <el-table-column label="操作" align="center">
         <template #default="scope">
-          <el-button v-if="scope.row.payStatus" link type="danger" @click="handleRefund(scope.row)">发起退款</el-button>
+          <el-button v-if="scope.row.payStatus && !scope.row.refundStatus" link type="danger" @click="handleRefund(scope.row)">发起退款</el-button>
         </template>
       </el-table-column>
     </el-table>