给单据增加账户、状态和备注的筛选

This commit is contained in:
神话
2022-05-07 22:55:24 +08:00
parent 44b8ea4699
commit 511bf87984
21 changed files with 446 additions and 17 deletions

View File

@@ -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];