Handy_Cao 2 年之前
父节点
当前提交
9b950c0242

+ 1 - 1
src/packages/mobile/views/bank/wallet/components/deposit/Index.vue

@@ -16,7 +16,7 @@
                 </template>
             </CellGroup>
         </Form>
-        <div class="g-form__bank" v-else>
+        <div class="g-form__bank" v-if="cusBank.caninamount === 0">
             <span>{{ msg }}</span>
         </div>
         <div class="g-form__time">

+ 1 - 1
src/packages/mobile/views/bank/wallet/components/withdraw/Index.vue

@@ -30,7 +30,7 @@
                 </template>
             </CellGroup>
         </Form>
-        <div class="g-form__bank" v-else>
+        <div class="g-form__bank" v-if="cusBank.canoutamount === 0">
             <span>{{ msg }}</span>
         </div>
         <div class="g-form__time">

+ 12 - 14
src/packages/pc/components/layouts/header/components/report/index.vue

@@ -106,6 +106,18 @@ const reloadData = () => {
                 mtaaccounts.value = res.data
             }
         })
+    } else {
+        /// 报表 - 交易商结算单 - 资金信息(日)
+        queryReportReckonDayTaaccount({
+            data: {
+                reckondate: cycletime.value,
+            }
+        }).then(res => {
+            /// 查询成功
+            if (res.data.length) {
+                dtaaccounts.value = res.data
+            }
+        })
     }
 
     /// 报表 - 交易商结算单 - 持仓汇总
@@ -121,20 +133,6 @@ const reloadData = () => {
         }
     })
 
-    if (reporttype.value === 1) {
-        /// 报表 - 交易商结算单 - 资金信息(日)
-        queryReportReckonDayTaaccount({
-            data: {
-                reckondate: cycletime.value,
-            }
-        }).then(res => {
-            /// 查询成功
-            if (res.data.length) {
-                dtaaccounts.value = res.data
-            }
-        })
-    }
-
     /// 报表 - 交易商结算单 - 成交明细
     queryReportTradeDetail({
         data: {

+ 2 - 2
src/packages/pc/views/footer/capital/summary/deposit/index.vue

@@ -1,7 +1,7 @@
 <!-- 资金信息-资金汇总-充值 -->
 <template>
     <app-drawer title="充值" :width="500" v-model:show="show" :loading="loading" :refresh="refresh">
-        <el-form ref="formRef" v-if="cusBank.caninamount === 1" class="el-form--vertical" label-width="100px" :model="formData"
+        <el-form ref="formRef" v-if="cusBank.caninamount === 1" class="el-form--vertical" label-width="120px" :model="formData"
             :rules="formRules">
             <el-form-item prop="Amount" label="充值金额">
                 <el-input-number placeholder="请输入" :max="9999999999" :precision="2" v-model="formData.Amount"
@@ -16,7 +16,7 @@
                 </el-form-item>
             </template>
         </el-form>
-        <span v-else>{{ msg }}</span>
+        <span v-if="cusBank.caninamount === 0">{{ msg }}</span>
         <template #footer>
             <el-button type="info" @click="onCancel(false)">取消</el-button>
             <el-button type="primary" @click="formSubmit">提交</el-button>

+ 2 - 2
src/packages/pc/views/footer/capital/summary/withdraw/index.vue

@@ -1,7 +1,7 @@
 <!-- 资金信息-资金汇总-出金申请 -->
 <template>
     <app-drawer title="提现申请" :width="500" v-model:show="show" :loading="loading" :refresh="refresh">
-        <el-form ref="formRef" v-if="cusBank.canoutamount === 1" class="el-form--vertical" label-width="100px" :model="formData" :rules="formRules">
+        <el-form ref="formRef" v-if="cusBank.canoutamount === 1" class="el-form--vertical" label-width="120px" :model="formData" :rules="formRules">
             <el-form-item label="资金账号">
                 <span>{{ accountStore.currentAccountId }}</span>
             </el-form-item>
@@ -21,7 +21,7 @@
                 <el-input type="textarea" :maxlength="50" :rows="3" v-model="formData.Remark" />
             </el-form-item>
             </el-form>
-        <span v-else>{{ msg }}</span>
+        <span v-if="cusBank.canoutamount === 0">{{ msg }}</span>
         <template #footer>
             <el-button type="info" @click="onCancel(false)">取消</el-button>
             <el-button type="primary" @click="formSubmit">提交</el-button>