优化代码引入的结构
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user