瀏覽代碼

问题修改

yangjunfeng 5 年之前
父節點
當前提交
516026cd9f

+ 2 - 1
WebUI/CallCenterWeb.UI/equipmentOperationManage/template/EvaluateEquipmentRepair.html

@@ -197,7 +197,8 @@ function gettime(){
197 197
 		},
198 198
 		success: function(data) {
199 199
 			if(data.state.toLowerCase() == 'success') {
200
-				$('#arrivetime').val(data.data.model.createtime)
200
+				console.log(data)
201
+				$('#arrivetime').val(data.data.deals[0].createtime)
201 202
 			}
202 203
 		}
203 204
 	});

+ 7 - 7
WebUI/CallCenterWeb.UI/equipmentOperationManage/template/HandleEquipmentRepair.html

@@ -609,13 +609,13 @@
609 609
 					});
610 610
 					return;
611 611
 				}
612
-				// if ($("#bzid").val() == '') {
613
-				// 	layer.confirm('请选择维修项目内容!', {
614
-				// 		icon: 2,
615
-				// 		btn: ['确定'] //按钮
616
-				// 	});
617
-				// 	return;
618
-				// }
612
+				if ($("#bzid").val() == '') {
613
+					layer.confirm('请选择维修项目内容!', {
614
+						icon: 2,
615
+						btn: ['确定'] //按钮
616
+					});
617
+					return;
618
+				}
619 619
 
620 620
 				$.ajax({
621 621
 					type: "post",