优化收入和支出单的查询条件

This commit is contained in:
季圣华
2021-12-05 22:37:56 +08:00
parent 2c395b39d1
commit 82297eb257
3 changed files with 18 additions and 9 deletions

View File

@@ -1,10 +1,11 @@
import {findBySelectSup, findBySelectCus, findBySelectRetail, getUserList, getPersonByType } from '@/api/api'
import {findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType } from '@/api/api'
export const FinancialListMixin = {
data () {
return {
supList: [],
cusList: [],
organList: [],
retailList: [],
userList: [],
personList: []
@@ -77,6 +78,14 @@ export const FinancialListMixin = {
}
});
},
initOrgan() {
let that = this;
findBySelectOrgan({}).then((res)=>{
if(res) {
that.organList = res;
}
});
},
initRetail() {
let that = this;
findBySelectRetail({}).then((res)=>{