Commit 511bf879 authored by 神话's avatar 神话
Browse files

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

parent 44b8ea46
import {findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType } from '@/api/api' import {findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType, getAccount} from '@/api/api'
export const FinancialListMixin = { export const FinancialListMixin = {
data () { data () {
...@@ -8,7 +8,8 @@ export const FinancialListMixin = { ...@@ -8,7 +8,8 @@ export const FinancialListMixin = {
organList: [], organList: [],
retailList: [], retailList: [],
userList: [], userList: [],
personList: [] personList: [],
accountList: []
} }
}, },
computed: { computed: {
...@@ -109,6 +110,14 @@ export const FinancialListMixin = { ...@@ -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) { onDateChange: function (value, dateString) {
this.queryParam.beginTime=dateString[0]; this.queryParam.beginTime=dateString[0];
this.queryParam.endTime=dateString[1]; this.queryParam.endTime=dateString[1];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment