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
b0d998e8
Commit
b0d998e8
authored
Dec 02, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单优惠等bug
parent
e449a2ed
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
4 deletions
+11
-4
edit.vue
src/views/ecw/coupon/edit.vue
+1
-1
detail.vue
src/views/ecw/order/detail.vue
+1
-1
edit.vue
src/views/ecw/order/edit.vue
+6
-0
index.vue
src/views/ecw/order/index.vue
+2
-1
Preferential.vue
src/views/ecw/order/special/Preferential.vue
+1
-1
No files found.
src/views/ecw/coupon/edit.vue
View file @
b0d998e8
...
...
@@ -534,7 +534,7 @@ export default {
checkPositive
(
object
,
field
){
const
lastChar
=
object
[
field
].
split
(
''
).
pop
()
object
[
field
]
=
parseFloat
(
object
[
field
])
if
(
!
object
[
field
]
||
object
[
field
]
<
0
)
object
[
field
]
=
''
if
(
isNaN
(
object
[
field
])
||
object
[
field
]
<
0
)
object
[
field
]
=
''
else
object
[
field
]
=
object
[
field
].
toString
()
// 如果最后一位是.且没有其他点则补上
...
...
src/views/ecw/order/detail.vue
View file @
b0d998e8
...
...
@@ -390,7 +390,7 @@ export default {
});
},
getChannel
(){
if
(
!
this
.
order
||
!
this
.
order
.
channelId
)
return
if
(
!
this
.
order
||
!
this
.
order
.
channelId
||
this
.
order
.
transportId
==
1
||
this
.
order
.
transportId
==
2
)
return
getChannel
(
this
.
order
.
channelId
).
then
(
res
=>
{
this
.
channelName
=
res
.
data
.
nameZh
})
...
...
src/views/ecw/order/edit.vue
View file @
b0d998e8
...
...
@@ -698,6 +698,7 @@ export default {
totalWorth
:
new
Decimal
(
0
),
totalQuatity
:
new
Decimal
(
0
)
}
if
(
!
this
.
form
||
!
this
.
form
.
orderItemVOList
)
return
sum
this
.
form
.
orderItemVOList
.
forEach
(
item
=>
{
sum
.
totalNum
=
sum
.
totalNum
.
plus
(
item
.
num
||
0
)
sum
.
totalVolume
=
sum
.
totalVolume
.
plus
(
item
.
volume
||
0
)
...
...
@@ -766,6 +767,11 @@ export default {
console
.
log
(
'
重置路线
'
,
oldTransportId
,
transportId
,
this
.
selectedRouter
?.
transportType
)
this
.
$set
(
this
.
form
,
'
lineId
'
,
undefined
)
}
// 选择海运拼柜和海运整柜清空渠道值
if
(
transportId
==
1
||
transportId
==
2
){
this
.
$set
(
this
.
form
,
'
channelId
'
,
null
)
}
this
.
getOpenedRouterList
()
},
...
...
src/views/ecw/order/index.vue
View file @
b0d998e8
...
...
@@ -139,7 +139,8 @@
<el-table-column
:label=
"$t('唛头')"
align=
"center"
prop=
"marks"
/>
<el-table-column
:label=
"$t('总箱数/入仓箱数')"
align=
"center"
prop=
"sumNum"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
totalNum
}}{{
$t
(
'
箱
'
)
}}
/
{{
row
.
sumNum
}}{{
$t
(
'
箱
'
)
}}
<div
style=
"color:red"
>
{{
row
.
totalNum
}}{{
$t
(
'
箱
'
)
}}
/
{{
row
.
sumNum
}}{{
$t
(
'
箱
'
)
}}
</div>
<dict-tag
style=
"color:red"
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
:value=
"row.customsType"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('体积/重量')"
align=
"center"
prop=
"sumWeight"
>
...
...
src/views/ecw/order/special/Preferential.vue
View file @
b0d998e8
...
...
@@ -13,7 +13,7 @@
</
template
>
<
template
v-else
>
<el-form-item
:label=
"$t('原泡货标准')"
>
{{
form
.
org
WVolume
}}
kg
{{
form
.
org
VWeight
}}
kg
</el-form-item>
<el-form-item
:label=
"$t('现泡货标准')"
style=
"width: 400px"
prop=
"clearanceFreight"
>
<el-input
v-model=
"form.vweight"
type=
"number"
class=
"w-100"
/>
kg
...
...
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