Handy_Cao 1 年之前
父節點
當前提交
befa77a05c

+ 1 - 1
oem/tss/config/appconfig.json

@@ -3,7 +3,7 @@
   "appName": "TCE",
   "appName": "TCE",
   "version": "1.0.25",
   "version": "1.0.25",
   "versionCode": "100025",
   "versionCode": "100025",
-  "apiUrl": "http://192.168.31.204:8080/cfg?key=test_204",
+  "apiUrl": "http://192.168.31.158:16240/cfg?key=dev_104",
   "tradeChannel": "ws",
   "tradeChannel": "ws",
   "showLoginAlert": true,
   "showLoginAlert": true,
   "modules": [
   "modules": [

+ 1 - 0
src/packages/mobile/views/pricing/trade/v2/Index.vue

@@ -334,6 +334,7 @@ const onRadioChange = (value: number) => {
 
 
 onMounted(() => {
 onMounted(() => {
     quote.value = futuresStore.getGoodsQuote(goodsCode.value).value
     quote.value = futuresStore.getGoodsQuote(goodsCode.value).value
+    console.log(quote.value)
     formData.BuyOrSell = BuyOrSell.Buy
     formData.BuyOrSell = BuyOrSell.Buy
     formData.BuildType = BuildType.Open
     formData.BuildType = BuildType.Open
     formData.PriceMode = PriceMode.Market
     formData.PriceMode = PriceMode.Market

+ 2 - 3
src/packages/pc/components/modules/quote/price/index.vue

@@ -6,8 +6,7 @@
             </div>
             </div>
             <div class="block-bottom">
             <div class="block-bottom">
                 <div class="block-bottom-left">
                 <div class="block-bottom-left">
-                    <span :class="quote.lastColor" v-if="[10].includes(quote.trademode)">{{ handleNumberValue(quote.last.toFixed(quote.decimalplace)) }}</span>
-                    <span v-else-if="[53].includes(quote.trademode)" />
+                    <span :class="quote.lastColor" v-if="[10, 53].includes(quote.trademode)">{{ handleNumberValue(formatDecimal(quote.last, quote.decimalplace)) }}</span>
                     <div v-else>
                     <div v-else>
                         <span :class="quote.askColor">{{ handleNumberValue(quote.ask.toFixed(quote.decimalplace)) }}</span>
                         <span :class="quote.askColor">{{ handleNumberValue(quote.ask.toFixed(quote.decimalplace)) }}</span>
                         <span>{{ ' / ' }}</span>
                         <span>{{ ' / ' }}</span>
@@ -80,7 +79,7 @@
 </template>
 </template>
 
 
 <script lang="ts" setup>
 <script lang="ts" setup>
-import { parsePercent, handleNumberValue, changeUnit } from '@/filters'
+import { parsePercent, handleNumberValue, changeUnit, formatDecimal } from '@/filters'
 import { useGlobalStore, useFuturesStore, i18n } from '@/stores'
 import { useGlobalStore, useFuturesStore, i18n } from '@/stores'
 
 
 const props = defineProps({
 const props = defineProps({

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

@@ -1,6 +1,6 @@
 <!-- 资金信息-资金汇总-入金 -->
 <!-- 资金信息-资金汇总-入金 -->
 <template>
 <template>
-    <app-drawer :title="t('banksign.wallet.cashin')" :width="600" v-model:show="show" :loading="loading">
+    <app-drawer :title="t('banksign.wallet.cashin')" :width="700" v-model:show="show" :loading="loading">
         <el-form ref="formRef" v-if="cusBank?.caninamount === 1" class="el-form--vertical" label-width="120px"
         <el-form ref="formRef" v-if="cusBank?.caninamount === 1" class="el-form--vertical" label-width="120px"
             :model="formData" :rules="formRules">
             :model="formData" :rules="formRules">
             <el-form-item prop="Amount" :label="t('banksign.wallet.deposit.inamount')">
             <el-form-item prop="Amount" :label="t('banksign.wallet.deposit.inamount')">

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

@@ -1,6 +1,6 @@
 <!-- 资金信息-资金汇总-出金申请 -->
 <!-- 资金信息-资金汇总-出金申请 -->
 <template>
 <template>
-    <app-drawer :title="t('banksign.wallet.cashout')" :width="600" v-model:show="show" :loading="loading">
+    <app-drawer :title="t('banksign.wallet.cashout')" :width="700" v-model:show="show" :loading="loading">
         <el-form ref="formRef" v-if="cusBank?.canoutamount === 1" class="el-form--vertical" label-width="140px"
         <el-form ref="formRef" v-if="cusBank?.canoutamount === 1" class="el-form--vertical" label-width="140px"
             :model="formData" :rules="formRules">
             :model="formData" :rules="formRules">
             <el-form-item :label="t('banksign.capital.accountid')">
             <el-form-item :label="t('banksign.capital.accountid')">

+ 4 - 1
src/packages/tss/views/product/list/components/waterfall-list/index.vue

@@ -9,7 +9,7 @@
                 <div class="goods-info">
                 <div class="goods-info">
                     <div class="goods-info__title">{{ item.goodscode }}</div>
                     <div class="goods-info__title">{{ item.goodscode }}</div>
                     <div class="goods-info__price">
                     <div class="goods-info__price">
-                        <span :class="['integer', item.askColor]">{{ handleNumberValue(formatDecimal(item.ask), item.decimalplace) }}</span>
+                        <span :class="['integer', item.askColor]">{{ handleNumberValue(formatDecimal(item.ask, item.decimalplace)) }}</span>
                     </div>
                     </div>
                 </div>
                 </div>
             </div>
             </div>
@@ -32,9 +32,12 @@ defineProps({
     }
     }
 })
 })
 
 
+
+
 const { router } = useNavigation()
 const { router } = useNavigation()
 
 
 const rowClick = (row: Model.GoodsQuote) => {
 const rowClick = (row: Model.GoodsQuote) => {
+    console.log(row)
     router.push({
     router.push({
         name: 'pricing-trade',
         name: 'pricing-trade',
         query: {
         query: {