给单据增加账户、状态和备注的筛选
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user