|
@@ -22,7 +22,9 @@
|
|
|
<li style="margin-right: 30px;">
|
|
|
<font class="cona " style="color:#fff;background-color: #f33;">当前部门:<font id="dqbm">{$transfer['title']}</font></font>
|
|
|
</li>
|
|
|
-
|
|
|
+<li style="margin-right: 30px;">
|
|
|
+ <font class="cona " style="color:#fff;background-color: #f33;" >在库数量 (<font id="wwcsl">{$wwcsl}</font>)</font>
|
|
|
+</li>
|
|
|
</ul>
|
|
|
|
|
|
<table class="datatitle data" border="0" style="border-collapse:collapse;">
|
|
@@ -86,17 +88,28 @@ $("select[name='transfer']").on("change",function(){
|
|
|
timetj:$("input[name='timetj']").val(),
|
|
|
pm:$("input[name='pm']").val()
|
|
|
}
|
|
|
- $.post("/whlabel_bh/cj_transfer_log_count",formData,function(res){
|
|
|
+ $.post("/whlabel_bh/cj_transfer_log_zkcount",formData,function(res){
|
|
|
if(res.code==1){
|
|
|
- console.log(res.data.wwcsl);
|
|
|
|
|
|
$("#wwcsl").text(res.data.wwcsl);
|
|
|
- $("#jszs").text(res.data.jszs);
|
|
|
- $("#wgzs").text(res.data.wgzs);
|
|
|
}
|
|
|
},'json')
|
|
|
})
|
|
|
window.onload = function() {
|
|
|
+ let tid = $("input[name='tid']").val();
|
|
|
+ let formData = {
|
|
|
+ tid:tid,
|
|
|
+ orderinfo:$("input[name='orderinfo']").val(),
|
|
|
+ timetk:$("input[name='timetk']").val(),
|
|
|
+ timetj:$("input[name='timetj']").val(),
|
|
|
+ pm:$("input[name='pm']").val()
|
|
|
+ }
|
|
|
+ $.post("/whlabel_bh/cj_transfer_log_zkcount",formData,function(res){
|
|
|
+ if(res.code==1){
|
|
|
+
|
|
|
+ $("#wwcsl").text(res.data.wwcsl);
|
|
|
+ }
|
|
|
+ },'json')
|
|
|
// if(typeof $("select[name='printer']").length < 1) return;
|
|
|
// setTimeout(function(){ wprinter.printer()},1000);
|
|
|
};
|