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
b8713594
Commit
b8713594
authored
Jan 04, 2024
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
5210bced
6b1fe58c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
38 deletions
+44
-38
edit.vue
src/views/ecw/productPrice/edit.vue
+6
-1
editAir.vue
src/views/ecw/productPrice/editAir.vue
+7
-2
index.vue
src/views/ecw/productPrice/index.vue
+31
-35
No files found.
src/views/ecw/productPrice/edit.vue
View file @
b8713594
...
...
@@ -561,7 +561,12 @@ export default {
item
[
data
.
field
]
=
data
.
value
if
(
item
.
packagingList
?.
length
){
item
.
packagingList
.
forEach
(
p
=>
{
p
[
data
.
field
]
=
data
.
value
if
(
data
.
field
.
indexOf
(
"
PriceUnit
"
)
>
-
1
){
p
[
'
packagingPriceUnit
'
]
=
data
.
value
}
if
(
data
.
field
.
indexOf
(
"
VolumeUnit
"
)
>
-
1
){
p
[
'
packagingVolumeUnit
'
]
=
data
.
value
}
})
}
if
(
item
.
specialList
?.
length
){
...
...
src/views/ecw/productPrice/editAir.vue
View file @
b8713594
...
...
@@ -527,7 +527,12 @@ export default {
item
[
data
.
field
]
=
data
.
value
if
(
item
.
packagingList
?.
length
){
item
.
packagingList
.
forEach
(
p
=>
{
p
[
data
.
field
]
=
data
.
value
if
(
data
.
field
.
indexOf
(
"
PriceUnit
"
)
>
-
1
){
p
[
'
packagingPriceUnit
'
]
=
data
.
value
}
if
(
data
.
field
.
indexOf
(
"
VolumeUnit
"
)
>
-
1
){
p
[
'
packagingVolumeUnit
'
]
=
data
.
value
}
})
}
if
(
item
.
specialList
?.
length
){
...
...
@@ -584,7 +589,7 @@ export default {
}
else
{
data
.
clearancePriceStepList
=
this
.
getPriceList
(
this
.
form
.
clearancePriceStepList
)
data
.
freightPriceStepList
=
this
.
getPriceList
(
this
.
form
.
freightPriceStepList
)
delete
data
.
f
reight
PriceStepList
delete
data
.
f
ull
PriceStepList
}
// 设置了有效期,且已过期则给提示
...
...
src/views/ecw/productPrice/index.vue
View file @
b8713594
...
...
@@ -167,44 +167,40 @@
<el-table-column
prop=
"price"
:label=
"$t('价格')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.stepPrice == 1 && scope.row.priceStepList && scope.row.priceStepList.length"
>
<template
v-if=
"scope.row.stepPrice == 1"
>
<!--全包价-->
<div
v-if=
"scope.row.priceType"
>
<div
v-if=
"!scope.row.fullPriceStepList || !scope.row.fullPriceStepList.length"
>
{{
$t
(
'
未设置全包价阶梯价
'
)
}}
</div>
<div
v-else
>
{{
$t
(
"
第{no
}
阶梯({start
}
~{end
}
{weightUnit
}
)
"
,
{
no
:
1
,
start
:
scope
.
row
.
p
riceStepList
[
0
].
startNum
,
end
:
scope
.
row
.
p
riceStepList
[
0
].
endNum
,
weightUnit
:
getUnitTitle
(
scope
.
row
.
p
riceStepList
[
0
].
weightUnit
),
start
:
scope
.
row
.
fullP
riceStepList
[
0
].
startNum
,
end
:
scope
.
row
.
fullP
riceStepList
[
0
].
endNum
,
weightUnit
:
getUnitTitle
(
scope
.
row
.
fullP
riceStepList
[
0
].
weightUnit
),
}
)
}}
<
br
/>
<
div
v
-
if
=
"
scope.row.priceType == 0
"
>
{{
$t
(
'
运费
'
)
}}
:{{
getCurrencySymbol
(
scope
.
row
.
priceStepList
[
0
].
transportPriceUnit
)
+
scope
.
row
.
priceStepList
[
0
].
transportPrice
}}
&
nbsp
;
{{
getCurrencyTitle
(
scope
.
row
.
priceStepList
[
0
].
transportPriceUnit
)
+
'
/
'
+
getUnitTitle
(
scope
.
row
.
priceStepList
[
0
].
transportVolumeUnit
)
}}
<
br
/>
<
template
v
-
if
=
"
[3,4].indexOf(+scope.row.warehouseLineDO.transportType) > -1
"
>
<!--
空运的清关费
根据要求隐藏列表的空运清关费
https
:
//zentao.test.jdshangmen.com/bug-view-5298.html
-->
<!--
<
template
v
-
if
=
"
scope.row.clearPriceStepList.length
"
>
{{
$t
(
'
清关费
'
)
}}
:{{
getCurrencySymbol
(
scope
.
row
.
clearPriceStepList
[
0
].
clearancePriceUnit
)
+
scope
.
row
.
clearPriceStepList
[
0
].
clearancePrice
}}
&
nbsp
;
{{
getCurrencyTitle
(
scope
.
row
.
clearPriceStepList
[
0
].
clearancePriceUnit
)
+
'
/
'
+
getUnitTitle
(
scope
.
row
.
clearPriceStepList
[
0
].
clearanceVolumeUnit
)
}}
<
/template
>
<
template
v
-
else
>
{{
$t
(
'
暂无清关费设置
'
)
}}
<
/template>--
>
<
/template
>
{{
$t
(
'
全包价
'
)
}}
:{{
getCurrencySymbol
(
scope
.
row
.
fullPriceStepList
[
0
].
allPriceUnit
)
+
scope
.
row
.
fullPriceStepList
[
0
].
allPrice
}}
&
nbsp
;
{{
getCurrencyTitle
(
scope
.
row
.
fullPriceStepList
[
0
].
allPriceUnit
)
+
'
/
'
+
getUnitTitle
(
scope
.
row
.
fullPriceStepList
[
0
].
allVolumeUnit
)
}}
<
/div
>
<
/div
>
<
template
v
-
else
>
<!--
海运的清关费
-->
{{
$t
(
'
清关费
'
)
}}
:{{
getCurrencySymbol
(
scope
.
row
.
priceStepList
[
0
].
clearancePriceUnit
)
+
scope
.
row
.
priceStepList
[
0
].
clearancePrice
}}
&
nbsp
;
{{
getCurrencyTitle
(
scope
.
row
.
priceStepList
[
0
].
clearancePriceUnit
)
+
'
/
'
+
getUnitTitle
(
scope
.
row
.
priceStepList
[
0
].
clearanceVolumeUnit
)
}}
<
/template
>
<
div
v
-
if
=
"
!scope.row.freightPriceStepList || !scope.row.freightPriceStepList.length
"
>
{{
$t
(
'
未设置运费阶梯价
'
)
}}
<
/div
>
<
div
v
-
else
>
{{
$t
(
"
第{no
}
阶梯({start
}
~{end
}
{weightUnit
}
)
"
,
{
no
:
1
,
start
:
scope
.
row
.
freightPriceStepList
[
0
].
startNum
,
end
:
scope
.
row
.
freightPriceStepList
[
0
].
endNum
,
weightUnit
:
getUnitTitle
(
scope
.
row
.
freightPriceStepList
[
0
].
weightUnit
),
}
)
}}
<
br
/>
<
div
>
{{
$t
(
'
运费
'
)
}}
:{{
getCurrencySymbol
(
scope
.
row
.
freightPriceStepList
[
0
].
transportPriceUnit
)
+
scope
.
row
.
freightPriceStepList
[
0
].
transportPrice
}}
&
nbsp
;
{{
getCurrencyTitle
(
scope
.
row
.
freightPriceStepList
[
0
].
transportPriceUnit
)
+
'
/
'
+
getUnitTitle
(
scope
.
row
.
freightPriceStepList
[
0
].
transportVolumeUnit
)
}}
<
/div
>
<
div
v
-
if
=
"
scope.row.priceType == 1
"
>
{{
$t
(
'
全包价
'
)
}}
:{{
getCurrencySymbol
(
scope
.
row
.
priceStepList
[
0
].
allPriceUnit
)
+
scope
.
row
.
priceStepList
[
0
].
allPrice
}}
&
nbsp
;
{{
getCurrencyTitle
(
scope
.
row
.
priceStepList
[
0
].
allPriceUnit
)
+
'
/
'
+
getUnitTitle
(
scope
.
row
.
priceStepList
[
0
].
allVolumeUnit
)
}}
<
/div
>
<
el
-
button
type
=
"
text
"
@
click
=
"
showMoreStepPriceItem=scope.row
"
>
{{
$t
(
'
查看更多
'
)
}}
<
/el-button
>
<
/template
>
<
template
v
-
else
-
if
=
"
scope.row.stepPrice
"
>
{{
$t
(
'
缺少阶梯价格设置
'
)
}}
<
el
-
button
type
=
"
text
"
@
click
=
"
showMoreStepPriceItem=scope.row
"
>
{{
$t
(
'
查看更多
'
)
}}
<
/el-button
>
<
/template
>
<
template
v
-
else
>
<
div
v
-
if
=
"
scope.row.priceType == 0
"
>
{{
$t
(
'
运费
'
)
}}
:{{
getCurrencySymbol
(
scope
.
row
.
transportPriceUnit
)
+
scope
.
row
.
transportPrice
}}
&
nbsp
;
...
...
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