|
@@ -60,9 +60,9 @@
|
|
|
快递面单:<select name="printer" class="select" style="width:220px;">
|
|
|
<option value="">选择打印机</option>
|
|
|
</select>
|
|
|
-<!-- 发票:<select name="printfper" class="select" style="width:220px;">
|
|
|
+发票:<select name="fp_printer" class="select" style="width:220px;">
|
|
|
<option value="">选择打印机</option>
|
|
|
- </select> -->
|
|
|
+ </select>
|
|
|
</div>
|
|
|
<a href="javascript:void(0);" class="printing">打 印</a>
|
|
|
<a href="javascript:void(0);" class="exceldy">导出Excel</a>
|
|
@@ -119,8 +119,15 @@ $(this).find('td:eq(10)').css("width","27%");
|
|
|
$(this).find('td:eq(10)').css("font-size","12px");
|
|
|
});}
|
|
|
window.onload = function() {
|
|
|
-if(typeof $("select[name='printer']").length < 1) return;
|
|
|
-setTimeout(function(){ wprinter.printer()},1000);};
|
|
|
+ if(typeof $("select[name='printer']").length < 1) return;
|
|
|
+ setTimeout(function(){ wprinter.printer()},1000);
|
|
|
+ setTimeout(function(){
|
|
|
+ let h = $("select[name='printer']").html()
|
|
|
+ alert(h)
|
|
|
+ $("select[name='fp_printer']").html(h)
|
|
|
+ },1100)
|
|
|
+};
|
|
|
+
|
|
|
</script>
|
|
|
<script type="text/javascript" src="{$theme}js/laydate.js"></script>
|
|
|
<script type="text/javascript" src="{$theme}js/print.js?v=202206100001"></script>
|