|
@@ -36,7 +36,7 @@
|
|
<input class="my-input" type="text" value="每个二维码打印数量:" readonly="readonly" style="border: 0;margin-top: 8px;margin-right: 0"/>
|
|
<input class="my-input" type="text" value="每个二维码打印数量:" readonly="readonly" style="border: 0;margin-top: 8px;margin-right: 0"/>
|
|
<input class="my-input" type="text" id="settingNumber" name="printNumber" value="3" placeholder="打印数量" style="margin-top: 10px;"/>
|
|
<input class="my-input" type="text" id="settingNumber" name="printNumber" value="3" placeholder="打印数量" style="margin-top: 10px;"/>
|
|
<button type="button" class="my-btn-search" onclick="printList();" style="cursor:pointer; margin-right: 50px;margin-top: 10px;">打印</button>
|
|
<button type="button" class="my-btn-search" onclick="printList();" style="cursor:pointer; margin-right: 50px;margin-top: 10px;">打印</button>
|
|
- <button type="button" class="my-btn-search" onclick="batchUpdatePring();" style="cursor:pointer; margin-right: 50px;margin-top: 10px;">修改为已打印</button>
|
|
|
|
|
|
+ <button id="updatePrintId" type="button" class="my-btn-search" onclick="batchUpdatePring();" style="cursor:pointer; margin-right: 50px;margin-top: 10px;">修改为已打印</button>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="mt-2" style="margin: 20px;">
|
|
<div class="mt-2" style="margin: 20px;">
|
|
@@ -50,7 +50,7 @@
|
|
</thead>
|
|
</thead>
|
|
<tbody id="listid">
|
|
<tbody id="listid">
|
|
<#list machineList as list>
|
|
<#list machineList as list>
|
|
- <tr class="text-c">
|
|
|
|
|
|
+ <tr class="text-c" id="${list.machineBarcode }">
|
|
<td width="2">
|
|
<td width="2">
|
|
<input name='checkbox' type='checkbox' value='${list.machineBarcode }${list.machineQrcode }${list.machineProduceType }' >
|
|
<input name='checkbox' type='checkbox' value='${list.machineBarcode }${list.machineQrcode }${list.machineProduceType }' >
|
|
</td>
|
|
</td>
|
|
@@ -92,6 +92,7 @@
|
|
if(${machineIsPrint} == 2){
|
|
if(${machineIsPrint} == 2){
|
|
$("#havePrint").attr("class", "current");
|
|
$("#havePrint").attr("class", "current");
|
|
$("#machineIsPrint").val(2);
|
|
$("#machineIsPrint").val(2);
|
|
|
|
+ $("#updatePrintId").hide();//隐藏修改打印按钮
|
|
}
|
|
}
|
|
|
|
|
|
function selectIsPrint(printState) {
|
|
function selectIsPrint(printState) {
|
|
@@ -211,6 +212,7 @@
|
|
"dataType" : "json",
|
|
"dataType" : "json",
|
|
"data" :{machineBarcode : machineBarcode},
|
|
"data" :{machineBarcode : machineBarcode},
|
|
"success" : function(data) {
|
|
"success" : function(data) {
|
|
|
|
+ $("#"+machineBarcode).remove();
|
|
layer.msg('修改成功', {icon: 1, time: 2000});
|
|
layer.msg('修改成功', {icon: 1, time: 2000});
|
|
},
|
|
},
|
|
"error":function(data){
|
|
"error":function(data){
|