From f6722e13ba28cd292c162df9292bb3418ba12bec Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 25 六月 2025 15:17:50 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/2.0.1' into 2.0.1

---
 wx/pages/addition_subtraction_application/addition_subtraction_application.vue |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/wx/pages/addition_subtraction_application/addition_subtraction_application.vue b/wx/pages/addition_subtraction_application/addition_subtraction_application.vue
index 4968ab2..7c3af04 100644
--- a/wx/pages/addition_subtraction_application/addition_subtraction_application.vue
+++ b/wx/pages/addition_subtraction_application/addition_subtraction_application.vue
@@ -146,6 +146,7 @@
 							this.maxDate = this.formatTimeStamp(e.value[0].endTime)
 						}
 					}
+					this.confirm2();
 					this.show = false
 				}
 			},
@@ -160,6 +161,19 @@
 				this.$u.api.getChangeCountCyclePriceVO({
 					applyId: this.id,
 					validTime: this.model.startDate
+				}).then(res => {
+					if (res.code === 200) {
+						this.model.cyclePrice = res.data.cyclePrice
+						this.show1 = false
+					} else {
+						this.model.startDate = ''
+					}
+				})
+			},
+			confirm2(e) { 
+				this.$u.api.getChangeCountCyclePriceVO({
+					applyId: this.id , 
+					validTime: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd') + ' 00:00:00'
 				}).then(res => {
 					if (res.code === 200) {
 						this.model.cyclePrice = res.data.cyclePrice
@@ -199,7 +213,7 @@
 			submit() {
 				this.$refs.uForm.validate().then(res => {
 					uni.navigateTo({
-						url: `/pages/addition_subtraction/addition_subtraction?id=${this.model.id}&codeId=${this.id}&cyclePrice=${this.model.cyclePrice}&startDate=${this.model.startDate}&code=${this.model.code}`
+						url: `/pages/addition_subtraction/addition_subtraction?id=${this.model.id}&codeId=${this.id}&cyclePrice=${this.model.cyclePrice}&startDate=${this.model.startDate}&code=${this.model.code}&title=鍔犲噺淇濈敵璇穈
 					})
 				}).catch(errors => {
 					

--
Gitblit v1.9.3