Handy_Cao 1 年之前
父節點
當前提交
8bf40cfae1

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

@@ -1236,7 +1236,8 @@
             "tips2": "Please agree to the terms of use first",
             "tips3": "Login failed:",
             "tips4": "Offline notification",
-            "tips5": "The account has been logged out"
+            "tips5": "The account has been logged out",
+            "tips6": "Switching language changes require a re-login to take effect!"
         },
         "register": {
             "title": "User Register",

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

@@ -1241,7 +1241,8 @@
             "tips2": "请先同意使用条款",
             "tips3": "登录失败:",
             "tips4": "下线通知",
-            "tips5": "账号已登出"
+            "tips5": "账号已登出",
+            "tips6": "切换语言更改需要重新登录才生效!"
         },
         "register": {
             "title": "用户注册",

+ 1 - 1
src/packages/pc/components/layouts/header/index.vue

@@ -68,7 +68,7 @@ const fullScreen = ref(false)
 const { t } = i18n.global
 
 const changeLuanguage = () => {
-    ElMessageBox.confirm('切换语言更改需要重新登录才生效!', t('common.tips'), { confirmButtonText: t('common.ikonw') }).then(() => {
+    ElMessageBox.confirm(t('user.login.tips6'), t('common.tips'), { confirmButtonText: t('common.ikonw') }).then(() => {
         if (i18n.global.locale === 'zh-CN') {
             i18n.global.locale = 'en-US'
         } else {

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

@@ -51,17 +51,17 @@ const props = defineProps({
 const enableqty = computed(() => props.selectedRow.buycurpositionqty - props.selectedRow.buyfrozenqty)
 
 // 总货款
-const payment = (qty: number) => {
-    return props.selectedRow.presaleprice * qty
-}
+// const payment = (qty: number) => {
+//     return props.selectedRow.presaleprice * qty
+// }
 
 // 已付定金
-const deposit = (qty: number) => {
-    return payment(qty) * props.selectedRow.transferdepositratio
-}
+// const deposit = (qty: number) => {
+//     return payment(qty) * props.selectedRow.transferdepositratio
+// }
 
 // 剩余货款
-const available = (qty: number, discount: number) => {
-    return payment(qty) - deposit(qty) + discount
-}
+// const available = (qty: number, discount: number) => {
+//     return payment(qty) - deposit(qty) + discount
+// }
 </script>