优化供应商和客户的加载逻辑

This commit is contained in:
jishenghua
2025-09-26 23:34:39 +08:00
parent 2fdcc41393
commit d12d35c6cd
5 changed files with 25 additions and 6 deletions

View File

@@ -221,7 +221,7 @@
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: "PurchaseInModal",
@@ -510,6 +510,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