|
@@ -26,7 +26,7 @@
|
|
<div class="input-group">
|
|
<div class="input-group">
|
|
<input id="${id}Name"placeholder="请选择${title}" name="${labelName}" ${allowInput?'':'readonly="readonly"'} type="text" value="${labelValue}" data-msg-required="${dataMsgRequired}"
|
|
<input id="${id}Name"placeholder="请选择${title}" name="${labelName}" ${allowInput?'':'readonly="readonly"'} type="text" value="${labelValue}" data-msg-required="${dataMsgRequired}"
|
|
class="${cssClass}" style="background-color: #ffffff; ${cssStyle} "/>
|
|
class="${cssClass}" style="background-color: #ffffff; ${cssStyle} "/>
|
|
-
|
|
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
<label id="${id}Name-error" class="error" for="${id}Name" style="display:none"></label>
|
|
<label id="${id}Name-error" class="error" for="${id}Name" style="display:none"></label>
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
@@ -35,9 +35,9 @@
|
|
if ($("#${id}Button").hasClass("disabled")){
|
|
if ($("#${id}Button").hasClass("disabled")){
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
- // 正常打开
|
|
|
|
|
|
+ // 正常打开
|
|
top.layer.open({
|
|
top.layer.open({
|
|
- type: 2,
|
|
|
|
|
|
+ type: 2,
|
|
area: ['300px', '420px'],
|
|
area: ['300px', '420px'],
|
|
title:"选择${title}",
|
|
title:"选择${title}",
|
|
ajaxData:{selectIds: $("#${id}Id").val()},
|
|
ajaxData:{selectIds: $("#${id}Id").val()},
|
|
@@ -95,7 +95,7 @@
|
|
cancel: function(index){ //或者使用btn2
|
|
cancel: function(index){ //或者使用btn2
|
|
//按钮【按钮二】的回调
|
|
//按钮【按钮二】的回调
|
|
}
|
|
}
|
|
- });
|
|
|
|
-
|
|
|
|
|
|
+ });
|
|
|
|
+
|
|
});
|
|
});
|
|
-</script>
|
|
|
|
|
|
+</script>
|