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
5624865a
Commit
5624865a
authored
Feb 22, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust sjrw
parent
7cc5f283
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
62 additions
and
3 deletions
+62
-3
index.vue
src/views/ccgl/rkgl/rkd/top/index.vue
+2
-2
edit.vue
src/views/ccgl/rkgl/sjrw/top/edit.vue
+20
-0
index.vue
src/views/ccgl/rkgl/sjrw/top/index.vue
+21
-0
rkqd.vue
src/views/ccgl/rkgl/sjrw/top/rkqd.vue
+12
-1
xzrkqd.vue
src/views/ccgl/rkgl/sjrw/top/xzrkqd.vue
+7
-0
No files found.
src/views/ccgl/rkgl/rkd/top/index.vue
View file @
5624865a
...
...
@@ -13,7 +13,7 @@
<el-button
@
click=
"qxqr(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消确认
</el-button>
<el-button
@
click=
"sapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
SAP过账
</el-button>
<el-button
@
click=
"tbshd(ctx.basePage)"
size=
'mini'
type=
"primary"
>
同步送货单
</el-button>
<el-button
@
click=
"qktjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
清空推荐库位
</el-button
>
<!--
<el-button
@
click=
"qktjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
清空推荐库位
</el-button>
--
>
</
template
>
</BasePage>
...
...
@@ -228,7 +228,7 @@
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/rkgl/
rktz/empty
'
,{
this
.
$post
(
'lxyl/rkgl/
sjtz/cleanKw
'
,{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
...
...
src/views/ccgl/rkgl/sjrw/top/edit.vue
View file @
5624865a
...
...
@@ -66,6 +66,9 @@
},
xzrkqdSave
(
obj
){
let
{
list
,
row
}
=
obj
if
(
list
&&
list
[
0
]
&&
list
[
0
].
kqid
){
this
.
form
.
kqid
=
list
[
0
].
kqid
}
this
.
form
.
swlxid
=
row
.
swlxid
this
.
form
.
lydjid
=
row
.
id
this
.
form
.
ckid
=
row
.
ckid
...
...
@@ -167,6 +170,23 @@
}
}
},
{
"label"
:
"库区"
,
"prop"
:
"kqid"
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
// "required": true,
"typeConfig"
:
{
"src"
:
"wms/jcsj/kq/query"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
},
linkage
:
true
,
linkParams
:
[
'ckid'
]
}
},
{
"label"
:
"事务类型"
,
"prop"
:
"swlxid"
,
...
...
src/views/ccgl/rkgl/sjrw/top/index.vue
View file @
5624865a
...
...
@@ -6,6 +6,7 @@
</
template
>
<
template
#
toolbar=
"ctx"
>
<el-button
@
click=
"tjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
推荐库位
</el-button>
<el-button
@
click=
"qktjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
清空推荐库位
</el-button>
<!--
<ImportButton
@
success=
"()=>
{
ctx.basePage.refresh()
}" :url="'/wms/rkgl/rktz/import'" /> -->
...
...
@@ -180,6 +181,26 @@
},
methods
:
{
qktjkw
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
this
.
$confirm
(
'是否继续该操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/rkgl/sjtz/cleanKw '
,{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
tjkw
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
this
.
$confirm
(
'是否继续?'
,
'提示'
,
{
...
...
src/views/ccgl/rkgl/sjrw/top/rkqd.vue
View file @
5624865a
...
...
@@ -40,7 +40,13 @@
/* 基本配置*/
url
:
'wms/rkgl/rktz'
,
queryUrl
:
'lxyl/rkgl/sjtz/query/rktzqd'
,
tableTitle
:
[{
tableTitle
:
[
{
title
:
"库区"
,
field
:
"kqName"
,
width
:
180
},
{
title
:
"物料编码"
,
field
:
"wlxxCode"
,
fieldType
:
"upper"
,
...
...
@@ -82,6 +88,11 @@
field
:
"packCode"
,
width
:
240
,
},
{
title
:
"负责人"
,
field
:
"fzrName"
,
width
:
200
,
},
{
title
:
"容器"
,
field
:
"rqCode"
,
...
...
src/views/ccgl/rkgl/sjrw/top/xzrkqd.vue
View file @
5624865a
...
...
@@ -59,6 +59,13 @@
list
:
list
,
row
:
this
.
row
}
/* 判断库区是否一致*/
let
kqList
=
list
.
map
(
item
=>
item
.
kqid
||
'null'
)
kqList
=
[...
new
Set
(
kqList
)]
if
(
kqList
.
length
>
1
){
this
.
$warning
(
'所选库区存在不一致,请重新选择'
)
return
}
/* 判定list wlid是否重复*/
let
wlzList
=
list
.
map
(
item
=>
item
.
wlxxWlzid
)
wlzList
=
[...
new
Set
(
wlzList
)]
...
...
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