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
f1a642fa
Commit
f1a642fa
authored
Jul 03, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7/3调整
parent
65520050
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
182 additions
and
22 deletions
+182
-22
kc.vue
src/views/ccgl/ckgl/ckd/top/kc.vue
+17
-9
index.vue
src/views/ccgl/ckgl/dbckd/top/index.vue
+1
-1
kc.vue
src/views/ccgl/ckgl/dbckd/top/kc.vue
+12
-4
kc.vue
src/views/ccgl/kngl/tpck/top/kc.vue
+19
-3
index.vue
src/views/ccgl/rkgl/lkjhhk/top/index.vue
+16
-2
xzck.vue
src/views/ccgl/rkgl/lkjhhk/top/xzck.vue
+99
-0
kc.vue
src/views/ccgl/thgl/rkth/top/kc.vue
+18
-3
No files found.
src/views/ccgl/ckgl/ckd/top/kc.vue
View file @
f1a642fa
<
template
>
<
template
>
<DefaultDialog
:app=
'app'
>
<DefaultDialog
:app=
'app'
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<BasePage
ref=
"basePage"
:power=
'power'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
ref="basePage" :power='power' class="min_full" :config="config">
<BasePage
:changeQueryParams=
'changeQueryParams'
ref=
"basePage"
:power=
'power'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
ref="basePage" :power='power' class="min_full" :config="config">
<template
#
dialog=
"ctx"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
</
template
>
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
[
[
{
{
label
:
'物料信息'
,
label
:
'物料信息'
,
prop
:
'
wlxxInfo
'
,
prop
:
'
condition
'
,
span
:
6
,
span
:
6
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
...
@@ -145,8 +145,8 @@
...
@@ -145,8 +145,8 @@
}
}
},
},
{
{
label
:
'容器编码'
,
label
:
"容器"
,
prop
:
'rqCode
'
,
prop
:
'rqInfos
'
,
span
:
6
,
span
:
6
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
...
@@ -170,6 +170,14 @@
...
@@ -170,6 +170,14 @@
}
}
},
},
methods
:
{
methods
:
{
changeQueryParams
(
queryParams
){
let
str
=
queryParams
.
rqInfos
let
trimmedStr
=
str
.
replace
(
/
\s
/g
,
''
);
// 使用正则表达式去除空格
trimmedStr
=
trimmedStr
.
replace
(
/,/
s
,
','
)
let
arr
=
trimmedStr
.
split
(
","
);
queryParams
.
rqInfos
=
arr
console
.
log
(
queryParams
.
rqInfos
)
},
save
(){
save
(){
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
==
0
){
if
(
list
.
length
==
0
){
...
...
src/views/ccgl/ckgl/dbckd/top/index.vue
View file @
f1a642fa
<
template
>
<
template
>
<BasePage
@
beforeEdit=
'beforeEdit'
:power=
'power'
@
getRow=
'getRow'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
<BasePage
ref=
"basePage"
@
beforeEdit=
'beforeEdit'
:power=
'power'
@
getRow=
'getRow'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<Akck
:type=
"'add'"
v-if=
"ctx.basePage.showAdd&&showName=='akck'"
:app=
'ctx.basePage'
:buttonApp=
'ctx.basePage'
/>
<Akck
:type=
"'add'"
v-if=
"ctx.basePage.showAdd&&showName=='akck'"
:app=
'ctx.basePage'
:buttonApp=
'ctx.basePage'
/>
...
...
src/views/ccgl/ckgl/dbckd/top/kc.vue
View file @
f1a642fa
<
template
>
<
template
>
<DefaultDialog
:app=
'app'
>
<DefaultDialog
:app=
'app'
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<BasePage
:toolButtonConfig=
"
{
<BasePage
:
changeQueryParams=
'changeQueryParams'
:
toolButtonConfig=
"
{
showExcel:false,
showExcel:false,
showPrint:false,
showPrint:false,
showField:true
showField:true
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
queryParams
:
[
queryParams
:
[
[{
[{
label
:
'物料信息'
,
label
:
'物料信息'
,
prop
:
'
wlinfo
'
,
prop
:
'
condition
'
,
span
:
6
,
span
:
6
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
...
@@ -162,8 +162,8 @@
...
@@ -162,8 +162,8 @@
},
},
{
{
label
:
"容器"
,
label
:
"容器"
,
prop
:
'rq
Code
'
,
prop
:
'rq
Infos
'
,
span
:
6
,
span
:
12
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
}
}
...
@@ -178,6 +178,14 @@
...
@@ -178,6 +178,14 @@
}
}
},
},
methods
:
{
methods
:
{
changeQueryParams
(
queryParams
){
let
str
=
queryParams
.
rqInfos
let
trimmedStr
=
str
.
replace
(
/
\s
/g
,
''
);
// 使用正则表达式去除空格
trimmedStr
=
trimmedStr
.
replace
(
/,/
s
,
','
)
let
arr
=
trimmedStr
.
split
(
","
);
queryParams
.
rqInfos
=
arr
console
.
log
(
queryParams
.
rqInfos
)
},
save
(){
save
(){
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
==
0
){
if
(
list
.
length
==
0
){
...
...
src/views/ccgl/kngl/tpck/top/kc.vue
View file @
f1a642fa
<
template
>
<
template
>
<DefaultDialog
:app=
'app'
>
<DefaultDialog
:app=
'app'
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<BasePage
:toolButtonConfig=
"
{
<BasePage
:changeQueryParams=
'changeQueryParams'
:toolButtonConfig=
"
{
showExcel:false,
showExcel:false,
showPrint:false,
showPrint:false,
showField:true
showField:true
...
@@ -128,18 +128,26 @@
...
@@ -128,18 +128,26 @@
queryParams
:
[
queryParams
:
[
[{
[{
label
:
'物料信息'
,
label
:
'物料信息'
,
prop
:
'
wlinfo
'
,
prop
:
'
condition
'
,
span
:
6
,
span
:
6
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
},
},
{
label
:
"容器"
,
prop
:
'rqInfos'
,
span
:
18
,
type
:
'input'
,
value
:
''
},
{
{
"label"
:
"仓库"
,
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"prop"
:
"ckid"
,
"span"
:
6
,
"span"
:
6
,
"type"
:
null
,
"type"
:
null
,
"value"
:
this
.
app
.
form
.
ckid
,
"value"
:
this
.
app
.
form
.
ckid
,
}
},
]
]
],
],
...
@@ -152,6 +160,14 @@
...
@@ -152,6 +160,14 @@
}
}
},
},
methods
:
{
methods
:
{
changeQueryParams
(
queryParams
){
let
str
=
queryParams
.
rqInfos
let
trimmedStr
=
str
.
replace
(
/
\s
/g
,
''
);
// 使用正则表达式去除空格
trimmedStr
=
trimmedStr
.
replace
(
/,/
s
,
','
)
let
arr
=
trimmedStr
.
split
(
","
);
queryParams
.
rqInfos
=
arr
console
.
log
(
queryParams
.
rqInfos
)
},
save
(){
save
(){
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
==
0
){
if
(
list
.
length
==
0
){
...
...
src/views/ccgl/rkgl/lkjhhk/top/index.vue
View file @
f1a642fa
...
@@ -2,12 +2,14 @@
...
@@ -2,12 +2,14 @@
<BasePage
ref=
"basePage"
@
getRow=
'getRow'
:power=
'power'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
<BasePage
ref=
"basePage"
@
getRow=
'getRow'
:power=
'power'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<Xzgw
ref=
"xzgw"
@
saveGw=
'saveGw'
:app=
'ctx.basePage'
v-if=
"ctx.basePage.showDialog"
/>
<Xzgw
ref=
"xzgw"
:app=
'ctx.basePage'
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle.includes('回库')"
/>
<Xzck
ref=
"xzck"
:app=
'ctx.basePage'
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='调整仓库'"
/>
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button
@
click=
"hk(ctx.basePage)"
size=
'mini'
type=
"primary"
>
回库
</el-button>
<el-button
@
click=
"hk(ctx.basePage)"
size=
'mini'
type=
"primary"
>
回库
</el-button>
<el-button
@
click=
"tzck(ctx.basePage)"
size=
'mini'
type=
"primary"
>
调整仓库
</el-button>
<!--
<el-button
@
click=
"close(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
-->
<!--
<el-button
@
click=
"close(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
-->
</
template
>
</
template
>
...
@@ -17,6 +19,7 @@
...
@@ -17,6 +19,7 @@
<
script
>
<
script
>
import
Edit
from
'./edit.vue'
import
Edit
from
'./edit.vue'
import
Xzgw
from
'./xzgw.vue'
import
Xzgw
from
'./xzgw.vue'
import
Xzck
from
'./xzck.vue'
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -214,6 +217,16 @@
...
@@ -214,6 +217,16 @@
getRow
(
val
)
{
getRow
(
val
)
{
this
.
$emit
(
'getRow'
,
val
)
this
.
$emit
(
'getRow'
,
val
)
},
},
tzck
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
ctx
.
DialogTitle
=
`调整仓库`
ctx
.
DialogWidth
=
'30vw'
ctx
.
showDialog
=
true
}
else
{
this
.
warning
(
'请选中一条数据'
)
}
},
hk
(
ctx
)
{
hk
(
ctx
)
{
let
map
=
{
let
map
=
{
'D'
:
'平库'
,
'D'
:
'平库'
,
...
@@ -256,7 +269,8 @@
...
@@ -256,7 +269,8 @@
},
},
components
:
{
components
:
{
Edit
,
Edit
,
Xzgw
Xzgw
,
Xzck
}
}
}
}
...
...
src/views/ccgl/rkgl/lkjhhk/top/xzck.vue
0 → 100644
View file @
f1a642fa
<
template
>
<DefaultDialog
v-loading=
'isLoading'
:element-loading-text=
"text"
:app=
'app'
>
<div
slot=
"form"
style=
""
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
:app=
"this"
class=
"editRow"
>
<EditColItem
:required=
"item.required||false"
:readonly=
"item.readonly?true:false "
v-for=
"(item,index) in editColItemList "
:value=
"item.value"
:span=
"item.span"
:label=
"item.label"
v-if=
"(item.show==false)?false:true"
:prop=
'item.prop'
:key=
"item.prop"
:type=
"item.type"
:typeConfig=
'item.typeConfig'
:rule=
"item.rule"
/>
<!-- 额外数据 -->
</el-row>
</el-form>
</div>
<div
slot=
"reFooter"
class=
"refooter"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"app.showDialog=false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"save()"
>
确 定
</el-button>
</span>
</div>
</DefaultDialog>
</
template
>
<
script
>
import
{
editMixin
,
editMixin_expand
}
from
'common'
export
default
{
mixins
:
[
editMixin
,
editMixin_expand
],
props
:
{
app
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
}
},
async
mounted
()
{
/* 初始化数据 */
},
watch
:{
},
data
()
{
return
{
apitype
:
null
,
isLoading
:
false
,
text
:
'加载中'
,
readonly
:
false
,
editColItemList
:
[
{
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"span"
:
24
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"lxyl/common/queryHkck"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
]
}
},
methods
:
{
save
()
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$post
(
'lxyl/rkgl/sjrw/ckhk/tzck'
,
{
id
:
this
.
app
.
singleItem
.
id
,
ckid
:
this
.
form
.
ckid
,
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$post
(
'操作成功'
)
this
.
app
.
showDialog
=
false
this
.
app
.
refresh
()
}
})
}
})
}
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/ccgl/thgl/rkth/top/kc.vue
View file @
f1a642fa
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
showExcel:false,
showExcel:false,
showPrint:false,
showPrint:false,
showField:true
showField:true
}" ref="basePage" :power='power' class="min_full" style="height: 100%;" :config="config"> ref="basePage" :power='power' class="min_full" :config="config">
}" ref="basePage"
:changeQueryParams='changeQueryParams'
:power='power' class="min_full" style="height: 100%;" :config="config"> ref="basePage" :power='power' class="min_full" :config="config">
<template
#
dialog=
"ctx"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
</
template
>
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
queryParams
:
[
queryParams
:
[
[{
[{
label
:
'物料信息'
,
label
:
'物料信息'
,
prop
:
'
wlinfo
'
,
prop
:
'
condition
'
,
span
:
6
,
span
:
6
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
...
@@ -146,7 +146,14 @@
...
@@ -146,7 +146,14 @@
"label"
:
"name"
"label"
:
"name"
}
}
}
}
}
},
{
label
:
"容器"
,
prop
:
'rqInfos'
,
span
:
18
,
type
:
'input'
,
value
:
''
},
]
]
],
],
...
@@ -159,6 +166,14 @@
...
@@ -159,6 +166,14 @@
}
}
},
},
methods
:
{
methods
:
{
changeQueryParams
(
queryParams
){
let
str
=
queryParams
.
rqInfos
let
trimmedStr
=
str
.
replace
(
/
\s
/g
,
''
);
// 使用正则表达式去除空格
trimmedStr
=
trimmedStr
.
replace
(
/,/
s
,
','
)
let
arr
=
trimmedStr
.
split
(
","
);
queryParams
.
rqInfos
=
arr
console
.
log
(
queryParams
.
rqInfos
)
},
save
(){
save
(){
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
==
0
){
if
(
list
.
length
==
0
){
...
...
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