|
@@ -6,6 +6,7 @@ jsjdcbsj.detail.gq = null;
|
|
|
jsjdcbsj.detail.taskKey = null;
|
|
|
jsjdcbsj.detail.opflag = null;
|
|
|
jsjdcbsj.detail.hqflag = null;
|
|
|
+jsjdcbsj.detail.ssFlag = null;
|
|
|
jsjdcbsj.detail.init = function() {
|
|
|
}
|
|
|
|
|
@@ -231,6 +232,9 @@ function initSylxSelect(divid,existVal,width){
|
|
|
str+="</select>";
|
|
|
$("#"+divid).empty;
|
|
|
$("#"+divid).append(str);
|
|
|
+ if(jsjdcbsj.detail.ssFlag == '0'){
|
|
|
+ $('#sylxid').attr('disabled',true);
|
|
|
+ }
|
|
|
$('.sylxselectpicker').selectpicker({
|
|
|
width:width
|
|
|
});
|
|
@@ -434,6 +438,9 @@ function initXmlxSelect(divid, existVal, width) {
|
|
|
str += "</select>";
|
|
|
$("#" + divid).empty;
|
|
|
$("#" + divid).append(str);
|
|
|
+ if(jsjdcbsj.detail.ssFlag == '0'){
|
|
|
+ $('#xmlxid').attr('disabled',true);
|
|
|
+ }
|
|
|
$('.xmlxselectpicker').selectpicker({
|
|
|
width : width
|
|
|
});
|
|
@@ -460,6 +467,9 @@ function initTzlxSelect(divid, existVal, width) {
|
|
|
str += "</select>";
|
|
|
$("#" + divid).empty();
|
|
|
$("#" + divid).append(str);
|
|
|
+ if(jsjdcbsj.detail.ssFlag == '0'){
|
|
|
+ $('#tzlxid').attr('disabled',true);
|
|
|
+ }
|
|
|
$('.tzlxselectpicker').selectpicker({
|
|
|
width : width
|
|
|
});
|
|
@@ -495,6 +505,9 @@ function initXmhzjbSelect(divid, existVal, width) {
|
|
|
str += "</select>";
|
|
|
$("#" + divid).empty();
|
|
|
$("#" + divid).append(str);
|
|
|
+ if(jsjdcbsj.detail.ssFlag == '0'){
|
|
|
+ $('#xmhzjbid').attr('disabled',true);
|
|
|
+ }
|
|
|
$('.xmhzjbselectpicker').selectpicker({
|
|
|
width : width
|
|
|
});
|
|
@@ -528,6 +541,9 @@ function initAxspjbSelect(divid, existVal, width) {
|
|
|
str += "</select>";
|
|
|
$("#" + divid).empty();
|
|
|
$("#" + divid).append(str);
|
|
|
+ if(jsjdcbsj.detail.ssFlag == '0'){
|
|
|
+ $('#axspjbid').attr('disabled',true);
|
|
|
+ }
|
|
|
$('.axspjbselectpicker').selectpicker({
|
|
|
width : width
|
|
|
});
|
|
@@ -615,7 +631,9 @@ jsjdcbsj.detail.initBwyt = function(divid, existVal) {
|
|
|
str += "</select>";
|
|
|
$("#" + divid).empty();
|
|
|
$("#" + divid).append(str);
|
|
|
-
|
|
|
+ if(jsjdcbsj.detail.ssFlag == '0'){
|
|
|
+ $('#bwyt').attr('disabled',true);
|
|
|
+ }
|
|
|
$('.bwytselectpicker').selectpicker({
|
|
|
width : '80%'
|
|
|
});
|
|
@@ -738,7 +756,7 @@ jsjdcbsj.detail.initgkSelect = function(divid, existVal, szd, changefunc,
|
|
|
// 构建港区的下拉
|
|
|
// 参数说明依次,1(必须)存放下拉的div的id,2(非必须)下拉初始选中的值,没有传空字符串,3(非必须)参数,根据所在地过滤结果,一般级联需要4(非必须)下拉change事件5(必须)下拉框的长度
|
|
|
// 此下拉如果跟着form一起提交后台的话,对应的是szd属性,
|
|
|
-jsjdcbsj.detail.initgqSelect = function(divid, existVal, szd, gk, changefunc,
|
|
|
+jsjdcbsj.detail.gqSelect = function(divid, existVal, szd, gk, changefunc,
|
|
|
width, disable) {
|
|
|
$
|
|
|
.post(
|