给销售出库增加销售人员
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { VALIDATE_NO_PASSED, validateFormAndTables } from '@/utils/JEditableTableUtil'
|
||||
import {findBySelectSup,findBySelectCus,findBySelectRetail,getMaterialByBarCode,findStockByDepotAndBarCode,getAccount} from '@/api/api'
|
||||
import {findBySelectSup,findBySelectCus,findBySelectRetail,getMaterialByBarCode,findStockByDepotAndBarCode,getAccount,getPersonByNumType} from '@/api/api'
|
||||
import { getAction,putAction } from '@/api/manage'
|
||||
import { getMpListShort, getNowFormatDateTime } from "@/utils/util"
|
||||
import Vue from 'vue'
|
||||
@@ -12,6 +12,10 @@ export const BillModalMixin = {
|
||||
supList: [],
|
||||
cusList: [],
|
||||
retailList: [],
|
||||
personList: {
|
||||
options: [],
|
||||
value: ''
|
||||
},
|
||||
depotList: [],
|
||||
accountList: [],
|
||||
accountIdList: [],
|
||||
@@ -35,6 +39,7 @@ export const BillModalMixin = {
|
||||
this.initSupplier()
|
||||
this.initCustomer()
|
||||
this.initRetail()
|
||||
this.initSalesman()
|
||||
this.initDepot()
|
||||
this.initAccount()
|
||||
},
|
||||
@@ -96,6 +101,14 @@ export const BillModalMixin = {
|
||||
}
|
||||
});
|
||||
},
|
||||
initSalesman() {
|
||||
let that = this;
|
||||
getPersonByNumType({type:1}).then((res)=>{
|
||||
if(res) {
|
||||
that.personList.options = res;
|
||||
}
|
||||
});
|
||||
},
|
||||
initDepot() {
|
||||
let that = this;
|
||||
getAction('/depot/findDepotByUserId?UBType=UserDepot&UBKeyId=').then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user