收入、支出单改为支持供应商和客户同时选择
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { VALIDATE_NO_PASSED, validateFormAndTables } from '@/utils/JEditableTableUtil'
|
||||
import {findBySelectSup,findBySelectCus,findBySelectRetail,findStockByDepotAndBarCode,getAccount,getPersonByType,findInOutItemByParam} from '@/api/api'
|
||||
import {findBySelectSup,findBySelectCus,findBySelectRetail,findBySelectOrgan,findStockByDepotAndBarCode,getAccount,getPersonByType,findInOutItemByParam} from '@/api/api'
|
||||
import { getAction,putAction } from '@/api/manage'
|
||||
import { getMpListShort, getNowFormatDateTime } from "@/utils/util"
|
||||
import Vue from 'vue'
|
||||
@@ -11,6 +11,7 @@ export const FinancialModalMixin = {
|
||||
supList: [],
|
||||
cusList: [],
|
||||
retailList: [],
|
||||
organList: [],
|
||||
personList: [],
|
||||
accountList: [],
|
||||
spans: {
|
||||
@@ -73,6 +74,14 @@ export const FinancialModalMixin = {
|
||||
}
|
||||
});
|
||||
},
|
||||
initOrgan() {
|
||||
let that = this;
|
||||
findBySelectOrgan({}).then((res)=>{
|
||||
if(res) {
|
||||
that.organList = res;
|
||||
}
|
||||
});
|
||||
},
|
||||
initRetail() {
|
||||
let that = this;
|
||||
findBySelectRetail({}).then((res)=>{
|
||||
|
||||
Reference in New Issue
Block a user