优化供应商和客户的加载逻辑
This commit is contained in:
@@ -190,11 +190,10 @@
|
||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||
import { getMpListShort} from "@/utils/util"
|
||||
import { getAction } from '@/api/manage'
|
||||
import JUpload from '@/components/jeecg/JUpload'
|
||||
import JDate from '@/components/jeecg/JDate'
|
||||
import Vue from 'vue'
|
||||
import { getCurrentSystemConfig } from '@/api/api'
|
||||
import { getCurrentSystemConfig, findBySelectSup } from '@/api/api'
|
||||
export default {
|
||||
name: "PurchaseBackModal",
|
||||
mixins: [JEditableTableMixin, BillModalMixin],
|
||||
@@ -452,6 +451,9 @@
|
||||
'accountId': accountId,
|
||||
'remark': remark
|
||||
})
|
||||
findBySelectSup({organId: organId}).then((res)=> {
|
||||
this.supList = res && Array.isArray(res) ? res : [];
|
||||
})
|
||||
getCurrentSystemConfig().then((res) => {
|
||||
if (res.code === 200 && res.data) {
|
||||
let flag = res.data.zeroChangeAmountFlag==='1'?true:false
|
||||
|
||||
Reference in New Issue
Block a user