lvhao 23 時間 前
コミット
7cafd62794
1 ファイル変更4 行追加1 行削除
  1. 4 1
      template/erp/whlabel_print.html

+ 4 - 1
template/erp/whlabel_print.html

@@ -585,7 +585,10 @@ $(document).keyup(function(event){
 	for(i=1;i<data.length+1;i++)
 	{
 		$(".setting .select").each(function() {
-		$(this).find("option[value='"+data[i]+"']").prop("selected","selected");
+		    $(this).find("option[value='"+data[i]+"']").prop("selected","selected");
+            if ($(this).hasClass('select_two')) {
+                $(this).val(data[i]).trigger('change');
+            }
         });
 		$("input:radio[value='"+data[i]+"']").attr('checked','true');
 	}