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
026fc419
Commit
026fc419
authored
Aug 21, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓修改流程
parent
6940581c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
8 deletions
+25
-8
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+17
-3
index.vue
src/views/ecw/order/warehousing/index.vue
+8
-5
No files found.
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
026fc419
...
...
@@ -105,6 +105,13 @@
</el-table>
</el-card>
<div
v-if=
"edit"
>
<h2>
审批流程
</h2>
<work-flow
xmlkey=
"free_apply"
v-model=
"selectedUsers"
/>
<!-- <div>选择的用户:{{selectedUsers}}</div>-->
</div>
<span
slot=
"footer"
>
<el-button
@
click=
"opened = false"
>
关 闭
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit()"
>
提 交
</el-button>
...
...
@@ -116,15 +123,16 @@
<
script
>
import
dictSelector
from
"
@/components/DictSelector
"
import
{
DICT_TYPE
,
getDictDataLabel
}
from
"
@/utils/dict
"
import
warehousing
from
"
@/views/ecw/order/warehousing
"
import
{
orderWarehouseIn
}
from
"
@/api/ecw/order
"
import
{
getProductBrankPage
}
from
"
@/api/ecw/productBrank
"
import
WorkFlow
from
"
@/components/WorkFlow
"
export
default
{
name
:
'
editDialog
'
,
components
:
{
dictSelector
dictSelector
,
WorkFlow
},
props
:
{
...
...
@@ -132,6 +140,10 @@ export default {
type
:
Boolean
,
default
:
false
},
edit
:
{
type
:
Boolean
,
default
:
false
},
warehousing
:
{
type
:
Object
,
default
:
()
=>
{
...
...
@@ -183,7 +195,9 @@ export default {
"
prodType
"
:
0
,
"
type
"
:
0
},
// orderItem: {}
// orderItem: {},
selectedUsers
:
undefined
};
},
...
...
src/views/ecw/order/warehousing/index.vue
View file @
026fc419
...
...
@@ -63,10 +63,13 @@
prop=
"address"
label=
"操作"
>
<
template
v-slot=
"{ row, column, $index }"
>
<el-button
v-if=
"orderItemList[$index] && orderItemList[$index].orderWarehouseInBackItemDoList && orderItemList[$index].orderWarehouseInBackItemDoList.length > 0"
size=
"mini"
type=
"text"
@
click=
"handleWarehousing($index)"
>
追加
</el-button>
<el-button
v-else
size=
"mini"
type=
"text"
@
click=
"handleWarehousing($index)"
>
入仓
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousingReturn(row)"
>
退仓
</el-button>
<el-button
v-if=
"order.status === 5"
size=
"mini"
type=
"text"
@
click=
"handleWarehousing($index)"
>
修改
</el-button>
<template
v-else
>
<el-button
v-if=
"orderItemList[$index] && orderItemList[$index].orderWarehouseInBackItemDoList && orderItemList[$index].orderWarehouseInBackItemDoList.length > 0"
size=
"mini"
type=
"text"
@
click=
"handleWarehousing($index)"
>
追加
</el-button>
<el-button
v-else
size=
"mini"
type=
"text"
@
click=
"handleWarehousing($index)"
>
入仓
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousingReturn(row)"
>
退仓
</el-button>
</
template
>
</template>
</el-table-column>
</el-table>
...
...
@@ -86,7 +89,7 @@
</el-input>
</el-form-item>
<div
style=
"text-align: center;margin-top: 15px"
>
<div
style=
"text-align: center;margin-top: 15px"
v-if=
"order.status !== 5"
>
<el-button
@
click=
"escapeBol = true;"
type=
"primary"
>
转异
</el-button>
<el-button
type=
"primary"
@
click=
"finishVisible = true"
>
完成入仓
</el-button>
</div>
...
...
@@ -94,7 +97,7 @@
<warehouse-area-dialog
ref=
"area"
:visible.sync=
"areaVisible"
v-model=
"form.orderLocationCreateReqVOList"
:order-id=
"orderId"
></warehouse-area-dialog>
<edit-dialog
:visible.sync=
"warehousingVisible"
:warehousing=
"warehousing"
></edit-dialog>
<edit-dialog
:visible.sync=
"warehousingVisible"
:warehousing=
"warehousing"
:edit=
"order.status === 5"
></edit-dialog>
<!-- 完成入仓 -->
<el-dialog
...
...
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