Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李苏
lxyl-vue
Commits
34c578f9
Commit
34c578f9
authored
Mar 26, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拣货单,选择上架单/明细逻辑调整
parent
70f81440
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
13 deletions
+27
-13
edit.vue
src/views/ccgl/rkgl/sjrw/top/edit.vue
+1
-0
rkd.vue
src/views/ccgl/rkgl/sjrw/top/rkd.vue
+1
-1
xzrkqd.vue
src/views/ccgl/rkgl/sjrw/top/xzrkqd.vue
+25
-12
No files found.
src/views/ccgl/rkgl/sjrw/top/edit.vue
View file @
34c578f9
...
...
@@ -112,6 +112,7 @@
list
,
row
}
=
obj
console
.
log
(
list
,
row
,
'save goback'
)
if
(
list
&&
list
[
0
]
&&
list
[
0
].
kqid
)
{
this
.
form
.
kqid
=
list
[
0
].
kqid
}
...
...
src/views/ccgl/rkgl/sjrw/top/rkd.vue
View file @
34c578f9
...
...
@@ -4,7 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
<
el-button
@
click=
"ckmx(ctx.basePage)"
size=
'mini'
type=
"primary"
>
查看所选清单
</el-button
>
<
!--
<el-button
@
click=
"ckmx(ctx.basePage)"
size=
'mini'
type=
"primary"
>
查看所选清单
</el-button>
--
>
</
template
>
...
...
src/views/ccgl/rkgl/sjrw/top/xzrkqd.vue
View file @
34c578f9
...
...
@@ -2,11 +2,11 @@
<DefaultDialog
:app=
'app'
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<div
class=
"full"
>
<el-tabs
class=
"full"
v-model=
"activeName"
>
<el-tabs
@
tab-click=
'tabclick'
class=
"full"
v-model=
"activeName"
>
<el-tab-pane
class=
"full"
label=
"入库单"
name=
"first"
>
<Rkd
@
ckmx=
'ckmx'
/>
<Rkd
ref=
"rkd"
/>
</el-tab-pane>
<el-tab-pane
class=
"full"
label=
"入库清单"
name=
"second"
>
<el-tab-pane
class=
"full"
label=
"入库清单"
name=
"second"
>
<Rkqd
ref=
"rkqd"
/>
</el-tab-pane>
</el-tabs>
...
...
@@ -48,6 +48,26 @@
}
},
methods
:
{
tabclick
(
val
){
this
.
$nextTick
(()
=>
{
if
(
val
.
index
==
1
){
/* 查询明细*/
let
list
=
this
.
$refs
.
rkd
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
==
0
){
this
.
$warning
(
'请只是勾选一条入库单查询'
)
}
else
{
this
.
row
=
list
[
0
]
this
.
$refs
.
rkqd
.
$refs
.
basePage
.
queryParams
.
mids
=
list
.
map
(
item
=>
item
.
id
)
this
.
$refs
.
rkqd
.
$refs
.
basePage
.
$refs
[
'TablePager'
].
pageQuery
({
})
}
// this.activeName = 'second'
}
})
},
save
()
{
let
list
=
this
.
$refs
.
rkqd
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
==
0
){
...
...
@@ -55,7 +75,7 @@
}
else
{
let
obj
=
{
list
:
list
,
row
:
this
.
row
[
0
]
row
:
this
.
row
}
/* 判断库区是否一致*/
let
kqList
=
list
.
map
(
item
=>
item
.
kqid
||
'null'
)
...
...
@@ -77,6 +97,7 @@
this
.
app
.
showDialog
=
false
})
}
else
{
this
.
$emit
(
'save'
,
obj
)
this
.
app
.
showDialog
=
false
}
...
...
@@ -84,15 +105,7 @@
}
// if()
},
ckmx
(
list
)
{
this
.
row
=
list
this
.
$refs
.
rkqd
.
$refs
.
basePage
.
queryParams
.
mids
=
list
.
map
(
item
=>
item
.
id
)
this
.
$refs
.
rkqd
.
$refs
.
basePage
.
$refs
[
'TablePager'
].
pageQuery
({
})
this
.
activeName
=
'second'
}
}
}
</
script
>
...
...
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