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
b6a2aaa6
Commit
b6a2aaa6
authored
Dec 05, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug,重货提示待完善
parent
7caa5ef8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
16 deletions
+31
-16
edit.vue
src/views/ecw/order/edit.vue
+3
-0
index.vue
src/views/ecw/order/index.vue
+13
-2
Commission.vue
src/views/ecw/order/special/Commission.vue
+0
-1
edit.vue
src/views/ecw/productPrice/edit.vue
+15
-13
No files found.
src/views/ecw/order/edit.vue
View file @
b6a2aaa6
...
...
@@ -811,6 +811,9 @@ export default {
})
}
},
'
form.isCargoControl
'
(
isCargoControl
){
this
.
$set
(
this
.
form
,
'
drawee
'
,
isCargoControl
?
1
:
2
)
},
/* 'form.orderItemVOList'(){
console.log('form.orderItemVOList', this.form.orderItemVOList.length, this.form.orderItemVOList)
}, */
...
...
src/views/ecw/order/index.vue
View file @
b6a2aaa6
...
...
@@ -146,8 +146,19 @@
<el-table-column
:label=
"$t('体积/重量')"
align=
"center"
prop=
"sumWeight"
>
<
template
slot-scope=
"{row}"
>
<!--入仓前是填单数据,入仓后是入仓数据-->
<template
v-if=
"row.inWarehouseState
<
=
1
"
>
{{
row
.
costVO
.
totalVolume
}}
m³ /
{{
row
.
costVO
.
totalWeight
}}
Kg
</
template
>
<
template
v-else
>
{{
row
.
sumVolume
}}
m³ /
{{
row
.
sumWeight
}}
Kg
</
template
>
{{
row
.
orderType
==
2
}}
<el-tooltip
:is=
"row.orderType == 2 ? 'el-tooltip' : 'div'"
class=
"item"
effect=
"dark"
:content=
"(row.wvolume||0)+'m³'"
placement=
"bottom"
>
<div
v-if=
"row.inWarehouseState
<
=
1
"
>
{{
row
.
costVO
.
totalVolume
}}
m³ /
{{
row
.
costVO
.
totalWeight
}}
Kg
</div>
<div
v-else
>
{{
row
.
sumVolume
}}
m³ /
{{
row
.
sumWeight
}}
Kg
</div>
</el-tooltip>
<!--
<el-tooltip
v-if=
"scope.row.orderExceptionType=='order_heavy_cargo_exception'"
class=
"item"
effect=
"dark"
:content=
"(scope.row.wvolume||0)+'m³'"
placement=
"bottom"
>
<span
style=
"color:#ff4949"
v-if=
"scope.row.orderStatus >= 5 "
>
{{
scope
.
row
.
volume
+
"
m³/
"
+
scope
.
row
.
weight
+
"
kg
"
}}
</span>
<span
style=
"color:#ff4949"
v-else
>
{{
scope
.
row
.
totalVolume
+
"
m³/
"
+
scope
.
row
.
totalWeight
+
"
kg
"
}}
</span>
</el-tooltip>
-->
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('始发仓')"
align=
"center"
prop=
"startWarehouseName"
>
...
...
src/views/ecw/order/special/Commission.vue
View file @
b6a2aaa6
...
...
@@ -213,7 +213,6 @@ export default {
this
.
$set
(
this
.
form
,
'
shadeCommissionAmount
'
,
0
)
}
// 暗佣需要查询暗佣设置
if
(
val
==
2
){
this
.
getCommission
()
...
...
src/views/ecw/productPrice/edit.vue
View file @
b6a2aaa6
...
...
@@ -471,20 +471,22 @@ export default {
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getUnitList
().
then
(
res
=>
this
.
unitList
=
res
.
data
)
if
(
!
this
.
form
.
specialList
){
if
(
!
this
.
form
.
specialList
||
!
this
.
form
.
specialList
.
length
){
console
.
log
(
'
specialList默认给[]
'
)
this
.
$set
(
this
.
form
,
'
specialList
'
,
[])
}
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ECW_SPECIAL_REQ_FOR_LINE_PRODUCTS
).
forEach
(
item
=>
{
this
.
form
.
specialList
.
push
({
"
clearancePrice
"
:
!
this
.
$route
.
query
.
action
?
0
:
null
,
// 新建默认给0,否则默认是null
"
clearancePric
eUnit
"
:
null
,
"
clearanceVolumeUnit
"
:
null
,
"
specialDictType
"
:
item
.
value
,
"
transportPrice
"
:
!
this
.
$route
.
query
.
action
?
0
:
null
,
// 新建默认给0,否则默认是null
"
transportPric
eUnit
"
:
null
,
"
transportVolumeUnit
"
:
null
,
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ECW_SPECIAL_REQ_FOR_LINE_PRODUCTS
).
forEach
(
item
=>
{
this
.
form
.
specialList
.
push
(
{
"
clearancePrice
"
:
!
this
.
$route
.
query
.
action
?
0
:
null
,
// 新建默认给0,否则默认是null
"
clearancePriceUnit
"
:
null
,
"
clearanceVolum
eUnit
"
:
null
,
"
specialDictType
"
:
item
.
value
,
"
transportPrice
"
:
!
this
.
$route
.
query
.
action
?
0
:
null
,
// 新建默认给0,否则默认是null
"
transportPriceUnit
"
:
null
,
"
transportVolum
eUnit
"
:
null
,
}
)
}
)
}
)
}
}
,
methods
:
{
priceValidator
(
rule
,
value
,
callback
){
...
...
@@ -522,7 +524,7 @@ export default {
}
let
data
=
Object
.
assign
({
}
,
this
.
form
,
{
// lineChannelList: this.selectedRoutes,
specialList
:
this
.
specialProducts
,
//
specialList: this.specialProducts,
isAllProduct
:
0
}
)
if
(
this
.
form
.
stepPrice
!=
1
){
...
...
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