فهرست منبع

git-svn-id: https://192.168.57.71/svn/jsgkj@1642 931142cf-59ea-a443-aa0e-51397b428577

ld_lixh 8 سال پیش
والد
کامیت
c4051455de

+ 2 - 2
gkaqv2/trunk/modules/web/src/main/webapp/static/jquery-easyui-1.5/themes/default/easyui.css

@@ -1288,7 +1288,7 @@
 }
 .tabs-header,
 .tabs-tool {
-  background-color: #E0ECFF;
+  background-color: #FFF;
 }
 .tabs-header-plain {
   background: transparent;
@@ -1304,7 +1304,7 @@
 .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner,
 .tabs-header-left .tabs li.tabs-selected a.tabs-inner,
 .tabs-header-right .tabs li.tabs-selected a.tabs-inner {
-  border-color: #95B8E7;
+  border-color: #FFF;
 }
 .tabs-p-tool a:hover,
 .tabs li a:hover.tabs-close,

+ 1 - 3
gkaqv2/trunk/modules/web/src/main/webapp/static/js/jyr/JyrInfo.js

@@ -338,9 +338,7 @@ function getqylb () {
  */
 function selectWxhw () {
 	//获得先已有的危险物品
-	zywxhwpm = $("#zywxhwpm").text();
-	showModelDialog("wh", "选择");
-	wxhw_initGrid($("#szd2").val());//加载弹窗中的数据表格
+	showWxhwpmbPop($("#szd2").val());//加载弹窗中的数据表格
 }
 /**
  * 是否自动审批的checked

+ 24 - 7
gkaqv2/trunk/modules/web/src/main/webapp/static/js/jyr/index.js

@@ -9,6 +9,8 @@ jQuery(function($) {
 	initJyrGrid();
 	getgq();
 	xzqhSelect();
+	
+	
 });
 /**
  * 初始化Grid
@@ -136,13 +138,22 @@ function getLookInfo (id) {
 				$("#tt").tabs('enableTab',1);
 				$("#tt").tabs('enableTab',2);
 				$("#tt").tabs('enableTab',3);
+//				var html = '泊位信息';
+//				var html2 = '堆场信息';
+//				var html3 = '仓库信息';
+//				$("#myTab a:eq(1)").html(html);
+//				$("#myTab a:eq(2)").html(html2);
+//				$("#myTab a:eq(3)").html(html3);
+//				$("#myTab a:eq(1)").attr("href","#bwInfotab");
+//				$("#myTab a:eq(2)").attr("href","#dcInfotab");
+//				$("#myTab a:eq(3)").attr("href","#ckInfotab");
 				bw_initGrid(data[0].id);
 				ck_initGrid(data[0].id);
 				dc_initGrid(data[0].id);
 			},
 			error: function (XMLHttpRequest, textStatus, errorThrown) {
 				alert("error");
-	    }
+			}
 		});
 }
 
@@ -283,9 +294,10 @@ function editInfo() {
 				$("#tt").tabs("disableTab",1);
 				$("#tt").tabs("disableTab",2);
 				$("#tt").tabs("disableTab",3);
-//				$("#tt").tabs("disableTab","泊位信息");
-//				$("#tt").tabs("disableTab","堆场信息");
-//				$("#tt").tabs("disableTab","仓库信息");
+//				$("#myTab a:gt(0)").html("");
+//				$("#myTab a:gt(0)").removeAttr("href");
+//				$("#myTab a:gt(0)").prop("hidden",true);
+				
 			},
 			error: function (XMLHttpRequest, textStatus, errorThrown) {
 	        }
@@ -301,9 +313,9 @@ function addJyrInfo() {
 	$("#tab-tools").removeAttr("hidden");
 	formQY();
 	$("#szd2").removeAttr("disabled");
-	$("#tt").tabs("disableTab","泊位信息");
-	$("#tt").tabs("disableTab","堆场信息");
-	$("#tt").tabs("disableTab","仓库信息");
+	$("#tt").tabs("disableTab",1);
+	$("#tt").tabs("disableTab",2);
+	$("#tt").tabs("disableTab",3);
 	// 清空表单信息
 	comClearFormData("#jyrInfoform");
 	//加载数据
@@ -413,6 +425,11 @@ function closeWin () {
 	 hideModelDialog("jyrwin");
 }
 
+function closeModelJyr() {
+	 $('#tt').tabs('select',0);
+	hideModelDialog("jyrwin");
+}
+
 formatterDate = function (date) {
 	var day = date.getDate() > 9 ? date.getDate() : "0" + date.getDate();
 	var month = (date.getMonth() + 1) > 9 ? (date.getMonth() + 1) : "0"