Handy_Cao 1 ano atrás
pai
commit
7f9f3c1d7a

+ 2 - 1
public/locales/en-US.json

@@ -862,7 +862,8 @@
             "matchusername": "MatchUserName",
             "deliverytime": "DeliveryTime",
             "xgoodscode": "Code/Name",
-            "deliveryid": "DeliveryId"
+            "deliveryid": "DeliveryId",
+            "orderedqty": "OrderedQty"
         },
         "offline": {
             "title": "Offline",

+ 2 - 1
public/locales/th-TH.json

@@ -866,7 +866,8 @@
             "matchusername": "ผู้ส่ง",
             "deliverytime": "เวลาของโปรแกรม",
             "xgoodscode": "สัญญา",
-            "deliveryid": "หมายเลขใบเรียกเก็บเงิน"
+            "deliveryid": "หมายเลขใบเรียกเก็บเงิน",
+            "orderedqty": "จำนวนจุด"
         },
         "offline": {
             "title": "รายการออนไลน์",

+ 2 - 1
public/locales/zh-CN.json

@@ -866,7 +866,8 @@
             "matchusername": "发货方",
             "deliverytime": "申请时间",
             "xgoodscode": "交收合约",
-            "deliveryid": "交收单号"
+            "deliveryid": "交收单号",
+            "orderedqty": "已点数量"
         },
         "offline": {
             "title": "线下交收单",

+ 10 - 7
src/packages/pc/views/footer/goods/position/components/delivery16/index.vue

@@ -3,25 +3,25 @@
     <Delivery v-bind="{ goodsId: selectedRow.goodsid, total: selectedRow.enableqty }">
         <template #header="{ qtyStep, goodunit }">
             <span>{{ selectedRow.goodsname }}</span>
-            <span>持仓量:{{ selectedRow.curpositionqty }}</span>
-            <span>可用量:{{ selectedRow.enableqty }}</span>
-            <span>可交收数量:{{ (selectedRow.enableqty * qtyStep) + goodunit }}</span>
+            <span>{{ t('quote.holdvolume') }}:{{ selectedRow.curpositionqty }}</span>
+            <span>{{ t('quote.spot.enableqty') }}:{{ selectedRow.enableqty }}</span>
+            <span>{{ t('delivery.online.enableQty') }}:{{ (selectedRow.enableqty * qtyStep) + goodunit }}</span>
         </template>
         <template #footer="{ qty, qtyStep, discount, goodunit }">
             <ul>
                 <li>
-                    <span :class="selectedRow.lastColor">现价:{{ selectedRow.lastprice }}</span>
+                    <span :class="selectedRow.lastColor">{{ t('position.pricing.lastprice') }}:{{ selectedRow.lastprice }}</span>
                 </li>
                 <li>
-                    <span>所需合约量:{{ qty / qtyStep }}</span>
+                    <span>{{ t('delivery.online.needqty') }}:{{ qty / qtyStep }}</span>
                 </li>
             </ul>
             <ul>
                 <li>
-                    <span>升贴水:{{ discount.toFixed(2) }}</span>
+                    <span>{{ t('delivery.online.pricemove') }}:{{ discount.toFixed(2) }}</span>
                 </li>
                 <li>
-                    <span>已点数量:{{ qty + goodunit }}</span>
+                    <span>{{ t('delivery.online.orderedqty') }}:{{ qty + goodunit }}</span>
                 </li>
             </ul>
         </template>
@@ -31,6 +31,9 @@
 <script lang="ts" setup>
 import { PropType } from 'vue'
 import Delivery from '@pc/components/modules/delivery/index.vue'
+import { i18n } from "@/stores"
+
+const { t } = i18n.global
 
 defineProps({
     selectedRow: {

+ 8 - 5
src/packages/pc/views/footer/presell/transferposition/delivery/index.vue

@@ -3,17 +3,17 @@
     <Delivery v-bind="{ goodsId: selectedRow.goodsid, total: enableqty }">
         <template #header="{ qtyStep, goodunit }">
             <span>{{ selectedRow.goodscode }}/{{ selectedRow.goodsname }}</span>
-            <span>持仓量:{{ selectedRow.buycurpositionqty }}</span>
-            <span>可用量:{{ enableqty }}</span>
-            <span>可交收数量:{{ (enableqty * qtyStep) + goodunit }}</span>
+            <span>{{ t('quote.holdvolume') }}:{{ selectedRow.buycurpositionqty }}</span>
+            <span>{{ t('inout.add.enableqty') }}:{{ enableqty }}</span>
+            <span>{{ t('delivery.online.enableQty') }}:{{ (enableqty * qtyStep) + goodunit }}</span>
         </template>
         <template #footer="{ qty, qtyStep, discount, goodunit }">
             <ul>
                 <li>
-                    <span>升贴水:{{ discount.toFixed(2) }}</span>
+                    <span>{{ t('delivery.online.pricemove') }}:{{ discount.toFixed(2) }}</span>
                 </li>
                 <li>
-                    <span>所需合约量:{{ qty / qtyStep }}</span>
+                    <span>{{ t('delivery.online.needqty') }}:{{ qty / qtyStep }}</span>
                 </li>
             </ul>
             <ul>
@@ -39,6 +39,9 @@
 <script lang="ts" setup>
 import { PropType, computed } from 'vue'
 import Delivery from '@pc/components/modules/delivery/index.vue'
+import { i18n } from "@/stores"
+
+const { t } = i18n.global
 
 const props = defineProps({
     selectedRow: {

+ 5 - 5
src/packages/sbyj/views/account/certification/Index.vue

@@ -27,14 +27,14 @@
                     <template #input>
                         <Image fit="contain" :src="getFileUrl(formData.cardbackphotourl)" width="100" height="100"
                             v-if="isReadonly" />
-                        <app-uploader @success="b_afterRead" />
+                        <app-uploader @success="b_afterRead" v-else />
                     </template>
                 </Field>
                 <Field name="halfbodyphotourl" v-if="showHalfBodyPhoto === '1'" :label="halfBodyPhotoTitle" :rules="formRules.halfbodyphotourl">
                     <template #input>
                         <Image fit="contain" :src="getFileUrl(formData.halfbodyphotourl)" width="100" height="100"
                             v-if="isReadonly" />
-                        <app-uploader @success="h_afterRead" />
+                        <app-uploader @success="h_afterRead" v-else />
                     </template>
                 </Field>
             </CellGroup>
@@ -59,11 +59,11 @@ import { queryTencentUsereSignRecords, requestCheckCardNum } from '@/services/ap
 import { addAuthReq } from '@/business/user/account';
 import { validateRules } from '@/constants/regex';
 import { useUserStore } from '@/stores'
-import AppSelect from '@mobile/components/base/select/index.vue'
-import AppUploader from '@mobile/components/base/uploader/index.vue'
 import { useNavigation } from '@mobile/router/navigation'
 import { getWskhOpenAccountConfigs } from '@/services/api/account'
 import { getUserId, getMemberUserId } from '@/services/methods/user'
+import AppSelect from '@mobile/components/base/select/index.vue'
+import AppUploader from '@mobile/components/base/uploader/index.vue'
 
 const { router } = useNavigation()
 const userStore = useUserStore()
@@ -147,7 +147,7 @@ const formRules: { [key in keyof Model.AddAuthReq]?: FieldRule[] } = {
     }],
     cardbackphotourl: [{
         required: true,
-        message: '请上传证件面照片',
+        message: '请上传证件面照片',
     }],
     cardfrontphotourl: [{
         required: true,