wenliming před 3 roky
rodič
revize
9bb9763602

+ 2 - 2
src/view/components/give-dialog.vue

@@ -146,7 +146,7 @@
                                             "
                                         />
                                     </div>
-                                    <div class="top-up" @click="goTopUp">Top UP</div>
+                                    <div v-if="currentCurrencyInfo.currencyCode != 'USD'" class="top-up" @click="goTopUp">Top UP</div>
                                 </div>
                                 <div class="msg">
                                     Recommend quantity 100~10000
@@ -878,7 +878,7 @@ const setIsEmptyTxt = () => {
  */
 const onIptSetErrorTxt = (params) => {
     let {from, type,} = params;
-    if(baseFormData.amountValue < currentCurrencyInfo.value.balance) {
+    if(+baseFormData.amountValue < +currentCurrencyInfo.value.balance) {
         let res = calcIptValue();
         if (!res.flag) {
             iptErrMsgTxt.value = `Please reduce the 'winners' amount to ${res.count}`;

+ 2 - 2
src/view/components/options-transactions.vue

@@ -79,7 +79,7 @@
                         </div>
                         <div class="right">
                             <div class="msg">
-                                <!-- 提现 -->
+                                <!-- 支出--提现 -->
                                 <template v-if="item.bizType == -1">
                                     <!-- 提现状态(0:已申请,1:支付中,2:提现成功,3:提现失败) -->
                                     <template v-if="item.bizData.withdrawStatus == 1">
@@ -117,7 +117,7 @@
                                 </template>
                                 <!-- 收入 -->
                                 <template v-else>
-                                    {{ item.trxAmountValue || 0 }}
+                                    <template v-if="item.bizType == -2">-</template>{{ item.trxAmountValue || 0 }}
                                     <span>{{ item.trxAmountCurrencyInfo.currencyName }}</span>
                                     <img :src="item.trxAmountCurrencyInfo.iconPath" alt="">
                                 </template>