Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dd_school
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqi
dd_school
Commits
32060d3d
Commit
32060d3d
authored
Aug 16, 2023
by
zhaopanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zpy 8.16
parent
063e4e48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
ruoyi-ui/src/views/smartSchool/schoolProperty/collectionLedger/index.vue
+4
-9
No files found.
ruoyi-ui/src/views/smartSchool/schoolProperty/collectionLedger/index.vue
View file @
32060d3d
...
...
@@ -5,12 +5,8 @@
<el-input
v-model=
"queryParams.equipmentName"
placeholder=
"请输入设备名称"
clearable
/>
</el-form-item>
<el-form-item
label=
"领用人"
prop=
"recipientBy"
>
<el-select
v-model=
"queryParams.recipientBy"
filterable
placeholder=
"请选择领用人"
clearable
>
<el-option
v-for=
"(item, index) in userListly"
:key=
"index"
:label=
"item.userName"
:value=
"item.userId"
>
</el-option>
</el-select>
<el-input
v-model=
"queryParams.recipientBy"
placeholder=
"请输入领用人"
clearable
/>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"getList"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
...
...
@@ -249,6 +245,7 @@ export default {
this
.
loading
=
false
;
})
},
// 0新增、1编辑、2查看
handleOption
(
type
,
item
)
{
this
.
collectionForm
=
{
id
:
''
,
...
...
@@ -285,7 +282,7 @@ export default {
}
this
.
dialogVisible
=
true
},
//获取领用人数据
getSelectUser
()
{
getUserList
().
then
(
res
=>
{
...
...
@@ -350,7 +347,7 @@ export default {
}
},
reset
()
{
// 这里需要重置对话框表单
this
.
collectionForm
=
{
...
...
@@ -374,10 +371,8 @@ export default {
submitForm
()
{
const
recipientById
=
this
.
collectionForm
.
recipientById
;
this
.
collectionForm
.
recipientBy
=
recipientById
==
''
?
''
:
this
.
userListly
.
find
(
item
=>
item
.
userId
==
recipientById
).
userName
const
receivedById
=
this
.
collectionForm
.
receivedById
;
this
.
collectionForm
.
receivedBy
=
receivedById
==
''
?
''
:
this
.
adminUserListjs
.
find
(
item
=>
item
.
adminId
==
receivedById
).
admin
this
.
$refs
[
"achievementForm"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
this
.
nowType
==
1
)
{
...
...
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