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
694e8fda
Commit
694e8fda
authored
Jul 17, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
4f265ad6
8ca9bc53
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
30 deletions
+48
-30
splitOrder.vue
...views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
+13
-4
edit.vue
src/views/ecw/order/edit.vue
+8
-9
index.vue
src/views/ecw/order/splitApply/index.vue
+10
-3
Warehouse.vue
src/views/ecw/order/warehousing/components/Warehouse.vue
+17
-14
No files found.
src/views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
View file @
694e8fda
...
@@ -828,8 +828,8 @@ export default {
...
@@ -828,8 +828,8 @@ export default {
remarks
:
this
.
shopForm
.
remarks
,
remarks
:
this
.
shopForm
.
remarks
,
volume
:
this
.
putin
.
volume
,
volume
:
this
.
putin
.
volume
,
weight
:
this
.
putin
.
weight
,
weight
:
this
.
putin
.
weight
,
chargeWeight
:
this
.
putin
.
chargeWeight
,
chargeWeight
:
this
.
shopForm
.
chargeWeight
,
chargeVolume
:
this
.
putin
.
chargeVolume
,
chargeVolume
:
this
.
shopForm
.
chargeVolume
,
worth
:
this
.
shopForm
.
worth
||
0
,
worth
:
this
.
shopForm
.
worth
||
0
,
specsRecordVOList
:
this
.
shopForm
.
specsRecordVOList
,
specsRecordVOList
:
this
.
shopForm
.
specsRecordVOList
,
shipmentSplit
:
true
shipmentSplit
:
true
...
@@ -950,8 +950,17 @@ export default {
...
@@ -950,8 +950,17 @@ export default {
// 根据比例计算默认的收费方数和收费重量
// 根据比例计算默认的收费方数和收费重量
const
orderItem
=
this
.
orderData
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
this
.
shopForm
.
orderItemId
)
const
orderItem
=
this
.
orderData
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
this
.
shopForm
.
orderItemId
)
const
rate
=
this
.
putin
.
num
/
orderItem
.
warehouseInInfoVO
.
cartonsNum
const
rate
=
this
.
putin
.
num
/
orderItem
.
warehouseInInfoVO
.
cartonsNum
this
.
$set
(
this
.
shopForm
,
'
chargeVolume
'
,
(
orderItem
.
chargeVolume
*
rate
).
toFixed
(
2
))
this
.
$set
(
this
.
shopForm
,
'
chargeWeight
'
,
(
orderItem
.
chargeWeight
*
rate
).
toFixed
(
2
))
/*
* 1 普货 2 重货 3 泡货
* 普货 收费数据=入仓数据
* 泡货 收费方数=入仓方数 收费重量 = 品名收费重量*比例
* 重货 收费方数=品名收费方数*比例 收费重量 = 入仓重量
* */
const
chargeVolume
=
orderItem
.
itemType
===
2
?
(
orderItem
.
chargeVolume
*
rate
).
toFixed
(
2
)
:
this
.
putin
.
volume
const
chargeWeight
=
orderItem
.
itemType
===
3
?
(
orderItem
.
chargeWeight
*
rate
).
toFixed
(
2
)
:
this
.
putin
.
weight
this
.
$set
(
this
.
shopForm
,
'
chargeVolume
'
,
chargeVolume
)
this
.
$set
(
this
.
shopForm
,
'
chargeWeight
'
,
chargeWeight
)
this
.
$set
(
this
.
shopForm
,
'
worth
'
,
(
orderItem
.
worth
*
rate
).
toFixed
(
2
))
this
.
$set
(
this
.
shopForm
,
'
worth
'
,
(
orderItem
.
worth
*
rate
).
toFixed
(
2
))
},
},
// 清空放入记录
// 清空放入记录
...
...
src/views/ecw/order/edit.vue
View file @
694e8fda
...
@@ -940,19 +940,19 @@ export default {
...
@@ -940,19 +940,19 @@ export default {
this
.
$set
(
this
,
'
showWorkFlow
'
,
true
)
this
.
$set
(
this
,
'
showWorkFlow
'
,
true
)
}
}
},
},
'
$route.query.transportType
'
(
transportType
){
/*
'$route.query.transportType'(transportType){
this
.
$set
(
this
.
form
,
'
transportId
'
,
+
transportType
)
this.$set(this.form, 'transportId',
transportType ? +transportType : undefined
)
}
}
*/
},
},
activated
(){
activated
(){
if
(
this
.
$route
.
query
.
id
!=
this
.
form
.
id
){
if
(
this
.
$route
.
query
.
id
!=
this
.
form
.
id
){
this
.
getOrder
()
this
.
getOrder
()
}
}
if
(
this
.
$route
.
query
.
transportType
!=
this
.
transportId
){
let
transportType
=
undefined
let
transportType
=
undefined
if
(
this
.
$route
.
query
.
transportType
){
if
(
this
.
$route
.
query
.
transportType
){
transportType
=
+
this
.
$route
.
query
.
transportType
transportType
=
+
this
.
$route
.
query
.
transportType
}
}
if
(
transportType
!=
this
.
transportId
){
this
.
$set
(
this
.
form
,
'
transportId
'
,
transportType
)
this
.
$set
(
this
.
form
,
'
transportId
'
,
transportType
)
}
}
...
@@ -990,7 +990,6 @@ export default {
...
@@ -990,7 +990,6 @@ export default {
})
})
}
}
},
},
methods
:
{
methods
:
{
onTableMounted
(
e
){
onTableMounted
(
e
){
...
...
src/views/ecw/order/splitApply/index.vue
View file @
694e8fda
...
@@ -1148,11 +1148,18 @@ export default {
...
@@ -1148,11 +1148,18 @@ export default {
})
})
this
.
currentPutIn
=
null
this
.
currentPutIn
=
null
// 根据比例计算默认的收费方数和收费重量
const
orderItem
=
this
.
orderData
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
this
.
shopForm
.
orderItemId
)
const
orderItem
=
this
.
orderData
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
this
.
shopForm
.
orderItemId
)
const
rate
=
this
.
putin
.
num
/
orderItem
.
warehouseInInfoVO
.
cartonsNum
const
rate
=
this
.
putin
.
num
/
orderItem
.
warehouseInInfoVO
.
cartonsNum
this
.
$set
(
this
.
shopForm
,
'
chargeVolume
'
,
(
orderItem
.
chargeVolume
*
rate
).
toFixed
(
2
))
/*
this
.
$set
(
this
.
shopForm
,
'
chargeWeight
'
,
(
orderItem
.
chargeWeight
*
rate
).
toFixed
(
2
))
* 1 普货 2 重货 3 泡货
* 普货 收费数据=入仓数据
* 泡货 收费方数=入仓方数 收费重量 = 品名收费重量*比例
* 重货 收费方数=品名收费方数*比例 收费重量 = 入仓重量
* */
const
chargeVolume
=
orderItem
.
itemType
===
2
?
(
orderItem
.
chargeVolume
*
rate
).
toFixed
(
2
)
:
this
.
putin
.
volume
const
chargeWeight
=
orderItem
.
itemType
===
3
?
(
orderItem
.
chargeWeight
*
rate
).
toFixed
(
2
)
:
this
.
putin
.
weight
this
.
$set
(
this
.
shopForm
,
'
chargeVolume
'
,
chargeVolume
)
this
.
$set
(
this
.
shopForm
,
'
chargeWeight
'
,
chargeWeight
)
this
.
$set
(
this
.
shopForm
,
'
worth
'
,
(
orderItem
.
worth
*
rate
).
toFixed
(
2
))
this
.
$set
(
this
.
shopForm
,
'
worth
'
,
(
orderItem
.
worth
*
rate
).
toFixed
(
2
))
},
},
// 清空放入记录
// 清空放入记录
...
...
src/views/ecw/order/warehousing/components/Warehouse.vue
View file @
694e8fda
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
</el-col>
</el-col>
<el-col
:span=
"16"
>
<el-col
:span=
"16"
>
<el-form-item
:label=
"$t('入仓特性')"
style=
"margin-top: 20px"
>
<el-form-item
:label=
"$t('入仓特性')"
style=
"margin-top: 20px"
>
<el-checkbox-group
v-model=
"form.
p
rodAttrIds"
>
<el-checkbox-group
v-model=
"form.
warehouseInP
rodAttrIds"
>
<el-checkbox
v-for=
"item in attrList"
:key=
"item.id"
:label=
"item.id"
>
{{ item.attrName }}
</el-checkbox>
<el-checkbox
v-for=
"item in attrList"
:key=
"item.id"
:label=
"item.id"
>
{{ item.attrName }}
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
...
@@ -269,7 +269,7 @@
...
@@ -269,7 +269,7 @@
</el-col>
</el-col>
<el-col
:span=
"16"
>
<el-col
:span=
"16"
>
<el-form-item
:label=
"$t('入仓特性')"
style=
"margin-top: 20px"
>
<el-form-item
:label=
"$t('入仓特性')"
style=
"margin-top: 20px"
>
<el-checkbox-group
v-model=
"form1.
p
rodAttrIds"
>
<el-checkbox-group
v-model=
"form1.
warehouseInP
rodAttrIds"
>
<el-checkbox
v-for=
"item in attrList"
:key=
"item.id"
:label=
"item.id"
>
{{ item.attrName }}
</el-checkbox>
<el-checkbox
v-for=
"item in attrList"
:key=
"item.id"
:label=
"item.id"
>
{{ item.attrName }}
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
...
@@ -638,7 +638,7 @@ export default {
...
@@ -638,7 +638,7 @@ export default {
inTime
:
undefined
,
inTime
:
undefined
,
material
:
undefined
,
material
:
undefined
,
orderItemId
:
undefined
,
orderItemId
:
undefined
,
p
rodAttrIds
:
[],
warehouseInP
rodAttrIds
:
[],
prodId
:
undefined
,
prodId
:
undefined
,
prodTitleEn
:
undefined
,
prodTitleEn
:
undefined
,
prodTitleZh
:
undefined
,
prodTitleZh
:
undefined
,
...
@@ -657,7 +657,7 @@ export default {
...
@@ -657,7 +657,7 @@ export default {
inTime
:
undefined
,
inTime
:
undefined
,
material
:
undefined
,
material
:
undefined
,
orderItemId
:
undefined
,
orderItemId
:
undefined
,
p
rodAttrIds
:
[],
warehouseInP
rodAttrIds
:
[],
prodId
:
undefined
,
prodId
:
undefined
,
prodTitleEn
:
undefined
,
prodTitleEn
:
undefined
,
prodTitleZh
:
undefined
,
prodTitleZh
:
undefined
,
...
@@ -728,7 +728,10 @@ export default {
...
@@ -728,7 +728,10 @@ export default {
this
.
form
.
orderId
=
this
.
warehousing
.
orderId
this
.
form
.
orderId
=
this
.
warehousing
.
orderId
this
.
form
.
orderItemId
=
this
.
warehousing
.
orderItemId
this
.
form
.
orderItemId
=
this
.
warehousing
.
orderItemId
this
.
form
.
orderNo
=
this
.
warehousing
.
orderNo
this
.
form
.
orderNo
=
this
.
warehousing
.
orderNo
this
.
form
.
prodAttrIds
=
this
.
warehousing
.
prodAttrIds
?.
split
(
'
,
'
).
map
(
e
=>
+
e
)
||
[]
this
.
form
.
warehouseInProdAttrIds
=
this
.
warehousing
.
warehouseInProdAttrIds
?.
split
(
'
,
'
).
map
(
e
=>
+
e
)
||
this
.
warehousing
.
prodAttrIds
?.
split
(
'
,
'
).
map
(
e
=>
+
e
)
||
[]
this
.
form
.
prodId
=
this
.
warehousing
.
prodId
this
.
form
.
prodId
=
this
.
warehousing
.
prodId
this
.
form
.
prodTitleEn
=
this
.
warehousing
.
prodTitleEn
this
.
form
.
prodTitleEn
=
this
.
warehousing
.
prodTitleEn
this
.
form
.
prodTitleZh
=
this
.
warehousing
.
prodTitleZh
this
.
form
.
prodTitleZh
=
this
.
warehousing
.
prodTitleZh
...
@@ -784,7 +787,7 @@ export default {
...
@@ -784,7 +787,7 @@ export default {
handleSubmit
()
{
handleSubmit
()
{
if
(
this
.
activeName
!==
"
first
"
){
if
(
this
.
activeName
!==
"
first
"
){
// 添加非填单货物
// 添加非填单货物
if
(
this
.
form1
.
p
rodAttrIds
.
indexOf
(
4
)
!==
-
1
)
{
if
(
this
.
form1
.
warehouseInP
rodAttrIds
.
indexOf
(
4
)
!==
-
1
)
{
return
this
.
$notify
({
return
this
.
$notify
({
title
:
this
.
$t
(
'
提示
'
),
title
:
this
.
$t
(
'
提示
'
),
message
:
this
.
$t
(
"
订单包含不接受货物,请检查
"
),
message
:
this
.
$t
(
"
订单包含不接受货物,请检查
"
),
...
@@ -802,7 +805,7 @@ export default {
...
@@ -802,7 +805,7 @@ export default {
orderId
:
this
.
warehousing
.
orderId
,
orderId
:
this
.
warehousing
.
orderId
,
orderItemId
:
undefined
,
orderItemId
:
undefined
,
orderNo
:
this
.
warehousing
.
orderNo
,
orderNo
:
this
.
warehousing
.
orderNo
,
prodAttrIds
:
this
.
form
.
p
rodAttrIds
.
join
(
'
,
'
),
warehouseInProdAttrIds
:
this
.
form
.
warehouseInP
rodAttrIds
.
join
(
'
,
'
),
orderWarehouseInItemDoList
:
this
.
form1
.
table
.
map
(
e
=>
{
orderWarehouseInItemDoList
:
this
.
form1
.
table
.
map
(
e
=>
{
return
{
return
{
...
e
,
...
e
,
...
@@ -821,7 +824,7 @@ export default {
...
@@ -821,7 +824,7 @@ export default {
})
})
})
})
}
else
{
}
else
{
if
(
this
.
form
.
p
rodAttrIds
.
indexOf
(
4
)
!==
-
1
)
{
if
(
this
.
form
.
warehouseInP
rodAttrIds
.
indexOf
(
4
)
!==
-
1
)
{
return
this
.
$notify
({
return
this
.
$notify
({
title
:
this
.
$t
(
'
提示
'
),
title
:
this
.
$t
(
'
提示
'
),
message
:
this
.
$t
(
"
订单包含不接受货物,请检查
"
),
message
:
this
.
$t
(
"
订单包含不接受货物,请检查
"
),
...
@@ -845,7 +848,7 @@ export default {
...
@@ -845,7 +848,7 @@ export default {
volume
:
(
+
this
.
warehousing
.
volume
)?.
toFixed
(
2
)
||
''
,
volume
:
(
+
this
.
warehousing
.
volume
)?.
toFixed
(
2
)
||
''
,
weight
:
(
+
this
.
warehousing
.
weight
)?.
toFixed
(
2
)
||
''
,
weight
:
(
+
this
.
warehousing
.
weight
)?.
toFixed
(
2
)
||
''
,
prodId
:
this
.
form
.
prodId
,
prodId
:
this
.
form
.
prodId
,
prodAttrIds
:
this
.
form
.
p
rodAttrIds
.
join
(
'
,
'
),
warehouseInProdAttrIds
:
this
.
form
.
warehouseInP
rodAttrIds
.
join
(
'
,
'
),
"
orderWarehouseInUpdateItemDoList
"
:
this
.
form
.
table
.
map
(
e
=>
{
"
orderWarehouseInUpdateItemDoList
"
:
this
.
form
.
table
.
map
(
e
=>
{
return
{
return
{
...
e
,
...
e
,
...
@@ -871,7 +874,7 @@ export default {
...
@@ -871,7 +874,7 @@ export default {
orderItemId
:
this
.
warehousing
.
orderItemId
,
orderItemId
:
this
.
warehousing
.
orderItemId
,
orderNo
:
this
.
warehousing
.
orderNo
,
orderNo
:
this
.
warehousing
.
orderNo
,
isAppend
:
this
.
isAdd
?
true
:
undefined
,
isAppend
:
this
.
isAdd
?
true
:
undefined
,
prodAttrIds
:
this
.
form
.
p
rodAttrIds
.
join
(
'
,
'
),
warehouseInProdAttrIds
:
this
.
form
.
warehouseInP
rodAttrIds
.
join
(
'
,
'
),
orderWarehouseInItemDoList
:
this
.
form
.
table
.
map
(
e
=>
{
orderWarehouseInItemDoList
:
this
.
form
.
table
.
map
(
e
=>
{
return
{
return
{
...
e
,
...
e
,
...
@@ -910,13 +913,13 @@ export default {
...
@@ -910,13 +913,13 @@ export default {
this
.
form
.
prodTitleZh
=
product
.
titleZh
this
.
form
.
prodTitleZh
=
product
.
titleZh
this
.
form
.
prodTitleEn
=
product
.
titleEn
this
.
form
.
prodTitleEn
=
product
.
titleEn
this
.
handleBrandChange
(
parseInt
(
this
.
form
.
brand
))
this
.
handleBrandChange
(
parseInt
(
this
.
form
.
brand
))
this
.
form
.
p
rodAttrIds
=
product
.
attrId
?
product
.
attrId
.
split
(
'
,
'
).
map
(
e
=>
+
e
)
:
[]
this
.
form
.
warehouseInP
rodAttrIds
=
product
.
attrId
?
product
.
attrId
.
split
(
'
,
'
).
map
(
e
=>
+
e
)
:
[]
},
},
onProductChange1
(
product
){
onProductChange1
(
product
){
this
.
form1
.
prodTitleZh
=
product
.
titleZh
this
.
form1
.
prodTitleZh
=
product
.
titleZh
this
.
form1
.
prodTitleEn
=
product
.
titleEn
this
.
form1
.
prodTitleEn
=
product
.
titleEn
this
.
handleBrandChange
(
parseInt
(
this
.
form1
.
brand
))
this
.
handleBrandChange
(
parseInt
(
this
.
form1
.
brand
))
this
.
form1
.
p
rodAttrIds
=
product
.
attrId
?
product
.
attrId
.
split
(
'
,
'
).
map
(
e
=>
+
e
)
:
[]
this
.
form1
.
warehouseInP
rodAttrIds
=
product
.
attrId
?
product
.
attrId
.
split
(
'
,
'
).
map
(
e
=>
+
e
)
:
[]
},
},
getProductBrandPage
(
titleZh
=
undefined
)
{
getProductBrandPage
(
titleZh
=
undefined
)
{
getProductBrankPage
({
pageSize
:
20
,
titleZh
}).
then
(
r
=>
{
getProductBrankPage
({
pageSize
:
20
,
titleZh
}).
then
(
r
=>
{
...
@@ -1011,10 +1014,10 @@ export default {
...
@@ -1011,10 +1014,10 @@ export default {
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
新增成功
"
))
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
新增成功
"
))
if
(
this
.
activeName
===
'
first
'
)
{
if
(
this
.
activeName
===
'
first
'
)
{
this
.
form
.
prodId
=
response
.
data
this
.
form
.
prodId
=
response
.
data
this
.
form
.
p
rodAttrIds
=
this
.
productForm
.
attrArray
this
.
form
.
warehouseInP
rodAttrIds
=
this
.
productForm
.
attrArray
}
else
{
}
else
{
this
.
form1
.
prodId
=
response
.
data
this
.
form1
.
prodId
=
response
.
data
this
.
form1
.
p
rodAttrIds
=
this
.
productForm
.
attrArray
this
.
form1
.
warehouseInP
rodAttrIds
=
this
.
productForm
.
attrArray
}
}
this
.
productCancel
()
this
.
productCancel
()
})
})
...
...
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