wu98hay 1 год назад
Родитель
Сommit
640d9016e0
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      shares/js/yw/bpm/seal/seal.js

+ 5 - 0
shares/js/yw/bpm/seal/seal.js

@@ -172,9 +172,14 @@ function selectSeal(tableField) {
 	}); 
 	var DivID = tableField + 'btn';
 	//var left = $('#' + DivID).offset().left;
+	var iframeHeight = $("#formIns", window.parent.document).height();
 	var top = $('#' + DivID).offset().top; 
+	var bottomHeight = iframeHeight - top;
 	//win1._setLeft(left+50);
 	win1._setTop(top-100); 
+	if(bottomHeight < 200){
+		$("#formIns", window.parent.document).height(iframeHeight + 200);
+	}
 }
 
 function closeWin(tableField, path, sealId, sealtype) {