|
@@ -81,7 +81,7 @@ export default {
|
81
|
81
|
orgid: x => x.app.user.OrgId
|
82
|
82
|
}),
|
83
|
83
|
...mapLibSate({
|
84
|
|
- list: s => s.list,
|
|
84
|
+ list: s => s.bookReturn.list,
|
85
|
85
|
borrowHistory: s => s.borrow.history
|
86
|
86
|
})
|
87
|
87
|
},
|
|
@@ -102,7 +102,9 @@ export default {
|
102
|
102
|
})
|
103
|
103
|
return
|
104
|
104
|
}
|
105
|
|
-
|
|
105
|
+ this.getList()
|
|
106
|
+ },
|
|
107
|
+ getList () {
|
106
|
108
|
this.getBorrowHistory({ customerInfo: this.customerInfo })
|
107
|
109
|
.then(() => {
|
108
|
110
|
this.active = 1
|
|
@@ -114,9 +116,6 @@ export default {
|
114
|
116
|
type: 'error'
|
115
|
117
|
})
|
116
|
118
|
})
|
117
|
|
- this.getList()
|
118
|
|
- },
|
119
|
|
- getList () {
|
120
|
119
|
this.getUserReturn({ customerInfo: this.customerInfo, page: 1, pagesize: 1000 })
|
121
|
120
|
.then(() => {
|
122
|
121
|
|