From 828fc537e31d0a3712417b38aeafe26252249dc0 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Tue, 25 Feb 2025 22:06:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E6=94=B6=E5=85=A5=E5=8D=95=E5=92=8C?= =?UTF-8?q?=E6=94=AF=E5=87=BA=E5=8D=95=E5=A2=9E=E5=8A=A0=E6=94=B6=E6=94=AF?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=9A=84=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/financial/ItemInList.vue | 11 +++++++++++ jshERP-web/src/views/financial/ItemOutList.vue | 11 +++++++++++ jshERP-web/src/views/financial/MoneyInList.vue | 8 ++++---- jshERP-web/src/views/financial/MoneyOutList.vue | 8 ++++---- .../financial/mixins/FinancialListMixin.js | 17 +++++++++++++---- 5 files changed, 43 insertions(+), 12 deletions(-) diff --git a/jshERP-web/src/views/financial/ItemInList.vue b/jshERP-web/src/views/financial/ItemInList.vue index a8e23893..190d2665 100644 --- a/jshERP-web/src/views/financial/ItemInList.vue +++ b/jshERP-web/src/views/financial/ItemInList.vue @@ -81,6 +81,15 @@ + + + + + {{ item.name }} + + + + @@ -176,6 +185,7 @@ creator: undefined, handsPersonId: undefined, accountId: undefined, + inOutItemId: undefined, status: undefined, remark: "" }, @@ -217,6 +227,7 @@ this.initUser() this.initPerson() this.initAccount() + this.initInOutItem('in') }, methods: { } diff --git a/jshERP-web/src/views/financial/ItemOutList.vue b/jshERP-web/src/views/financial/ItemOutList.vue index 6d417b25..c3df6cf7 100644 --- a/jshERP-web/src/views/financial/ItemOutList.vue +++ b/jshERP-web/src/views/financial/ItemOutList.vue @@ -81,6 +81,15 @@ + + + + + {{ item.name }} + + + + @@ -176,6 +185,7 @@ creator: undefined, handsPersonId: undefined, accountId: undefined, + inOutItemId: undefined, status: undefined, remark: "" }, @@ -217,6 +227,7 @@ this.initUser() this.initPerson() this.initAccount() + this.initInOutItem('out') }, methods: { } diff --git a/jshERP-web/src/views/financial/MoneyInList.vue b/jshERP-web/src/views/financial/MoneyInList.vue index 0521a7aa..17030340 100644 --- a/jshERP-web/src/views/financial/MoneyInList.vue +++ b/jshERP-web/src/views/financial/MoneyInList.vue @@ -82,13 +82,13 @@ - - + + - - + + diff --git a/jshERP-web/src/views/financial/MoneyOutList.vue b/jshERP-web/src/views/financial/MoneyOutList.vue index 0aecf6ac..c4a5b02b 100644 --- a/jshERP-web/src/views/financial/MoneyOutList.vue +++ b/jshERP-web/src/views/financial/MoneyOutList.vue @@ -82,13 +82,13 @@ - - + + - - + + diff --git a/jshERP-web/src/views/financial/mixins/FinancialListMixin.js b/jshERP-web/src/views/financial/mixins/FinancialListMixin.js index 97fd15a9..fcdd56dc 100644 --- a/jshERP-web/src/views/financial/mixins/FinancialListMixin.js +++ b/jshERP-web/src/views/financial/mixins/FinancialListMixin.js @@ -1,5 +1,7 @@ -import {findFinancialDetailByNumber, findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, - getUserList, getPersonByType, getAccount, getCurrentSystemConfig, getPlatformConfigByKey} from '@/api/api' +import { + findFinancialDetailByNumber, findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, + getUserList, getPersonByType, getAccount, getCurrentSystemConfig, getPlatformConfigByKey, findInOutItemByParam +} from '@/api/api' import { getCheckFlag, getFormatDate, getPrevMonthFormatDate } from '@/utils/util' import Vue from 'vue' import moment from 'moment' @@ -20,6 +22,7 @@ export const FinancialListMixin = { userList: [], personList: [], accountList: [], + inOutItemList: [], queryParam: { beginTime: getPrevMonthFormatDate(3), endTime: getFormatDate(), @@ -162,8 +165,14 @@ export const FinancialListMixin = { initAccount() { getAccount({}).then((res)=>{ if(res && res.code === 200) { - let list = res.data.accountList - this.accountList = list + this.accountList = res.data.accountList + } + }) + }, + initInOutItem(type) { + findInOutItemByParam({type:type}).then((res)=>{ + if(res) { + this.inOutItemList = res } }) },