Parcourir la source

结单提示修改

HD_wangm il y a 2 mois
Parent
commit
18564d6e33

+ 2 - 2
pages/order/detail/restartIndex.uvue

@@ -61,7 +61,7 @@
 			        </view>
 					<view class="info-item">
 						<view class="info-label">
-							<text class="form-label required">损失电量(kWh)<text style="color: red;">*</text></text>
+							<text class="form-label required">损失电量(kWh)<text style="color: red;" v-if="orderType == '1'">*</text></text>
 						</view>
 
 						<view class="info-value">
@@ -273,7 +273,7 @@
 			}
 		}
 
-		if (lostPower.value.trim() === '') {
+		if (orderType.value == '1' && lostPower.value.trim() === '') {
 			uni.showToast({
 				title: '请输入损失电量',
 				icon: 'none'

+ 1 - 1
pages/order/detail/wbFinalize.uvue

@@ -1397,7 +1397,7 @@
 							// infoEntry.value = '2'
 							uni.showModal({
 							  title: '提示',
-							  content: '未找到匹配的MIS工单,请确认风机停复机时间是否已录入工效通系统或请进入工作票录入方式。',
+							  content: '未找到匹配的MIS工单,请确认开始时间是否早于停机时间且与停机时间相差不超过60分钟,并且结束时间晚于恢复运行时间。',
 							  showCancel: false, // 只显示确定按钮
 							  confirmText: '确定',
 							  confirmColor: '#007aff',

+ 1 - 1
pages/order/detail/wxFinalize.uvue

@@ -1548,7 +1548,7 @@
 							// infoEntry.value = '2'
 							uni.showModal({
 							  title: '提示',
-							  content: '未找到匹配的MIS工单,请确认风机停复机时间是否已录入工效通系统或请进入工作票录入方式。',
+							  content: '未找到匹配的MIS工单,请确认开始时间是否介于停机时间与恢复运行时间之间,并且结束时间晚于恢复运行时间。',
 							  showCancel: false, // 只显示确定按钮
 							  confirmText: '确定',
 							  confirmColor: '#007aff',