Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
2220482b
Commit
2220482b
authored
Jan 07, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善阶梯价的国际化
parent
4442ed83
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
14 deletions
+36
-14
en_US.json
src/i18n/languages/en_US.json
+19
-10
PriceStep.vue
src/views/ecw/productPrice/components/PriceStep.vue
+17
-4
No files found.
src/i18n/languages/en_US.json
View file @
2220482b
...
...
@@ -3889,7 +3889,7 @@
"公司中文名称"
:
"Chinese name of the company"
,
"展示"
:
"show"
,
"无归属订单"
:
"Unassigned Order"
,
"最多可放入{quantity}"
:
""
,
"最多可放入{quantity}"
:
"
Up to {quantity} can be placed
"
,
"可放入仓方数"
:
"Number of storage units that can be placed"
,
"可放入收费方数"
:
"Number of charging parties that can be placed"
,
"入仓方数"
:
"Number of parties entering the warehouse"
,
...
...
@@ -4426,7 +4426,7 @@
"还有{days}天到期"
:
"Due in {days} days"
,
"请选择客户经理。"
:
"Please select an account manager."
,
"回收客户"
:
"Recycling customers"
,
"是否要回收当前{name}"
:
""
,
"是否要回收当前{name}"
:
"
Do you want to recycle the current {name}
"
,
"回收成功。"
:
"Recycling successful."
,
"已完成目标值"
:
"Target value completed"
,
"请输入目标单位"
:
"Please enter the target unit"
,
...
...
@@ -4523,12 +4523,12 @@
"所属目的国家"
:
"Destination country"
,
" "
:
""
,
"区间设置不完整,将被忽略"
:
"Incomplete interval settings will be ignored"
,
"{n}个全包阶梯价"
:
""
,
"{n}个运费阶梯价"
:
""
,
"{n}个清关费阶梯价"
:
""
,
"已选择{route}条路线,{product}个商品"
:
""
,
"{n}个全包阶梯价"
:
"
{n} All inclusive tiered pricing
"
,
"{n}个运费阶梯价"
:
"
{n} Shipping cost tiered pricing
"
,
"{n}个清关费阶梯价"
:
"
{n} Staircase price for individual customs clearance fees
"
,
"已选择{route}条路线,{product}个商品"
:
"
{route} selected, {product} products
"
,
";确认提交修改?"
:
"; Confirm submitting modifications?"
,
"空运{type}设置"
:
""
,
"空运{type}设置"
:
"
Air freight {type} settings
"
,
"未选择包装类型将被忽略"
:
"No packaging type selected will be ignored"
,
"请输入加价金额"
:
"Please enter the markup amount"
,
"运费快捷加价"
:
"Quick freight markup"
,
...
...
@@ -4537,7 +4537,7 @@
"提交清关费"
:
"Submit customs clearance fee"
,
"全包价快捷加价"
:
"Quick and all inclusive price increase"
,
"提交全包价"
:
"Submit full package price"
,
"第{no}阶段"
:
""
,
"第{no}阶段"
:
"
Stage {no}
"
,
"线路重量上限"
:
"Upper limit of line weight"
,
"包含"
:
"contain"
,
"不包含"
:
"Excluding"
,
...
...
@@ -4545,5 +4545,14 @@
"运费+清关费"
:
"Freight+customs clearance fee"
,
"未设置全包价阶梯价"
:
"No fully inclusive tiered pricing has been set"
,
"未设置运费阶梯价"
:
"No freight tiered pricing has been set"
,
"渠道包装清关费"
:
"Channel packaging customs clearance fee"
"渠道包装清关费"
:
"Channel packaging customs clearance fee"
,
"所属国家"
:
"Country"
,
"请输入所属国家"
:
"Please enter your country of origin"
,
"包装加价"
:
"Packaging markup"
,
"海运运费价格设置"
:
"Ocean freight price setting"
,
"海运清关费价格设置"
:
"Price setting for sea freight customs clearance fees"
,
"请设置{priceName}第{index}阶段的起始值"
:
"Please set the starting value for the {index} stage of {priceName}"
,
"请设置{priceName}第{index}阶段的结束值"
:
"Please set the end value for the {index} stage of {priceName}"
,
"请设置第{index}阶段的{priceName}"
:
"Please set the {priceName} for the {index} stage"
,
"请设置第{index}阶段的包装类型{i}的{priceName}"
:
"Please set the {priceName} for the packaging type {i} in the {index} stage"
}
\ No newline at end of file
src/views/ecw/productPrice/components/PriceStep.vue
View file @
2220482b
...
...
@@ -103,20 +103,33 @@ export default {
const
errors
=
[]
// 区间设置检查
if
(
index
>
0
&&
!
this
.
value
.
startNum
){
errors
.
push
(
`请设置
${
this
.
priceName
}
第
${
index
+
1
}
阶段的起始值`
)
errors
.
push
(
this
.
$t
(
"
请设置{priceName}第{index}阶段的起始值
"
,
{
index
:
index
+
1
,
priceName
:
this
.
priceName
}))
}
if
(
!
this
.
value
.
endNum
){
errors
.
push
(
`请设置
${
this
.
priceName
}
第
${
index
+
1
}
阶段的结束值`
)
errors
.
push
(
this
.
$t
(
"
请设置{priceName}第{index}阶段的结束值
"
,
{
index
:
index
+
1
,
priceName
:
this
.
priceName
}))
}
// 价格检查
if
(
!
this
.
validatePrice
(
this
.
value
[
`
${
this
.
fieldPrefix
}
Price`
])){
errors
.
push
(
`请设置第
${
index
+
1
}
阶段的
${
this
.
priceName
}
`
)
errors
.
push
(
this
.
$t
(
"
请设置第{index}阶段的{priceName}
"
,
{
index
:
index
+
1
,
priceName
:
this
.
priceName
}))
}
// 包装价格检查
if
(
this
.
value
.
packagingList
?.
length
){
this
.
value
.
packagingList
.
forEach
((
item
,
i
)
=>
{
if
(
item
.
packagingTypes
?.
length
&&
!
this
.
validatePrice
(
item
.
packagingPrice
)){
errors
.
push
(
`请设置第
${
index
+
1
}
阶段的包装类型
${
i
+
1
}
的
${
this
.
priceName
}
`
)
errors
.
push
(
this
.
$t
(
"
请设置第{index}阶段的包装类型{i}的{priceName}
"
,
{
index
:
index
+
1
,
i
:
i
+
1
,
priceName
:
this
.
priceName
}))
}
})
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment