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
ad6517ea
Commit
ad6517ea
authored
Dec 14, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓的bug
parent
8160dba1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
index.vue
src/views/ecw/order/warehousing/index.vue
+6
-5
No files found.
src/views/ecw/order/warehousing/index.vue
View file @
ad6517ea
...
...
@@ -81,12 +81,12 @@
prop=
"address"
:label=
"$t('操作')"
>
<
template
v-slot=
"{ row, column, $index }"
>
<el-button
v-if=
"isEdit"
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(
$index
)"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
v-if=
"isEdit"
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(
row
)"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<template
v-else-if=
"orderItemList[$index] && orderItemList[$index].orderWarehouseInBackItemDoList && orderItemList[$index].orderWarehouseInBackItemDoList.length > 0"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(
$index
)"
>
{{
$t
(
'
追加
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(
row
)"
>
{{
$t
(
'
追加
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousingReturn(row)"
>
{{
$t
(
'
退仓
'
)
}}
</el-button>
</
template
>
<el-button
v-else
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(
$index
)"
>
{{$t('入仓')}}
</el-button>
<el-button
v-else
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(
row
)"
>
{{$t('入仓')}}
</el-button>
</template>
</el-table-column>
</el-table>
...
...
@@ -379,8 +379,9 @@ export default {
}
})
},
handleWarehousing
(
index
)
{
this
.
warehousing
=
{...
this
.
order
.
orderItemVOList
[
index
],
...
this
.
orderItemList
[
index
]}
handleWarehousing
(
row
)
{
let
wareItem
=
this
.
orderItemList
.
find
(
item
=>
item
.
orderItemId
==
row
.
orderItemId
)
||
{}
this
.
warehousing
=
{...
row
,
...
wareItem
}
this
.
warehousingVisible
=
true
},
handleWarehousingReturn
(
item
){
...
...
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