给单据增加账户、状态和备注的筛选
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType } from '@/api/api'
|
||||
import {findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType, getAccount} from '@/api/api'
|
||||
|
||||
export const FinancialListMixin = {
|
||||
data () {
|
||||
@@ -8,7 +8,8 @@ export const FinancialListMixin = {
|
||||
organList: [],
|
||||
retailList: [],
|
||||
userList: [],
|
||||
personList: []
|
||||
personList: [],
|
||||
accountList: []
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -109,6 +110,14 @@ export const FinancialListMixin = {
|
||||
}
|
||||
})
|
||||
},
|
||||
initAccount() {
|
||||
getAccount({}).then((res)=>{
|
||||
if(res && res.code === 200) {
|
||||
let list = res.data.accountList
|
||||
this.accountList = list
|
||||
}
|
||||
})
|
||||
},
|
||||
onDateChange: function (value, dateString) {
|
||||
this.queryParam.beginTime=dateString[0];
|
||||
this.queryParam.endTime=dateString[1];
|
||||
|
||||
Reference in New Issue
Block a user