Handy_Cao 1 рік тому
батько
коміт
591c92969d

+ 1 - 1
src/packages/mobile/components/modules/performance/list/index.vue

@@ -2,7 +2,7 @@
     <app-modal direction="right-top" height="100%" width="100%" v-model:show="showModal">
         <app-view class="app-performance">
             <template #header>
-                <app-navbar title="履约模板" @back="showModal = false" />
+                <app-navbar :title="$t('quote.spot.performancetemplate')" @back="showModal = false" />
             </template>
             <RadioGroup v-model="checkedRow" @change="onChange">
                 <CellGroup v-for="(item, index) in dataList" :key="index" inset>

+ 8 - 8
src/packages/mobile/views/goods/detail/components/listing/Index.vue

@@ -37,18 +37,18 @@
                         </template>
                     </Field>
                     <template v-if="direction === BuyOrSell.Buy || quote?.tradeproperty !== 2">
-                        <Field :label="$t('quote.goods.enableQty')">
+                        <Field :label="$t('quote.enableQty')">
                             <template #input>
                                 <span>{{ total.enableQty }}</span>
                             </template>
                         </Field>
-                        <Field :label="$t('quote.goods.deposit')">
+                        <Field :label="$t('quote.deposit')">
                             <template #input>
                                 <span>{{ total.deposit.toFixed(2) }}</span>
                             </template>
                         </Field>
                     </template>
-                    <Field :label="$t('quote.goods.avaiableMoney')">
+                    <Field :label="$t('quote.avaiableMoney')">
                         <template #input>
                             <span>{{ accountStore.currentAccount.avaiableMoney?.toFixed(2) }}</span>
                         </template>
@@ -59,22 +59,22 @@
                 <div class="g-form__footer">
                     <template v-if="direction === BuyOrSell.Buy">
                         <Button type="danger" block square :disabled="!formData.OrderQty"
-                            @click="onBeforeSubmit(EBuildType.BUILDTYPE_OPEN)" v-if="!quote?.iscannotbuy">{{ $t('quote.goods.orderbuy') }}</Button>
+                            @click="onBeforeSubmit(EBuildType.BUILDTYPE_OPEN)" v-if="!quote?.iscannotbuy">{{ $t('quote.orderbuy') }}</Button>
                         <Button color="#199e00" block square
                             :disabled="!formData.OrderQty || !sellQty || (formData.OrderQty > sellQty)"
                             @click="onBeforeSubmit(EBuildType.BUILDTYPE_CLOSE)" v-if="!isTrademode16">
-                            <span>{{ $t('quote.goods.transferbuy') }}</span>
+                            <span>{{ $t('quote.transferbuy') }}</span>
                             <span v-if="sellQty">(≤{{ sellQty }})</span>
                         </Button>
                     </template>
                     <template v-if="direction === BuyOrSell.Sell">
                         <Button type="danger" block square :disabled="!formData.OrderQty"
                             @click="onBeforeSubmit(EBuildType.BUILDTYPE_OPEN)"
-                            v-if="!isTrademode16 && !quote?.iscannotsell">{{ $t('quote.goods.ordersell') }}</Button>
+                            v-if="!isTrademode16 && !quote?.iscannotsell">{{ $t('quote.ordersell') }}</Button>
                         <Button color="#199e00" block square
                             :disabled="!formData.OrderQty || !buyQty || (formData.OrderQty > buyQty)"
                             @click="onBeforeSubmit(EBuildType.BUILDTYPE_CLOSE)">
-                            <span>{{ $t('quote.goods.transfersell') }}</span>
+                            <span>{{ $t('quote.transfersell') }}</span>
                             <span v-if="buyQty">(≤{{ buyQty }})</span>
                         </Button>
                     </template>
@@ -135,7 +135,7 @@ const total = computed(() => {
         enableQty: 0,
         deposit: 0
     }
-    
+
     const fixed = agreeunit * marketmarginvalue
     const ratio = fixed * (formData.OrderPrice ?? 0)