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
cb7928c3
Commit
cb7928c3
authored
Dec 03, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试报价单佣金规则数据
parent
e9163165
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
10 deletions
+21
-10
Commossion.vue
src/views/ecw/offer/components/Commossion.vue
+7
-2
SpecialDetail.vue
src/views/ecw/offer/components/SpecialDetail.vue
+13
-7
Discount.vue
src/views/ecw/order/special/Discount.vue
+1
-1
No files found.
src/views/ecw/offer/components/Commossion.vue
View file @
cb7928c3
...
...
@@ -160,10 +160,15 @@ export default {
}
}
,
costPrice
(){
return
Decimal
(
this
.
form
.
seaFreight
||
0
).
minus
(
this
.
form
.
orgShadeCommissionAmount
||
0
).
minus
(
this
.
form
.
shadeCommissionAmount
||
0
)
return
Decimal
(
this
.
form
.
orgSeaFreight
||
0
)
.
minus
(
this
.
form
.
orgShadeCommissionAmount
||
0
)
.
minus
(
this
.
form
.
orgLightCommissionAmount
||
0
)
.
minus
(
this
.
form
.
shadeCommissionAmount
||
0
)
}
,
salePrice
(){
return
Decimal
(
this
.
form
.
seaFreight
||
0
).
minus
(
this
.
form
.
orgLightCommissionAmount
||
0
).
plus
(
this
.
form
.
lightCommissionAmount
||
0
)
return
Decimal
(
this
.
form
.
orgSeaFreight
||
0
)
.
minus
(
this
.
form
.
orgLightCommissionAmount
||
0
)
.
plus
(
this
.
form
.
lightCommissionAmount
||
0
)
}
,
currencyMap
(){
let
map
=
{
}
...
...
src/views/ecw/offer/components/SpecialDetail.vue
View file @
cb7928c3
...
...
@@ -23,12 +23,15 @@
newType
:
getDictDataLabel
(
DICT_TYPE
.
COMMISSION_TYPE
,
form
.
commissionType
),
}
)
}}
<
/div
>
<!--
-
http
:
//zentao.jdshangmen.com/bug-view-1632.html
1
.
原运费改成原销售价,新运费改成新销售价,新增一个实际返佣金额
--->
<
div
>
{{
form
.
charging
?
$t
(
'
原全包价
'
)
:
$t
(
'
原
运费
'
)
}}
:
{{
form
.
s
eaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
{{
form
.
charging
?
$t
(
'
原全包价
'
)
:
$t
(
'
原
销售价
'
)
}}
:
{{
form
.
orgS
eaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
<
/div
>
<
div
>
{{
form
.
charging
?
$t
(
'
新全包价
'
)
:
$t
(
'
新
运费
'
)
}}
:
{{
salePrice
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
{{
form
.
charging
?
$t
(
'
新全包价
'
)
:
$t
(
'
新
销售价
'
)
}}
:
{{
salePrice
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
<
/div
>
<
div
>
{{
$t
(
'
成本价
'
)
}}
:
{{
costPrice
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
...
...
@@ -51,11 +54,11 @@
<
/template
>
<
template
v
-
else
>
<
div
>
{{
$t
(
'
原
运费
'
)
}}
:
{{
form
.
orgSeaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
,
{{
$t
(
'
原
销售价
'
)
}}
:
{{
form
.
orgSeaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
,
{{
$t
(
'
原清关费
'
)
}}
:
{{
form
.
orgClearanceFreight
}}
{{
currencyMap
[
form
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
form
.
clearanceFreightVolume
]
}}
<
/div
>
<
div
>
{{
$t
(
'
新
运费
'
)
}}
:
{{
form
.
seaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
,
{{
$t
(
'
新
销售价
'
)
}}
:
{{
form
.
seaFreight
}}
{{
currencyMap
[
form
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
form
.
seaFreightVolume
]
}}
,
{{
$t
(
'
新清关费
'
)
}}
:
{{
form
.
clearanceFreight
}}
{{
currencyMap
[
form
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
form
.
clearanceFreightVolume
]
}}
<
/div
>
<
/template
>
...
...
@@ -140,10 +143,13 @@ export default {
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
)
return
Decimal
(
this
.
form
.
orgSeaFreight
||
0
)
.
minus
(
this
.
form
.
orgShadeCommissionAmount
||
0
)
.
minus
(
this
.
form
.
orgLightCommissionAmount
||
0
)
.
minus
(
this
.
form
.
shadeCommissionAmount
||
0
)
}
,
salePrice
(){
return
Decimal
(
this
.
form
.
s
eaFreight
||
0
).
minus
(
this
.
form
.
orgLightCommissionAmount
||
0
).
plus
(
this
.
form
.
lightCommissionAmount
||
0
)
return
Decimal
(
this
.
form
.
orgS
eaFreight
||
0
).
minus
(
this
.
form
.
orgLightCommissionAmount
||
0
).
plus
(
this
.
form
.
lightCommissionAmount
||
0
)
}
,
}
,
methods
:
{
...
...
src/views/ecw/order/special/Discount.vue
View file @
cb7928c3
...
...
@@ -169,7 +169,7 @@ export default {
// 是否可以提交
submitable
(){
let
submitable
=
false
;
if
(
!
this
.
form
.
freight
||
!
this
.
form
.
clearanceFreight
){
if
(
!
this
.
form
.
freight
||
(
!
this
.
form
.
clearanceFreight
&&
!
this
.
form
.
charging
)
){
return
false
}
[
...
...
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