优化代码引入的结构

This commit is contained in:
jishenghua
2025-04-30 22:04:00 +08:00
parent 508cac7743
commit 27027d2a7e
4 changed files with 7 additions and 36 deletions

View File

@@ -1,8 +1,8 @@
import Vue from 'vue'
import { getAction, postAction } from '@/api/manage'
import { FormTypes } from '@/utils/JEditableTableUtil'
import {findBillDetailByNumber, findBySelectSup, findBySelectCus, findBySelectRetail, getUserList, getAccount, waitBillCount,
getCurrentSystemConfig, getPlatformConfigByKey} from '@/api/api'
import {findBillDetailByNumber, findBySelectSup, findBySelectCus, findBySelectRetail, getUserList, getAccount,
waitBillCount, getCurrentSystemConfig, getPlatformConfigByKey} from '@/api/api'
import { getCheckFlag, getFormatDate, getMpListShort, getPrevMonthFormatDate } from '@/utils/util'
import moment from 'moment'
import pick from 'lodash.pick'

View File

@@ -1,16 +1,6 @@
import { FormTypes, getListData } from '@/utils/JEditableTableUtil'
import {
findBySelectCus,
findBySelectRetail,
findBySelectSup,
findStockByDepotAndBarCode,
getAccount,
getBatchNumberList,
getCurrentSystemConfig,
getMaterialByBarCode,
getPersonByNumType,
getPlatformConfigByKey
} from '@/api/api'
import { findBySelectCus, findBySelectRetail, findBySelectSup, findStockByDepotAndBarCode, getAccount,
getBatchNumberList, getCurrentSystemConfig, getMaterialByBarCode, getPersonByNumType, getPlatformConfigByKey } from '@/api/api'
import { getAction } from '@/api/manage'
import { getCheckFlag, getMpListShort, getNowFormatDateTime } from '@/utils/util'
import { USER_INFO } from '@/store/mutation-types'

View File

@@ -1,17 +1,5 @@
import {
findFinancialDetailByNumber,
findBySelectSup,
findBySelectCus,
findBySelectOrgan,
findBySelectRetail,
getUserList,
getPersonByType,
getAccount,
getCurrentSystemConfig,
getPlatformConfigByKey,
findInOutItemByParam,
getNeedCount
} from '@/api/api'
import { findFinancialDetailByNumber, findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType,
getAccount, getCurrentSystemConfig, getPlatformConfigByKey, findInOutItemByParam, getNeedCount } from '@/api/api'
import { getCheckFlag, getFormatDate, getPrevMonthFormatDate } from '@/utils/util'
import Vue from 'vue'
import moment from 'moment'

View File

@@ -293,14 +293,7 @@
import UnitModal from '../../system/modules/UnitModal'
import JEditableTable from '@/components/jeecg/JEditableTable'
import { FormTypes, getRefPromise, VALIDATE_NO_PASSED, validateFormAndTables } from '@/utils/JEditableTableUtil'
import {
changeNameToPinYin,
checkMaterial,
checkMaterialBarCode,
getMaterialAttributeNameList,
getMaterialAttributeValueListById,
getMaxBarCode,
queryMaterialCategoryTreeList } from '@/api/api'
import { changeNameToPinYin, checkMaterial, checkMaterialBarCode, getMaterialAttributeNameList, getMaterialAttributeValueListById, getMaxBarCode, queryMaterialCategoryTreeList } from '@/api/api'
import { autoJumpNextInput, handleIntroJs, removeByVal } from '@/utils/util'
import { getAction, httpAction } from '@/api/manage'
import JImageUpload from '@/components/jeecg/JImageUpload'