lvhao 1 天之前
父节点
当前提交
eb62552362
共有 1 个文件被更改,包括 5 次插入8 次删除
  1. 5 8
      template/erp/whlabel_print.html

+ 5 - 8
template/erp/whlabel_print.html

@@ -588,14 +588,11 @@ $(document).keyup(function(event){
 	for(i=1;i<data.length+1;i++)
 	{
 		$(".setting .select").each(function() {
-         console.log("==================")
-         console.log($(this).find("option[value='']"))
-         if($(this).find("option[value='']")){
-         if($(this).find("option[value='']").length > 0){
-
-         }else{
-            $(this).prepend('<option value="">未选择</option>');
-         }
+        //  if($(this).find("option[value='']").length > 0){
+
+        //  }else{
+        //     $(this).prepend('<option value="">未选择</option>');
+        //  }
 		 $(this).find("option[value='"+data[i]+"']").prop("selected","selected");
         });
 		$("input:radio[value='"+data[i]+"']").attr('checked','true');