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
fec2b88e
Commit
fec2b88e
authored
Dec 03, 2022
by
houjn@hikoon.cn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
parents
ae97835d
e9163165
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
26 deletions
+32
-26
SpecialDetail.vue
src/views/ecw/offer/components/SpecialDetail.vue
+31
-25
SpecialDiscount.vue
src/views/ecw/offer/components/SpecialDiscount.vue
+1
-1
No files found.
src/views/ecw/offer/components/SpecialDetail.vue
View file @
fec2b88e
<
template
>
<
template
>
<el-descriptions
border
:column=
"3"
v-if=
"offer"
>
<el-descriptions
border
:column=
"3"
v-if=
"offer"
>
<el-descriptions-item
label=
"报价单号
"
>
{{
offer
.
number
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('报价单号')
"
>
{{
offer
.
number
}}
</el-descriptions-item>
<el-descriptions-item
label=
"运输方式
"
>
<el-descriptions-item
:label=
"$t('运输方式')
"
>
<dict-tag
:type=
"DICT_TYPE.TRANSPORT_TYPE"
:value=
"offer.transportId"
/>
<dict-tag
:type=
"DICT_TYPE.TRANSPORT_TYPE"
:value=
"offer.transportId"
/>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"出货方式
"
>
<el-descriptions-item
:label=
"$t('出货方式')
"
>
{{
channel
?
$l
(
channel
,
'
name
'
)
:
'
/
'
}}
{{
channel
?
$l
(
channel
,
'
name
'
)
:
'
/
'
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"报价单状态
"
>
<el-descriptions-item
:label=
"$t('报价单状态')
"
>
<dict-tag
:type=
"DICT_TYPE.ECW_OFFER_STATUS"
:value=
"offer.status"
/>
<dict-tag
:type=
"DICT_TYPE.ECW_OFFER_STATUS"
:value=
"offer.status"
/>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"唛头
"
>
{{
offer
.
marks
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('唛头')
"
>
{{
offer
.
marks
}}
</el-descriptions-item>
<el-descriptions-item
label=
"始发仓
"
>
{{
form
.
departureName
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('始发仓')
"
>
{{
form
.
departureName
}}
</el-descriptions-item>
<el-descriptions-item
label=
"目的仓
"
>
{{
form
.
objectiveName
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('目的仓')
"
>
{{
form
.
objectiveName
}}
</el-descriptions-item>
<el-descriptions-item
label=
"申请原因
"
:span=
"3"
v-if=
"type == 2"
>
<el-descriptions-item
:label=
"$t('申请原因')
"
:span=
"3"
v-if=
"type == 2"
>
<div
class=
"item"
>
<div
class=
"item"
>
商品
:
{{
$l
(
form
,
'
prodTitle
'
)
}}
{{
$t
(
'
商品
'
)
}}
:
{{
$l
(
form
,
'
prodTitle
'
)
}}
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
佣金规则
:
{{
$t
(
'
从【{oldType
}
】改为【{newType
}
】
'
,
{
{{
$t
(
'
佣金规则
'
)
}}
:
{{
$t
(
'
从【{oldType
}
】改为【{newType
}
】
'
,
{
oldType
:
getDictDataLabel
(
DICT_TYPE
.
COMMISSION_TYPE
,
offer
.
commissionType
)
,
oldType
:
getDictDataLabel
(
DICT_TYPE
.
COMMISSION_TYPE
,
offer
.
commissionType
)
,
newType
:
getDictDataLabel
(
DICT_TYPE
.
COMMISSION_TYPE
,
form
.
commissionType
),
newType
:
getDictDataLabel
(
DICT_TYPE
.
COMMISSION_TYPE
,
form
.
commissionType
),
}
)
}}
}
)
}}
<
/div
>
<
/div
>
<
div
>
<
div
>
原运费:
{{
form
.
orgS
eaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
{{
form
.
charging
?
$t
(
'
原全包价
'
)
:
$t
(
'
原运费
'
)
}}
:
{{
form
.
s
eaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
<
/div
>
<
/div
>
<
div
>
<
div
>
新运费:
{{
form
.
seaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
{{
form
.
charging
?
$t
(
'
新全包价
'
)
:
$t
(
'
新运费
'
)
}}
:
{{
salePrice
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
<
/div
>
<
/div
>
<
div
>
<
div
>
成本价
:
{{
costPrice
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
{{
$t
(
'
成本价
'
)
}}
:
{{
costPrice
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
<
/div
>
<
/div
>
<
div
>
<
div
>
明佣
:
{{
form
.
lightCommissionAmount
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
{{
$t
(
'
明佣
'
)
}}
:
{{
form
.
lightCommissionAmount
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
<
/div
>
<
/div
>
<
div
>
<
div
>
暗佣
:
{{
form
.
shadeCommissionAmount
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
{{
$t
(
'
暗佣
'
)
}}
:
{{
form
.
shadeCommissionAmount
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
<
/div
>
<
/div
>
<
/el-descriptions-item
>
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
申请原因
"
:
span
=
"
3
"
v
-
if
=
"
type == 1
"
>
<
el
-
descriptions
-
item
label
=
"
申请原因
"
:
span
=
"
3
"
v
-
if
=
"
type == 1
"
>
<
div
class
=
"
item
"
>
<
div
class
=
"
item
"
>
商品
:
{{
$l
(
form
,
'
prodTitle
'
)
}}
{{
$t
(
'
商品
'
)
}}
:
{{
$l
(
form
,
'
prodTitle
'
)
}}
<
/div
>
<
/div
>
<
template
v
-
if
=
"
form.charging
"
>
<
template
v
-
if
=
"
form.charging
"
>
原全包价
:
{{
form
.
orgSeaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
,
{{
$t
(
'
原全包价
'
)
}}
:
{{
form
.
orgSeaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
,
新全包价
:
{{
form
.
seaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
{{
$t
(
'
新全包价
'
)
}}
:
{{
form
.
seaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
<
/template
>
<
/template
>
<
template
v
-
else
>
<
template
v
-
else
>
<
div
>
<
div
>
原运费
:
{{
form
.
orgSeaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
,
{{
$t
(
'
原运费
'
)
}}
:
{{
form
.
orgSeaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
,
原清关费
:
{{
form
.
orgClearanceFreight
}}
{{
currencyMap
[
form
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
form
.
clearanceFreightVolume
]
}}
{{
$t
(
'
原清关费
'
)
}}
:
{{
form
.
orgClearanceFreight
}}
{{
currencyMap
[
form
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
form
.
clearanceFreightVolume
]
}}
<
/div
>
<
/div
>
<
div
>
<
div
>
新运费
:
{{
form
.
seaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
,
{{
$t
(
'
新运费
'
)
}}
:
{{
form
.
seaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
,
新清关费
:
{{
form
.
clearanceFreight
}}
{{
currencyMap
[
form
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
form
.
clearanceFreightVolume
]
}}
{{
$t
(
'
新清关费
'
)
}}
:
{{
form
.
clearanceFreight
}}
{{
currencyMap
[
form
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
form
.
clearanceFreightVolume
]
}}
<
/div
>
<
/div
>
<
/template
>
<
/template
>
<
/el-descriptions-item
>
<
/el-descriptions-item
>
...
@@ -136,9 +136,15 @@ export default {
...
@@ -136,9 +136,15 @@ export default {
return Decimal(this.form.seaFreight).plus(this.form.shadeCommissionAmount).plus(this.form.lightCommissionAmount)
return Decimal(this.form.seaFreight).plus(this.form.shadeCommissionAmount).plus(this.form.lightCommissionAmount)
}
, */
}
, */
// 成本价
// 成本价
costPrice
(){
/*
costPrice(){
return Decimal(this.form.seaFreight || 0).minus(this.form.lightCommissionAmount || 0).minus(this.form.shadeCommissionAmount || 0)
return Decimal(this.form.seaFreight || 0).minus(this.form.lightCommissionAmount || 0).minus(this.form.shadeCommissionAmount || 0)
}
}
*/
costPrice
(){
return
Decimal
(
this
.
form
.
seaFreight
||
0
).
minus
(
this
.
form
.
orgShadeCommissionAmount
||
0
).
minus
(
this
.
form
.
shadeCommissionAmount
||
0
)
}
,
salePrice
(){
return
Decimal
(
this
.
form
.
seaFreight
||
0
).
minus
(
this
.
form
.
orgLightCommissionAmount
||
0
).
plus
(
this
.
form
.
lightCommissionAmount
||
0
)
}
,
}
,
}
,
methods
:
{
methods
:
{
getOfferSpecialByApproveId
(){
getOfferSpecialByApproveId
(){
...
...
src/views/ecw/offer/components/SpecialDiscount.vue
View file @
fec2b88e
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<
el
-
form
-
item
:
label
=
"
$t('旧全包价')
"
v
-
if
=
"
form.charging
"
>
<
el
-
form
-
item
:
label
=
"
$t('旧全包价')
"
v
-
if
=
"
form.charging
"
>
{{
form
.
orgSeaFreight
}}
{{
currentMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
{{
form
.
orgSeaFreight
}}
{{
currentMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('新全包价')
"
style
=
"
width: 400px
"
prop
=
"
clearance
Freight
"
v
-
if
=
"
form.charging
"
>
<
el
-
form
-
item
:
label
=
"
$t('新全包价')
"
style
=
"
width: 400px
"
prop
=
"
sea
Freight
"
v
-
if
=
"
form.charging
"
>
<
el
-
input
v
-
model
=
"
form.seaFreight
"
type
=
"
number
"
class
=
"
w-100
"
/>
<
el
-
input
v
-
model
=
"
form.seaFreight
"
type
=
"
number
"
class
=
"
w-100
"
/>
{{
currentMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
{{
currentMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
<
/el-form-item
>
<
/el-form-item
>
...
...
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