From 27027d2a7e8bc53d0afcb2a2333841dc0f2b9114 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Wed, 30 Apr 2025 22:04:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=E5=BC=95?= =?UTF-8?q?=E5=85=A5=E7=9A=84=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/bill/mixins/BillListMixin.js | 4 ++-- .../src/views/bill/mixins/BillModalMixin.js | 14 ++------------ .../views/financial/mixins/FinancialListMixin.js | 16 ++-------------- .../src/views/material/modules/MaterialModal.vue | 9 +-------- 4 files changed, 7 insertions(+), 36 deletions(-) diff --git a/jshERP-web/src/views/bill/mixins/BillListMixin.js b/jshERP-web/src/views/bill/mixins/BillListMixin.js index ad6cf19d..7a7db624 100644 --- a/jshERP-web/src/views/bill/mixins/BillListMixin.js +++ b/jshERP-web/src/views/bill/mixins/BillListMixin.js @@ -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' diff --git a/jshERP-web/src/views/bill/mixins/BillModalMixin.js b/jshERP-web/src/views/bill/mixins/BillModalMixin.js index a60b0246..4fe92689 100644 --- a/jshERP-web/src/views/bill/mixins/BillModalMixin.js +++ b/jshERP-web/src/views/bill/mixins/BillModalMixin.js @@ -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' diff --git a/jshERP-web/src/views/financial/mixins/FinancialListMixin.js b/jshERP-web/src/views/financial/mixins/FinancialListMixin.js index 652327a8..f608c045 100644 --- a/jshERP-web/src/views/financial/mixins/FinancialListMixin.js +++ b/jshERP-web/src/views/financial/mixins/FinancialListMixin.js @@ -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' diff --git a/jshERP-web/src/views/material/modules/MaterialModal.vue b/jshERP-web/src/views/material/modules/MaterialModal.vue index c815b64e..b6a7174e 100644 --- a/jshERP-web/src/views/material/modules/MaterialModal.vue +++ b/jshERP-web/src/views/material/modules/MaterialModal.vue @@ -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'