Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e99c4026
authored
2022-12-29 12:10:38 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
功能完善
1 parent
ac87420f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
16 deletions
src/views/sqcx/dydjb/components/addDydjb.vue
src/views/sqcx/dydjb/components/dydjbInfo.vue
src/views/sqcx/dydjb/dydjb.vue
src/views/sqcx/dydjb/components/addDydjb.vue
View file @
e99c402
...
...
@@ -147,8 +147,11 @@ export default {
getJtfcInfo
({
sqcxBsm
:
this
.
sqcxBsm
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
==
200
)
{
this
.
form
=
res
.
result
;
this
.
activeStep
=
2
;
this
.
isSearch
=
true
;
this
.
$nextTick
(()
=>
{
this
.
$refs
.
dydjbInfo
.
setResult
(
res
.
result
)
})
}
});
},
...
...
@@ -162,7 +165,6 @@ export default {
this
.
activeStep
=
2
;
this
.
isSearch
=
true
;
this
.
$nextTick
(()
=>
{
console
.
log
(
this
.
$refs
.
dydjbInfo
,
22222
);
this
.
$refs
.
dydjbInfo
.
setResult
(
res
.
result
)
})
this
.
$parent
.
queryClick
();
...
...
src/views/sqcx/dydjb/components/dydjbInfo.vue
View file @
e99c402
...
...
@@ -30,25 +30,17 @@
<lb-table
:column=
"yydjColumns"
key=
"yydj"
:data=
"resultData.yydjDetail"
:maxHeight=
"200"
heightNumSetting
:pagination=
"false"
>
</lb-table>
<div
class=
"submit-button"
style=
"padding-bottom:50px"
>
<el-button
@
click=
"resetClick"
v-show=
"!isSearch"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"queryChick"
v-show=
"!isSearch"
>
查询
</el-button>
<el-button
@
click=
"closeDialog"
>
关闭
</el-button>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
datas
,
sendThis
}
from
"./infodata"
;
import
{
getJtfcInfo
}
from
"@/api/sqcx"
;
export
default
{
props
:
{
},
created
()
{
},
data
()
{
return
{
ruleForm
:
{
...
...
@@ -76,8 +68,6 @@ export default {
mounted
()
{
},
methods
:
{
setResult
(
data
){
console
.
log
(
data
,
11111
);
this
.
resultData
=
data
}
},
...
...
src/views/sqcx/dydjb/dydjb.vue
View file @
e99c402
...
...
@@ -92,9 +92,13 @@ export default {
});
},
dydjbClick
(
scope
)
{
popupDialog
(
"打印登记薄"
,
"sqcx/dydjb/components/dydjbInfo"
,
{
sqcxdata
:
scope
.
row
,
});
this
.
$nextTick
(()
=>
{
this
.
isDialog
=
true
this
.
sqcxBsm
=
scope
.
row
.
bsmSqcx
})
// popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
// bsmSqcx: scope.row.bsmSqcx,
// });
},
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
...
...
Please
register
or
sign in
to post a comment