优化代码引入的结构
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import { getAction, postAction } from '@/api/manage'
|
import { getAction, postAction } from '@/api/manage'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import {findBillDetailByNumber, findBySelectSup, findBySelectCus, findBySelectRetail, getUserList, getAccount, waitBillCount,
|
import {findBillDetailByNumber, findBySelectSup, findBySelectCus, findBySelectRetail, getUserList, getAccount,
|
||||||
getCurrentSystemConfig, getPlatformConfigByKey} from '@/api/api'
|
waitBillCount, getCurrentSystemConfig, getPlatformConfigByKey} from '@/api/api'
|
||||||
import { getCheckFlag, getFormatDate, getMpListShort, getPrevMonthFormatDate } from '@/utils/util'
|
import { getCheckFlag, getFormatDate, getMpListShort, getPrevMonthFormatDate } from '@/utils/util'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
|
|||||||
@@ -1,16 +1,6 @@
|
|||||||
import { FormTypes, getListData } from '@/utils/JEditableTableUtil'
|
import { FormTypes, getListData } from '@/utils/JEditableTableUtil'
|
||||||
import {
|
import { findBySelectCus, findBySelectRetail, findBySelectSup, findStockByDepotAndBarCode, getAccount,
|
||||||
findBySelectCus,
|
getBatchNumberList, getCurrentSystemConfig, getMaterialByBarCode, getPersonByNumType, getPlatformConfigByKey } from '@/api/api'
|
||||||
findBySelectRetail,
|
|
||||||
findBySelectSup,
|
|
||||||
findStockByDepotAndBarCode,
|
|
||||||
getAccount,
|
|
||||||
getBatchNumberList,
|
|
||||||
getCurrentSystemConfig,
|
|
||||||
getMaterialByBarCode,
|
|
||||||
getPersonByNumType,
|
|
||||||
getPlatformConfigByKey
|
|
||||||
} from '@/api/api'
|
|
||||||
import { getAction } from '@/api/manage'
|
import { getAction } from '@/api/manage'
|
||||||
import { getCheckFlag, getMpListShort, getNowFormatDateTime } from '@/utils/util'
|
import { getCheckFlag, getMpListShort, getNowFormatDateTime } from '@/utils/util'
|
||||||
import { USER_INFO } from '@/store/mutation-types'
|
import { USER_INFO } from '@/store/mutation-types'
|
||||||
|
|||||||
@@ -1,17 +1,5 @@
|
|||||||
import {
|
import { findFinancialDetailByNumber, findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType,
|
||||||
findFinancialDetailByNumber,
|
getAccount, getCurrentSystemConfig, getPlatformConfigByKey, findInOutItemByParam, getNeedCount } from '@/api/api'
|
||||||
findBySelectSup,
|
|
||||||
findBySelectCus,
|
|
||||||
findBySelectOrgan,
|
|
||||||
findBySelectRetail,
|
|
||||||
getUserList,
|
|
||||||
getPersonByType,
|
|
||||||
getAccount,
|
|
||||||
getCurrentSystemConfig,
|
|
||||||
getPlatformConfigByKey,
|
|
||||||
findInOutItemByParam,
|
|
||||||
getNeedCount
|
|
||||||
} from '@/api/api'
|
|
||||||
import { getCheckFlag, getFormatDate, getPrevMonthFormatDate } from '@/utils/util'
|
import { getCheckFlag, getFormatDate, getPrevMonthFormatDate } from '@/utils/util'
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
|
|||||||
@@ -293,14 +293,7 @@
|
|||||||
import UnitModal from '../../system/modules/UnitModal'
|
import UnitModal from '../../system/modules/UnitModal'
|
||||||
import JEditableTable from '@/components/jeecg/JEditableTable'
|
import JEditableTable from '@/components/jeecg/JEditableTable'
|
||||||
import { FormTypes, getRefPromise, VALIDATE_NO_PASSED, validateFormAndTables } from '@/utils/JEditableTableUtil'
|
import { FormTypes, getRefPromise, VALIDATE_NO_PASSED, validateFormAndTables } from '@/utils/JEditableTableUtil'
|
||||||
import {
|
import { changeNameToPinYin, checkMaterial, checkMaterialBarCode, getMaterialAttributeNameList, getMaterialAttributeValueListById, getMaxBarCode, queryMaterialCategoryTreeList } from '@/api/api'
|
||||||
changeNameToPinYin,
|
|
||||||
checkMaterial,
|
|
||||||
checkMaterialBarCode,
|
|
||||||
getMaterialAttributeNameList,
|
|
||||||
getMaterialAttributeValueListById,
|
|
||||||
getMaxBarCode,
|
|
||||||
queryMaterialCategoryTreeList } from '@/api/api'
|
|
||||||
import { autoJumpNextInput, handleIntroJs, removeByVal } from '@/utils/util'
|
import { autoJumpNextInput, handleIntroJs, removeByVal } from '@/utils/util'
|
||||||
import { getAction, httpAction } from '@/api/manage'
|
import { getAction, httpAction } from '@/api/manage'
|
||||||
import JImageUpload from '@/components/jeecg/JImageUpload'
|
import JImageUpload from '@/components/jeecg/JImageUpload'
|
||||||
|
|||||||
Reference in New Issue
Block a user