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
05a56a76
Commit
05a56a76
authored
Aug 04, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
抄送人添加
parent
b007a325
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
33 deletions
+33
-33
addAssociatedOrder.vue
src/views/ecw/order/addAssociatedOrder.vue
+7
-1
associatedOrder.vue
src/views/ecw/order/associatedOrder.vue
+3
-3
batchSingleApplication.vue
src/views/ecw/order/batchSingleApplication.vue
+15
-17
feeApplication.vue
src/views/ecw/order/feeApplication.vue
+8
-12
No files found.
src/views/ecw/order/addAssociatedOrder.vue
View file @
05a56a76
...
@@ -25,7 +25,13 @@
...
@@ -25,7 +25,13 @@
<el-table-column
label=
"订单号"
prop=
"orderNo"
></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=
"唛头"
prop=
"marks"
></el-table-column>
<el-table-column
label=
"货物数据"
>
<el-table-column
label=
"货物数据"
>
<template
v-slot=
"
{row}">
<div
v-if=
"row.costVO"
>
箱数:
{{
row
.
costVO
.
totalNum
}}
{{
row
.
costVO
.
totalVolume
}}
m³
{{
row
.
costVO
.
totalWeight
}}
kg
</div>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"入仓时间"
prop=
"rucangTime"
></el-table-column>
<el-table-column
label=
"入仓时间"
prop=
"rucangTime"
></el-table-column>
<el-table-column
label=
"状态"
>
<el-table-column
label=
"状态"
>
...
...
src/views/ecw/order/associatedOrder.vue
View file @
05a56a76
...
@@ -32,13 +32,13 @@
...
@@ -32,13 +32,13 @@
width=
"55"
>
width=
"55"
>
</el-table-column>
</el-table-column>
<el-table-column
type=
"index"
label=
"序号"
></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=
"order
BackVO.order
No"
></el-table-column>
<el-table-column
label=
"唛头"
prop=
"marks"
></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=
"remarks"
></el-table-column>
<el-table-column
label=
"入仓时间"
></el-table-column>
<el-table-column
label=
"状态"
prop=
"status"
>
<el-table-column
label=
"状态"
prop=
"status"
>
<template
v-slot:default=
"scope"
>
<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
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
...
...
src/views/ecw/order/batchSingleApplication.vue
View file @
05a56a76
...
@@ -10,7 +10,13 @@
...
@@ -10,7 +10,13 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"下单统计"
>
<el-table-column
label=
"下单统计"
>
<
template
v-slot=
"{row}"
>
<div
v-if=
"row.costVO"
>
箱数:
{{
row
.
costVO
.
totalNum
}}
{{
row
.
costVO
.
totalVolume
}}
m³
{{
row
.
costVO
.
totalWeight
}}
kg
</div>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"入仓统计"
width=
"150"
>
<el-table-column
label=
"入仓统计"
width=
"150"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
...
@@ -30,7 +36,7 @@
...
@@ -30,7 +36,7 @@
<el-table-column
label=
"出货渠道"
>
<el-table-column
label=
"出货渠道"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"始发仓"
prop=
"startWarehouseName"
></el-table-column
>
<!-- <el-table-column label="始发仓" prop="startWarehouseName"></el-table-column>--
>
<el-table-column
label=
"目的地"
prop=
"objectiveName"
></el-table-column>
<el-table-column
label=
"目的地"
prop=
"objectiveName"
></el-table-column>
<el-table-column
label=
"发货人"
>
<el-table-column
label=
"发货人"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
...
@@ -68,13 +74,8 @@
...
@@ -68,13 +74,8 @@
审批流程
审批流程
</h1>
</h1>
<div
style=
"padding: 20px"
>
<div
style=
"padding: 20px"
>
<
my-process-viewer
key=
"designer"
v-model=
"bpmnXML"
v-bind=
"bpmnControlForm"
/>
<
work-flow
xmlkey=
"warehouse_transfer"
v-model=
"params.copyUserId"
/>
</div>
</div>
<div
style=
"height: 100px"
></div>
<!-- <el-form label-width="200px">-->
<!-- <el-form-item label="抄送"></el-form-item>-->
<!-- <el-form-item label="抄送人"></el-form-item>-->
<!-- </el-form>-->
<div
style=
"text-align: center"
>
<div
style=
"text-align: center"
>
<el-button
style=
"margin-right: 50px"
@
click=
"submit"
:disabled=
"isSubmit"
>
提交申请
</el-button>
<el-button
style=
"margin-right: 50px"
@
click=
"submit"
:disabled=
"isSubmit"
>
提交申请
</el-button>
<el-button
@
click=
"$router.push('/order/order')"
>
取消
</el-button>
<el-button
@
click=
"$router.push('/order/order')"
>
取消
</el-button>
...
@@ -93,22 +94,21 @@ import {
...
@@ -93,22 +94,21 @@ import {
import
{
getProcessDefinitionBpmnXMLByKey
}
from
"
@/api/bpm/definition
"
;
import
{
getProcessDefinitionBpmnXMLByKey
}
from
"
@/api/bpm/definition
"
;
import
warehouseDetails
from
"
@/views/ecw/order/components/warehouseDetails
"
;
import
warehouseDetails
from
"
@/views/ecw/order/components/warehouseDetails
"
;
import
{
getOrderPage
}
from
"
@/api/ecw/order
"
;
import
{
getOrderPage
}
from
"
@/api/ecw/order
"
;
import
workFlow
from
"
@/components/WorkFlow
"
;
export
default
{
export
default
{
name
:
"
batchSingleApplication
"
,
name
:
"
batchSingleApplication
"
,
props
:{
props
:{
orderList
:
String
,
orderList
:
String
,
},
},
components
:{
components
:{
warehouseDetails
warehouseDetails
,
workFlow
},
},
created
()
{
created
()
{
getOrderPage
({
orderIdList
:
this
.
orderList
}).
then
(
r
=>
{
getOrderPage
({
orderIdList
:
this
.
orderList
}).
then
(
r
=>
{
this
.
list
=
r
.
data
.
list
this
.
list
=
r
.
data
.
list
warehouseAdjustmentList
({
id
:
this
.
list
[
0
].
startWarehouseId
}).
then
(
r
=>
this
.
availableWarehouse
=
r
.
data
)
warehouseAdjustmentList
({
id
:
this
.
list
[
0
].
startWarehouseId
}).
then
(
r
=>
this
.
availableWarehouse
=
r
.
data
)
})
})
getProcessDefinitionBpmnXMLByKey
(
"
warehouse_transfer
"
).
then
(
response
=>
{
this
.
bpmnXML
=
response
.
data
})
},
},
computed
:{
computed
:{
isSubmit
(){
isSubmit
(){
...
@@ -125,6 +125,7 @@ export default {
...
@@ -125,6 +125,7 @@ export default {
data
(){
data
(){
return
{
return
{
list
:[],
list
:[],
selectedUsers
:[],
availableWarehouse
:[],
availableWarehouse
:[],
DICT_TYPE
,
DICT_TYPE
,
departureWarehouse
:
undefined
,
departureWarehouse
:
undefined
,
...
@@ -132,11 +133,8 @@ export default {
...
@@ -132,11 +133,8 @@ export default {
params
:{
params
:{
orderIds
:
undefined
,
orderIds
:
undefined
,
warehouseInId
:
undefined
,
warehouseInId
:
undefined
,
warehouseOutId
:
undefined
warehouseOutId
:
undefined
,
},
copyUserId
:[],
bpmnXML
:
null
,
bpmnControlForm
:
{
prefix
:
"
activiti
"
},
},
}
}
},
},
...
...
src/views/ecw/order/feeApplication.vue
View file @
05a56a76
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
<el-button>
取消
</el-button>
<el-button>
取消
</el-button>
</div>
</div>
<div
style=
"padding: 20px"
>
<div
style=
"padding: 20px"
>
<
my-process-viewer
key=
"designer"
v-model=
"bpmnXML"
v-bind=
"bpmnControlForm"
/>
<
work-flow
xmlkey=
"free_apply"
v-model=
"selectedUsers"
/>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -69,10 +69,10 @@
...
@@ -69,10 +69,10 @@
import
{
getOrder
,
feeApplicationCreate
,
ApplicationListByOrderId
,
applicationUpdate
}
from
"
@/api/ecw/order
"
;
import
{
getOrder
,
feeApplicationCreate
,
ApplicationListByOrderId
,
applicationUpdate
}
from
"
@/api/ecw/order
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
Template
from
"
@/views/cms/template
"
;
import
Template
from
"
@/views/cms/template
"
;
import
{
getProcessDefinitionBpmnXMLByKey
}
from
"
@/api/bpm/definition
"
;
import
workFlow
from
"
@/components/WorkFlow
"
;
export
default
{
export
default
{
name
:
"
feeApplication
"
,
name
:
"
feeApplication
"
,
components
:
{
Template
},
components
:
{
Template
,
workFlow
},
props
:{
props
:{
orderId
:[
Number
,
String
],
orderId
:[
Number
,
String
],
},
},
...
@@ -85,10 +85,7 @@ export default {
...
@@ -85,10 +85,7 @@ export default {
STATUS
:{},
STATUS
:{},
isModify
:[],
isModify
:[],
isModifyIf
:
false
,
isModifyIf
:
false
,
bpmnXML
:
null
,
selectedUsers
:[]
bpmnControlForm
:
{
prefix
:
"
activiti
"
},
}
}
},
},
created
()
{
created
()
{
...
@@ -100,10 +97,8 @@ export default {
...
@@ -100,10 +97,8 @@ export default {
this
.
getOrderList
()
this
.
getOrderList
()
this
.
getDictDatas
(
this
.
DICT_TYPE
.
AUDIT_STATUS
).
forEach
(
e
=>
{
this
.
getDictDatas
(
this
.
DICT_TYPE
.
AUDIT_STATUS
).
forEach
(
e
=>
{
this
.
STATUS
[
e
.
value
]
=
e
.
label
this
.
STATUS
[
e
.
value
]
=
e
.
label
}),
})
getProcessDefinitionBpmnXMLByKey
(
"
free_apply
"
).
then
(
response
=>
{
this
.
bpmnXML
=
response
.
data
})
},
},
computed
:{
computed
:{
forbidden
(){
forbidden
(){
...
@@ -142,10 +137,11 @@ export default {
...
@@ -142,10 +137,11 @@ export default {
})
})
}
else
{
}
else
{
if
(
this
.
list
[
this
.
list
.
length
-
1
].
status
===
0
){
if
(
this
.
list
[
this
.
list
.
length
-
1
].
status
===
0
){
feeApplicationCreate
(
{...
this
.
list
[
this
.
list
.
length
-
1
],
status
:
1
}).
then
(
r
=>
{
feeApplicationCreate
(
{...
this
.
list
[
this
.
list
.
length
-
1
],
status
:
1
,
copyUserId
:
this
.
selectedUsers
.
join
(
'
,
'
)
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
getOrderList
();
this
.
getOrderList
();
this
.
$message
.
success
(
'
添加成功
'
);
this
.
$message
.
success
(
'
添加成功
'
);
this
.
selectedUsers
=
[];
}
}
})
})
}
}
...
...
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