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
56734c6f
Commit
56734c6f
authored
May 17, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加搜索条件
parent
d46c98f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
104 deletions
+116
-104
index.vue
src/views/ccgl/thgl/rkth/top/index.vue
+88
-83
index.vue
src/views/ccgl/zlgl/jyd/top/index.vue
+28
-21
No files found.
src/views/ccgl/thgl/rkth/top/index.vue
View file @
56734c6f
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
showAdd
:
false
,
showAdd
:
false
,
power
:
{
power
:
{
add
:
false
,
add
:
false
,
copy
:
false
,
copy
:
false
,
...
@@ -41,11 +41,10 @@
...
@@ -41,11 +41,10 @@
saveSelected
:
false
saveSelected
:
false
},
},
config
:
{
config
:
{
queryDetail
:
true
,
queryDetail
:
true
,
/* 基本配置*/
/* 基本配置*/
url
:
'lxyl/rkgl/rkthtz'
,
url
:
'lxyl/rkgl/rkthtz'
,
tableTitle
:
[
tableTitle
:
[{
{
title
:
"状态"
,
title
:
"状态"
,
field
:
"zt"
,
field
:
"zt"
,
width
:
80
,
width
:
80
,
...
@@ -135,8 +134,7 @@
...
@@ -135,8 +134,7 @@
},
},
],
],
queryParams
:
[
queryParams
:
[
[
[{
{
label
:
'日期'
,
label
:
'日期'
,
startProp
:
"start"
,
startProp
:
"start"
,
endProp
:
"end"
,
endProp
:
"end"
,
...
@@ -148,14 +146,21 @@
...
@@ -148,14 +146,21 @@
{
{
label
:
'单号'
,
label
:
'单号'
,
prop
:
'djid'
,
prop
:
'djid'
,
span
:
4
,
span
:
5
,
type
:
'input'
,
value
:
''
},
{
label
:
'来源单号'
,
prop
:
'lydjid'
,
span
:
5
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
},
},
{
{
label
:
'状态'
,
label
:
'状态'
,
prop
:
'zt'
,
prop
:
'zt'
,
span
:
6
,
span
:
5
,
type
:
'RelSelect'
,
type
:
'RelSelect'
,
typeConfig
:
{
typeConfig
:
{
src
:
'lxyl/rkgl/rkthtz/init/zt'
src
:
'lxyl/rkgl/rkthtz/init/zt'
...
@@ -211,10 +216,10 @@
...
@@ -211,10 +216,10 @@
this
.
$warning
(
'请选中一条数据'
)
this
.
$warning
(
'请选中一条数据'
)
}
}
},
},
cgthtb
(
ctx
){
cgthtb
(
ctx
)
{
ctx
.
DialogWidth
=
'30vw'
ctx
.
DialogWidth
=
'30vw'
ctx
.
DialogTitle
=
'同步采购退货单'
ctx
.
DialogTitle
=
'同步采购退货单'
ctx
.
showDialog
=
true
ctx
.
showDialog
=
true
// if (ctx.singleItem && ctx.singleItem.id) {
// if (ctx.singleItem && ctx.singleItem.id) {
// this.$confirm('是否继续操作, 是否继续?', '提示', {
// this.$confirm('是否继续操作, 是否继续?', '提示', {
// confirmButtonText: '确定',
// confirmButtonText: '确定',
...
@@ -234,12 +239,12 @@
...
@@ -234,12 +239,12 @@
// this.$warning('请选中一条数据')
// this.$warning('请选中一条数据')
// }
// }
},
},
akck
(
ctx
){
akck
(
ctx
)
{
ctx
.
showAdd
=
true
ctx
.
showAdd
=
true
},
},
/* 示例*/
/* 示例*/
getRow
(
val
){
getRow
(
val
)
{
this
.
$emit
(
'getRow'
,
val
)
this
.
$emit
(
'getRow'
,
val
)
}
}
},
},
components
:
{
components
:
{
...
...
src/views/ccgl/zlgl/jyd/top/index.vue
View file @
56734c6f
...
@@ -183,7 +183,14 @@
...
@@ -183,7 +183,14 @@
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
}
}
]
],
[{
label
:
"检验批号"
,
prop
:
"jyph"
,
span
:
5
,
type
:
'input'
,
value
:
''
},
]
],
],
/* 默认启停用 */
/* 默认启停用 */
...
@@ -193,7 +200,7 @@
...
@@ -193,7 +200,7 @@
},
},
methods
:
{
methods
:
{
sendSap
(
ctx
){
sendSap
(
ctx
)
{
let
list
=
ctx
.
$refs
.
TablePager
.
selectedList
||
[]
let
list
=
ctx
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
>
0
)
{
if
(
list
.
length
>
0
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
...
...
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