From d07500fef337fc0366d5c51723ddb3ba2071f33d Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期五, 01 八月 2025 10:33:37 +0800
Subject: [PATCH] 1.计时工资功能开发

---
 pages/mjgl/wxyz.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/pages/mjgl/wxyz.vue b/pages/mjgl/wxyz.vue
index 853589d..0ac6615 100644
--- a/pages/mjgl/wxyz.vue
+++ b/pages/mjgl/wxyz.vue
@@ -235,7 +235,6 @@
 											</view>
 										</view>
 
-
 										<u-gap height="16" bgColor="#eff0f1" style="width: 106%;margin-left: -3%;">
 										</u-gap>
 									</view>
@@ -244,13 +243,16 @@
 						</view>
 					</view>
 
+
 				</view>
 			</view>
 
 			<view class="footer" style="min-height:62rpx;">
+
 				<u-button size="large" :loading="isDisabledSubmitButton" loadingText="姝e湪鎻愪氦,璇风◢绛�..." type="primary"
-					@click="submit" text="纭鎻愪氦">
-					<!-- :disabled="topContent.length>0? topContent.find(i=>i.repair_code===radioValue).resultValue==='':true" -->
+					@click="submit" text="纭鎻愪氦"
+					:disabled="topContent.length>0? topContent.find(i=>i.mouldcode===radioValue).resultValue==='':true">
+
 
 				</u-button>
 			</view>
@@ -312,7 +314,8 @@
 			return {
 				topRightMessageCount: 0,
 				isDisabledSubmitButton: false,
-				baseUrl: 'http://121.196.36.24:8021/',
+				// baseUrl: 'http://121.196.36.24:8021/', //鏈湴
+				baseUrl: 'http://122.227.18.22:8000/', //宸ㄧ珛闃叉姢
 				topContent: [], //鎵弿淇濆吇宸ヤ綅鎵�甯﹀嚭鏉ョ殑鍐呭
 				radioValue: '', //鍗曢�夋鐨勫��
 				scanContent: '', //鎵弿鎵嚭鏉ョ殑鍊�
@@ -514,7 +517,7 @@
 					repairwo: result.repair_code,
 					mouldcode: this.radioValue,
 					result: result.resultValue,
-					surp_life: this.surp_life
+					surp_life: this.surp_life === '' ? 0 : this.surp_life
 				}
 
 				console.log(JSON.stringify(data));

--
Gitblit v1.9.3