From 39ae52b3f65e2bba3b6570adb51e791cb3befff7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 02 七月 2025 16:32:29 +0800
Subject: [PATCH] 提交

---
 wx/pages/addition_subtraction_application/addition_subtraction_application.vue |   33 ++++++++++++++++++++++++++++-----
 1 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/wx/pages/addition_subtraction_application/addition_subtraction_application.vue b/wx/pages/addition_subtraction_application/addition_subtraction_application.vue
index 287c754..0e6b616 100644
--- a/wx/pages/addition_subtraction_application/addition_subtraction_application.vue
+++ b/wx/pages/addition_subtraction_application/addition_subtraction_application.vue
@@ -1,6 +1,7 @@
 <template>
 	<view class="box">
-		<view class="box_hz" :style="{backgroundImage: 'url(' + backgroundImg + ')'}">
+		<view class="box_hz">
+			<image class="box_hz_bg" src="@/static/background/toubao_bg@2x.png" mode="widthFix"></image>
 			<view class="box_hz_title">鍔犲噺淇濈敵璇�</view>
 			<view class="box_hz_info">璇锋寜瑕佹眰濉啓浠ヤ笅鍐呭</view>
 			<view class="box_hz_list">
@@ -15,12 +16,11 @@
 						label="閫夋嫨淇濆崟鍙凤細"
 						prop="code"
 						@click="show = true"
-						borderBottom
 					>
 						<u--input v-model="model.code" disabled disabledColor="#ffffff" placeholder="璇烽�夋嫨" border="none"></u--input>
 						<u-icon slot="right" name="arrow-right"></u-icon>
 					</u-form-item>
-					<u-form-item
+				<!-- 	<u-form-item
 						labelWidth="200"
 						label="閫夋嫨鏈熸湜鎵瑰崟鐢熸晥鏈燂細"
 						prop="startDate"
@@ -28,7 +28,7 @@
 					>
 						<u--input v-model="model.startDate" disabled disabledColor="#ffffff" placeholder="璇烽�夋嫨" border="none"></u--input>
 						<u-icon slot="right" name="arrow-right"></u-icon>
-					</u-form-item>
+					</u-form-item> -->
 				</u--form>
 			</view>
 			<view class="box_hz_footer">
@@ -147,6 +147,7 @@
 							this.maxDate = this.formatTimeStamp(e.value[0].endTime)
 						}
 					}
+					this.confirm2();
 					this.show = false
 				}
 			},
@@ -161,6 +162,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
@@ -200,7 +214,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 => {
 					
@@ -225,6 +239,15 @@
 			background-repeat: no-repeat;
 			background-size: 100% 100%;
 			padding-top: 48rpx;
+			position: relative;
+			.box_hz_bg {
+				position: absolute;
+				top: 0;
+				left: 0;
+				width: 100%;
+				height: 100%;
+				z-index: -1;
+			}
 			.box_hz_title {
 				font-weight: 600;
 				font-size: 48rpx;

--
Gitblit v1.9.3