Handy_Cao 11 maanden geleden
bovenliggende
commit
14ff9841ad

+ 5 - 0
src/business/bank/index.ts

@@ -217,6 +217,11 @@ export function useDoBankSign() {
             if ('legal_name' in extendInfo.value) {
                 extendInfo.value['legal_name'] = extendInfo.value['legal_name'] || useStore.userInfo?.legalpersonname
             }
+            // 修改签约信息的时候 要清空银行数据
+            if (res.data.some(e => e.signstatus === 1)) {
+                formData.OpenBankAccId = ''
+                formData.ExBankName = ''
+            }
         }
     })
 

+ 2 - 0
src/constants/client.ts

@@ -174,6 +174,8 @@ export enum ETradeMode {
     TRADEMODE_TJMD = 46,
     /// 廣陈优品-仓单预售
     TRADEMODE_CDYS = 47,
+    /// 挂牌点价
+    TRADEMODE_PRICING = 52,
     /// 全款商城
     TRADEMODE_MALL = 53,
     /// 千海金-铂金宝

+ 7 - 7
src/packages/mobile/components/modules/quote/price/index.vue

@@ -60,7 +60,7 @@
                             {{ handleNumberValue(quote.highest.toFixed(quote.decimalplace)) }}
                         </span>
                     </li>
-                    <li v-if="quote.trademode != ETradeMode.TRADEMODE_MARKETMAKE && quote.trademode != ETradeMode.TRADEMODE_MALL">
+                    <li v-if="![10, 52, 53].includes(quote.trademode)">
                         <span>{{ $t('quote.limitup') }}</span>
                         <span class="g-price-up">
                             {{ handleNumberValue(quote.limitup.toFixed(quote.decimalplace)) }}
@@ -78,7 +78,7 @@
                             {{ handleNumberValue(quote.lowest.toFixed(quote.decimalplace)) }}
                         </span>
                     </li>
-                    <li v-if="quote.trademode != ETradeMode.TRADEMODE_MARKETMAKE && quote.trademode != ETradeMode.TRADEMODE_MALL">
+                    <li v-if="![10, 52, 53].includes(quote.trademode)">
                         <span>{{ $t('quote.limitdown') }}</span>
                         <span class="g-price-down">
                             {{ handleNumberValue(quote.limitdown.toFixed(quote.decimalplace)) }}
@@ -93,11 +93,11 @@
             </Divider>
             <div class="app-quote-price__more" v-if="quote">
                 <ul v-show="showMore">
-                    <li v-if="quote.trademode != ETradeMode.TRADEMODE_MARKETMAKE && quote.trademode != ETradeMode.TRADEMODE_MALL">
+                    <li v-if="![10, 52, 53].includes(quote.trademode)">
                         <span>{{ $t('quote.bidvolume') }}</span>
                         <span>{{ handleNumberValue(quote.bidvolume) }}</span>
                     </li>
-                    <li v-if="quote.trademode != ETradeMode.TRADEMODE_MARKETMAKE && quote.trademode != ETradeMode.TRADEMODE_MALL">
+                    <li v-if="![10, 52, 53].includes(quote.trademode)">
                         <span>{{ $t('quote.askvolume') }}</span>
                         <span>{{ handleNumberValue(quote.askvolume) }}</span>
                     </li>
@@ -109,7 +109,7 @@
                         <span>{{ $t('quote.ask') }}</span>
                         <span :class="quote.askColor">{{ handleNumberValue(quote.ask.toFixed(quote.decimalplace)) }}</span>
                     </li>
-                    <li v-if="quote.trademode != ETradeMode.TRADEMODE_MARKETMAKE && quote.trademode != ETradeMode.TRADEMODE_MALL">
+                    <li v-if="![10, 52, 53].includes(quote.trademode)">
                         <span>{{ $t('quote.averageprice') }}</span>
                         <span :class="quote.averagepriceColor">{{
                             handleNumberValue(quote.averageprice.toFixed(quote.decimalplace)) }}</span>
@@ -118,11 +118,11 @@
                         <span>{{ $t('quote.amplitude') }}</span>
                         <span>{{ parsePercent(quote.amplitude) }}</span>
                     </li>
-                    <li v-if="quote.trademode != ETradeMode.TRADEMODE_MARKETMAKE && quote.trademode != ETradeMode.TRADEMODE_MALL">
+                    <li v-if="![10, 52, 53].includes(quote.trademode)">
                         <span>{{ $t('quote.totalvolume') }}</span>
                         <span :class="quote.averagepriceColor">{{ changeUnit(quote.totalvolume) }}</span>
                     </li>
-                    <li v-if="quote.trademode != ETradeMode.TRADEMODE_MARKETMAKE && quote.trademode != ETradeMode.TRADEMODE_MALL">
+                    <li v-if="![10, 52, 53].includes(quote.trademode)">
                         <span>{{ $t('quote.totalturnover') }}</span>
                         <span>{{ changeUnit(quote.totalturnover) }}</span>
                     </li>

+ 1 - 1
src/packages/mobile/views/bank/sign/components/edit/Index.vue

@@ -7,7 +7,7 @@
             </template>
             <Form ref="formRef" class="g-form__container" @submit="formSubmit">
                 <CellGroup inset>
-                    <Field :label="$t('banksign.bankchannel')" v-model="cusBankName" name="cusBankName"
+                    <Field :label="$t('banksign.bankchannel')" v-model="cusBankName" :placeholder="$t('banksign.tips16')" name="cusBankName"
                         :rules="formRules.CusBankID" @click-input="showCusBank = true" is-link />
                     <Field name="OpenBankAccId" :label="$t('banksign.bankname')" v-model="formData.ExBankName" readonly
                         v-if="!isedit && userInfo.bankid" />

+ 1 - 0
src/packages/tss/views/bank/sign/components/edit/Index.vue

@@ -7,6 +7,7 @@
             </template>
             <Form ref="formRef" class="g-form__container" @submit="formSubmit">
                 <CellGroup inset>
+                    <span>3333</span>
                     <Field name="OpenBankAccId" :label="$t('banksign.bankname')" v-model="selectedBankName"
                         :placeholder="$t('banksign.Pleaseselectyourbank')" :rules="formRules.OpenBankAccId"
                         @click-input="showSelect = true" readonly is-link />