From bfa5f6b1a12b0ca90996abe67e8f6a3a35404bdf Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Wed, 22 Oct 2025 16:29:11 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=AD=9B=E9=80=89bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/moneyManage/receiveDetail/receiveDetail.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/moneyManage/receiveDetail/receiveDetail.vue b/src/views/moneyManage/receiveDetail/receiveDetail.vue index 4f186fd..28cb502 100644 --- a/src/views/moneyManage/receiveDetail/receiveDetail.vue +++ b/src/views/moneyManage/receiveDetail/receiveDetail.vue @@ -687,11 +687,13 @@ const search = () => { const reset = () => { searchData.value = {} getTime.value = [] + getlist() } //获得表格数据接口 const getlist = async () => { try { let payCurrencySelect = '' + let goodsName = '' if (getTime.value && getTime.value.length === 2) { searchData.value.startTime = moment(getTime.value[0]).format('YYYY-MM-DD HH:mm:ss') searchData.value.endTime = moment(getTime.value[1]).format('YYYY-MM-DD HH:mm:ss') @@ -702,7 +704,7 @@ const getlist = async () => { } if (searchData.value.goodsName) { - searchData.value.goodsName = searchData.value.goodsName[searchData.value.goodsName.length - 1] + goodsName = searchData.value.goodsName[searchData.value.goodsName.length - 1] } if (searchData.value.paymentCurrency) { payCurrencySelect = CurrencyForId(searchData.value.paymentCurrency) @@ -739,7 +741,9 @@ const getlist = async () => { receivedMarket: MarketNameForId(receivedMarket), cashRoleId: cashRoleId, paymentCurrency: payCurrencySelect, - submitterMarket: receivedMarket + submitterMarket: receivedMarket, + goodsName:goodsName, + market:MarketNameForId(searchData.market) } } }) @@ -985,7 +989,7 @@ const beforeUpload = (rawFile) => { ElMessage.error('图片必须是jpg或png类型!') return false } else if (rawFile.size / 1024 / 1024 > 1) { - ElMessage.error('图片大小不能超过 1MB!') + ElMessage.error('图片大小不能超过 2MB!') return false } return true From 883821a9c0da3f86181301a3c3767c8869e86ea0 Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Wed, 22 Oct 2025 17:12:11 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/workspace/CashManagement.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/workspace/CashManagement.vue b/src/components/workspace/CashManagement.vue index c54d9de..b488801 100644 --- a/src/components/workspace/CashManagement.vue +++ b/src/components/workspace/CashManagement.vue @@ -100,7 +100,6 @@ const startDate = `${currentYear}-01-01 00:00:00`; const endDate = `${currentYear}-12-31 23:59:59`; // 获取接口数据 const fetchCashData = async () => { - getAdminData() try { const res = await request({ url: '/workbench/getTotalRevenue', @@ -227,9 +226,9 @@ const renderChart = () => { chartInstance.setOption(option) } -onMounted(() => { - // getAdminData() - fetchCashData() +onMounted( async() => { + await getAdminData() + await fetchCashData() }) From a69e114da1e477eb08bfeab7ddc8b951ec51bbcf Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Thu, 23 Oct 2025 09:54:15 +0800 Subject: [PATCH 3/3] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/views/moneyManage/receiveDetail/receiveDetail.vue | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.env.development b/.env.development index 0f38e29..8a24113 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -VITE_API_BASE='https://hwjb.homilychart.com/dev/admin' +# VITE_API_BASE='https://hwjb.homilychart.com/dev/admin' # 测试环境 # VITE_API_BASE='http://54.255.212.181:10704/' # 正式环境 @@ -11,7 +11,7 @@ VITE_UPLOAD_URL=http://39.101.133.168:8828/hljw/api/aws/upload # zhangyong # VITE_API_BASE='http://192.168.3.83:8081/' # 本地 -# VITE_API_BASE='http://localhost:8081/' +VITE_API_BASE='http://localhost:8081/' # sunjiabei # VITE_API_BASE='http://192.168.1.70:8081/' diff --git a/src/views/moneyManage/receiveDetail/receiveDetail.vue b/src/views/moneyManage/receiveDetail/receiveDetail.vue index 28cb502..c2657da 100644 --- a/src/views/moneyManage/receiveDetail/receiveDetail.vue +++ b/src/views/moneyManage/receiveDetail/receiveDetail.vue @@ -48,7 +48,7 @@
产品名称 - +
付款时间 @@ -184,7 +184,7 @@ + width="180px" show-overflow-tooltip>