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
61576009
Commit
61576009
authored
Aug 15, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单互斥,订单关联数据回显
parent
5e9a7c39
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
81 additions
and
18 deletions
+81
-18
addAssociatedOrder.vue
src/views/ecw/order/addAssociatedOrder.vue
+5
-3
associatedOrder.vue
src/views/ecw/order/associatedOrder.vue
+22
-3
ordeDetailsForm.vue
src/views/ecw/order/components/ordeDetailsForm.vue
+2
-1
warehouseDetails.vue
src/views/ecw/order/components/warehouseDetails.vue
+4
-0
mutexOrder.vue
src/views/ecw/order/mutexOrder.vue
+28
-6
notMutexOrder.vue
src/views/ecw/order/notMutexOrder.vue
+20
-5
No files found.
src/views/ecw/order/addAssociatedOrder.vue
View file @
61576009
...
...
@@ -33,14 +33,16 @@
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"入仓时间"
prop=
"rucangTime"
></el-table-column>
<el-table-column
label=
"入仓时间"
prop=
"rucangTime"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
rucangTime
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
>
<
template
v-slot:default=
"scope"
>
<dict-tag
:value=
"scope.row.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作时间"
></el-table-column>
<el-table-column
label=
"操作"
>
<
template
v-slot:default=
"scope"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"joinAssociation(scope.row.orderId)"
>
加入关联
</el-button>
...
...
src/views/ecw/order/associatedOrder.vue
View file @
61576009
...
...
@@ -33,9 +33,25 @@
</el-table-column>
<el-table-column
type=
"index"
label=
"序号"
></el-table-column>
<el-table-column
label=
"订单号"
prop=
"orderBackVO.orderNo"
></el-table-column>
<el-table-column
label=
"唛头"
prop=
"marks"
></el-table-column>
<el-table-column
label=
"货物数据"
></el-table-column>
<el-table-column
label=
"入仓时间"
></el-table-column>
<el-table-column
label=
"唛头"
prop=
"orderBackVO.marks"
></el-table-column>
<el-table-column
label=
"货物数据"
>
<template
v-slot=
"
{row}">
<div>
{{
row
.
orderBackVO
.
costVO
.
totalNum
}}
箱
</div>
<div>
{{
row
.
orderBackVO
.
costVO
.
totalVolume
}}
m³
</div>
<div>
{{
row
.
orderBackVO
.
costVO
.
totalWorth
}}
KG
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"入仓时间"
prop=
"orderBackVO.rucangTime"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
orderBackVO
.
rucangTime
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
prop=
"status"
>
<
template
v-slot:default=
"scope"
>
<dict-tag
:value=
"scope.row.orderBackVO.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
...
...
@@ -68,12 +84,14 @@ import {
guanlianList
,
}
from
"
@/api/ecw/associatedOrder
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
Template
from
"
@/views/cms/template
"
;
export
default
{
name
:
"
associatedOrder
"
,
props
:{
orderId
:[
String
,
Boolean
]
},
components
:{
Template
,
ordeDetailsForm
},
computed
:{
...
...
@@ -113,6 +131,7 @@ export default {
guanlianList
(
this
.
params
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
list
=
r
.
data
console
.
log
(
this
.
list
[
0
])
}
})
},
...
...
src/views/ecw/order/components/ordeDetailsForm.vue
View file @
61576009
...
...
@@ -4,13 +4,14 @@
<el-descriptions-item
label=
"唛头"
>
{{
details
.
marks
}}
</el-descriptions-item>
<el-descriptions-item
label=
"已到箱数/总箱数"
>
{{
details
.
sumQuantity
||
0
}}
/
{{
details
.
totalsumNum
||
0
}}
</el-descriptions-item>
<el-descriptions-item
label=
"订单状态"
>
<dict-tag
:type=
"DICT_TYPE.ORDER_
ABNORMAL_STATE
"
:value=
"details.status"
/>
<dict-tag
:type=
"DICT_TYPE.ORDER_
STATUS
"
:value=
"details.status"
/>
</el-descriptions-item>
<el-descriptions-item
label=
"送货日期"
></el-descriptions-item>
<el-descriptions-item
label=
"运输方式"
>
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"details.transportId"
></dict-tag>
</el-descriptions-item>
<el-descriptions-item
label=
"出货渠道"
>
{{
details
.
channelId
}}
123
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"details.channelId"
></dict-tag>
</el-descriptions-item>
<el-descriptions-item
label=
"始发地"
>
{{
details
.
logisticsInfoDto
?
details
.
logisticsInfoDto
.
startTitleZh
:
''
}}
</el-descriptions-item>
...
...
src/views/ecw/order/components/warehouseDetails.vue
View file @
61576009
...
...
@@ -53,6 +53,9 @@
<el-table-column
label=
"目的地"
prop=
"objectiveName"
></el-table-column>
<el-table-column
label=
"发货人"
>
<
template
v-slot=
"{row}"
>
<div></div>
</
template
>
</el-table-column>
<el-table-column
label=
"收货人"
>
...
...
@@ -116,6 +119,7 @@ import {
import
{
applicationGetOrderByProcessId
,
feeApplicationGet
,
getOrder
,
getOrderPage
,}
from
"
@/api/ecw/order
"
;
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
;
import
Template
from
"
@/views/cms/template
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
export
default
{
components
:
{
Template
},
props
:{
...
...
src/views/ecw/order/mutexOrder.vue
View file @
61576009
...
...
@@ -32,17 +32,37 @@
width=
"55"
>
</el-table-column>
<el-table-column
type=
"index"
label=
"序号"
></el-table-column>
<el-table-column
label=
"订单号"
prop=
"orderNo"
></el-table-column>
<el-table-column
label=
"唛头"
prop=
"marks"
></el-table-column>
<el-table-column
label=
"货物数据"
></el-table-column>
<el-table-column
label=
"入仓时间"
prop=
"remarks"
></el-table-column>
<el-table-column
label=
"订单号"
prop=
"orderBackVO.orderNo"
></el-table-column>
<el-table-column
label=
"唛头"
prop=
"orderBackVO.marks"
></el-table-column>
<el-table-column
label=
"货物数据"
>
<template
v-slot=
"
{row}">
<div>
{{
row
.
orderBackVO
.
costVO
.
totalNum
}}
箱
</div>
<div>
{{
row
.
orderBackVO
.
costVO
.
totalVolume
}}
m³
</div>
<div>
{{
row
.
orderBackVO
.
costVO
.
totalWorth
}}
KG
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"入仓时间"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
orderBackVO
.
rucangTime
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
prop=
"status"
>
<
template
v-slot:default=
"scope"
>
<dict-tag
:value=
"scope.row.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
<dict-tag
:value=
"scope.row.
orderBackVO.
status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作时间"
prop=
"createTime"
></el-table-column>
<el-table-column
label=
"操作时间"
prop=
"createTime"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
orderBackVO
.
createTime
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
v-slot:default=
'scope'
>
<el-button
type=
"text"
@
click =
"guanlianOrderByOrderId(scope.row.orderId)"
>
...
...
@@ -64,12 +84,14 @@ import {
guanlianList
,
}
from
"
@/api/ecw/mutexOrder
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
Template
from
"
@/views/cms/template
"
;
export
default
{
name
:
"
mutexOrder
"
,
props
:{
orderId
:[
String
,
Boolean
]
},
components
:{
Template
,
ordeDetailsForm
},
data
(){
...
...
src/views/ecw/order/notMutexOrder.vue
View file @
61576009
...
...
@@ -13,7 +13,7 @@
</el-form-item>
</el-form>
<h1
class=
"title"
>
未加入
关联
订单列表
未加入
互斥
订单列表
</h1>
<el-divider></el-divider>
<el-table
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
...
...
@@ -24,15 +24,29 @@
<el-table-column
label=
"序号"
type=
"index"
></el-table-column>
<el-table-column
label=
"订单号"
prop=
"orderNo"
></el-table-column>
<el-table-column
label=
"唛头"
prop=
"marks"
></el-table-column>
<el-table-column
label=
"货物数据"
></el-table-column>
<el-table-column
label=
"入仓时间"
prop=
"rucangtime"
></el-table-column>
<el-table-column
label=
"货物数据"
>
<template
v-slot=
"
{row}">
<div>
{{
row
.
costVO
.
totalNum
}}
箱
</div>
<div>
{{
row
.
costVO
.
totalVolume
}}
m³
</div>
<div>
{{
row
.
costVO
.
totalWorth
}}
KG
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"入仓时间"
prop=
"rucangTime"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
rucangTime
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
>
<
template
v-slot:default=
"scope"
>
<dict-tag
:value=
"scope.row.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作时间"
></el-table-column>
<el-table-column
label=
"操作"
>
<
template
v-slot:default=
"scope"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"joinAssociation(scope.row.orderId)"
>
加入互斥
</el-button>
...
...
@@ -91,6 +105,7 @@ export default {
}).
then
(
r
=>
{
if
(
r
.
code
===
0
)
{
this
.
list
=
r
.
data
console
.
log
(
this
.
list
[
0
])
}
})
},
...
...
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