瀏覽代碼

预售详情问题

@dongkboy 2 年之前
父節點
當前提交
6122dd8c21
共有 1 個文件被更改,包括 7 次插入6 次删除
  1. 7 6
      src/views/Letter/Wallet/AmountManagement.vue

+ 7 - 6
src/views/Letter/Wallet/AmountManagement.vue

@@ -136,9 +136,9 @@
         </template>
         <el-table-column label="操作" align="center" width="200" fixed="right">
           <template slot-scope="scope">
-            <el-button v-if="[0, 1].includes(formQuery.auditingStatus) && ['1', '2'].includes(formQuery.amountStatus)"
+            <el-button v-if="[0, 1].includes(formQuery.auditingStatus) && [1, 2].includes(formQuery.amountStatus)"
               size="small" type="primary" @click="OrderDetails(scope.$index, scope.row)">详情</el-button>
-            <el-button size="small" type="primary" @click="regularDetails(scope.$index, scope.row)">详情</el-button>
+            <el-button v-else size="small" type="primary" @click="regularDetails(scope.$index, scope.row)">详情</el-button>
           </template>
         </el-table-column>
       </el-table>
@@ -406,7 +406,7 @@ export default {
   },
   // 方法函数
   methods: {
-    instantWithdrawal(){
+    instantWithdrawal() {
       this.$api.letter.getUserBankList({
         auditStatus: '1',
       }).then((res) => {
@@ -426,7 +426,7 @@ export default {
           } else {
             this.bankCardInfo = res.data[0]
           }
-          this.withdrawalVisible=true;
+          this.withdrawalVisible = true;
         } else {
           this.$message({
             type: 'error',
@@ -436,7 +436,7 @@ export default {
       });
     },
     allwithdrawal() {
-      this.extract =parseFloat(this.MoneyData[this.accountBalance]);
+      this.extract = parseFloat(this.MoneyData[this.accountBalance]);
       this.checkMoney();
     },
     withdrawalRequest() {
@@ -463,7 +463,6 @@ export default {
       });
     },
     suminput(e) {
-      console.log(e)
       if (e) {
         this.extract = e;
         this.checkMoney();
@@ -502,6 +501,7 @@ export default {
       this.bankCardInfo = data;
     },
     regularDetails(index, row) {
+      // console.log(this.formQuery.auditingStatus, this.formQuery.amountStatus)
       if (this.formQuery.amountStatus == "3" && [1, 2].includes(this.searchType)) {
         this.$api.letter.getSubOrderDetails(row.id).then((res) => {
           if (res.code == '200') {
@@ -523,6 +523,7 @@ export default {
 
     },
     OrderDetails(index, row) {
+      // console.log(this.formQuery.auditingStatus, this.formQuery.amountStatus)
       for (let i = 0; i < this.global.insureList.length; i++) {
         this.global.insureList[i].coveragePremium = "";
         this.global.insureList[i].amount = 0;