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

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,6 +1,6 @@
import Vue from 'vue'
import {getAction } from '@/api/manage'
import {findBySelectSup, findBySelectCus, findBySelectRetail, getUserList } from '@/api/api'
import {findBySelectSup, findBySelectCus, findBySelectRetail, getUserList, getAccount} from '@/api/api'
export const BillListMixin = {
data () {
@@ -8,7 +8,8 @@ export const BillListMixin = {
supList: [],
cusList: [],
retailList: [],
userList: []
userList: [],
accountList: []
}
},
computed: {
@@ -128,6 +129,14 @@ export const BillListMixin = {
this.userList = res;
}
});
},
initAccount() {
getAccount({}).then((res)=>{
if(res && res.code === 200) {
let list = res.data.accountList
this.accountList = list
}
})
}
}
}