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
0246fe66
Commit
0246fe66
authored
Jul 17, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓退仓交互
parent
d6638af3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+1
-1
index.vue
src/views/ecw/order/warehousing/index.vue
+20
-2
No files found.
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
0246fe66
...
...
@@ -87,7 +87,7 @@ export default {
data
()
{
return
{
DICT_TYPE
,
opened
:
tru
e
,
opened
:
fals
e
,
form
:
{
material
:
undefined
,
time
:
0
...
...
src/views/ecw/order/warehousing/index.vue
View file @
0246fe66
...
...
@@ -56,8 +56,8 @@
label=
"操作"
>
<
template
v-slot=
"{row}"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(row.prodId)"
>
入仓
</el-button>
<el-button
size=
"mini"
type=
"text"
>
追加
</el-button>
<el-button
size=
"mini"
type=
"text"
>
退仓
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(row.prodId)"
>
追加
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousingReturn(row)"
>
退仓
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -203,6 +203,24 @@ export default {
handleWarehousing
(
id
)
{
this
.
warehousingId
=
id
this
.
warehousingVisible
=
true
},
handleWarehousingReturn
(
item
){
this
.
$confirm
(
item
.
prodTitleZh
+
'
退仓后不可恢复,是否确认退仓?
'
,
'
确定要退仓?
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
console
.
log
(
item
.
id
)
this
.
$message
({
type
:
'
success
'
,
message
:
'
删除成功!
'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
info
'
,
message
:
'
已取消删除
'
});
});
}
}
}
...
...
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