|
|
@ -19,7 +19,7 @@ |
|
|
<th data-options="field:'rollNo',width:100">Roll No</th> |
|
|
<th data-options="field:'rollNo',width:100">Roll No</th> |
|
|
<th data-options="field:'status',width:80,align:'left'">Status</th> |
|
|
<th data-options="field:'status',width:80,align:'left'">Status</th> |
|
|
<!-- <th data-options="field:'serialRowEnd',width:80,align:'left', formatter:getRollQty">单排卷标签数量</th> --> |
|
|
<!-- <th data-options="field:'serialRowEnd',width:80,align:'left', formatter:getRollQty">单排卷标签数量</th> --> |
|
|
<th data-options="field:'statement',width:80,align:'left', formatter:getStatement">Close status</th> |
|
|
|
|
|
|
|
|
<th data-options="field:'statement',width:80,align:'left', formatter:getStatement">Close Status</th> |
|
|
<!-- <th data-options="field:'noScanQty',width:50,align:'left'">Scanned Qty</th> |
|
|
<!-- <th data-options="field:'noScanQty',width:50,align:'left'">Scanned Qty</th> |
|
|
<th data-options="field:'scanQty',width:80,align:'left'">未扫描数量</th> --> |
|
|
<th data-options="field:'scanQty',width:80,align:'left'">未扫描数量</th> --> |
|
|
<th data-options="field:'statementBy',width:100">Close By</th> |
|
|
<th data-options="field:'statementBy',width:100">Close By</th> |
|
|
@ -138,12 +138,12 @@ |
|
|
var action = "<a target='forprint' href='/print/finalrollScan/"+row.finalRollNo+"/'>"+value+"</a>"; |
|
|
var action = "<a target='forprint' href='/print/finalrollScan/"+row.finalRollNo+"/'>"+value+"</a>"; |
|
|
return action; |
|
|
return action; |
|
|
} */ |
|
|
} */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function lodopPrint(rollNo){ |
|
|
function lodopPrint(rollNo){ |
|
|
var url = "/print/finalrollScan/"+rollNo+"/"; |
|
|
var url = "/print/finalrollScan/"+rollNo+"/"; |
|
|
//设置href |
|
|
//设置href |
|
|
$("#lodopPrint"+rollNo).attr("href", url); |
|
|
$("#lodopPrint"+rollNo).attr("href", url); |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
function formatDtlAction(value, row){ |
|
|
function formatDtlAction(value, row){ |
|
|
return "<a href='/shipment/boxes/scan/" + value + "'>Scan and delivery</a>"; |
|
|
return "<a href='/shipment/boxes/scan/" + value + "'>Scan and delivery</a>"; |
|
|
@ -181,7 +181,7 @@ |
|
|
$('#scan_Qty').textbox('textbox').attr('readonly',true); |
|
|
$('#scan_Qty').textbox('textbox').attr('readonly',true); |
|
|
$("#noScan_Qty").textbox('setValue',ret.ret.noScanQty); |
|
|
$("#noScan_Qty").textbox('setValue',ret.ret.noScanQty); |
|
|
$('#noScan_Qty').textbox('textbox').attr('readonly',true); |
|
|
$('#noScan_Qty').textbox('textbox').attr('readonly',true); |
|
|
$('#dlgDtls').dialog('open').dialog('center').dialog('setTitle',orderNo+':Detail'); |
|
|
|
|
|
|
|
|
$('#dlgDtls').dialog('open').dialog('center').dialog('setTitle',orderNo+':Detail'); |
|
|
}else{ |
|
|
}else{ |
|
|
$.messager.alert('Error',ret.errorMsg, 'error'); |
|
|
$.messager.alert('Error',ret.errorMsg, 'error'); |
|
|
} |
|
|
} |
|
|
@ -222,7 +222,7 @@ |
|
|
}else{ |
|
|
}else{ |
|
|
$.messager.alert('Error',ret.errorMsg, 'error'); |
|
|
$.messager.alert('Error',ret.errorMsg, 'error'); |
|
|
} |
|
|
} |
|
|
}); |
|
|
|
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
//未扫描报告 |
|
|
//未扫描报告 |
|
|
function unscannedReport(rollNo){ |
|
|
function unscannedReport(rollNo){ |
|
|
@ -233,7 +233,7 @@ |
|
|
}else{ |
|
|
}else{ |
|
|
$.messager.alert('Error',ret.errorMsg, 'error'); |
|
|
$.messager.alert('Error',ret.errorMsg, 'error'); |
|
|
} |
|
|
} |
|
|
}); |
|
|
|
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
//结单 |
|
|
//结单 |
|
|
function closedRoll(orderNo,serialRowStart,serialRowEnd,rollNo){ |
|
|
function closedRoll(orderNo,serialRowStart,serialRowEnd,rollNo){ |
|
|
@ -254,9 +254,9 @@ |
|
|
function closedAllRoll(){ |
|
|
function closedAllRoll(){ |
|
|
$.messager.confirm('Confirm','Are you sure to close the SO existing empty roll ?',function(r){ |
|
|
$.messager.confirm('Confirm','Are you sure to close the SO existing empty roll ?',function(r){ |
|
|
if (r){ |
|
|
if (r){ |
|
|
$.messager.progress({ |
|
|
|
|
|
title: 'Point', |
|
|
|
|
|
msg: 'Please Wait……', |
|
|
|
|
|
|
|
|
$.messager.progress({ |
|
|
|
|
|
title: 'Point', |
|
|
|
|
|
msg: 'Please Wait……', |
|
|
text: '', |
|
|
text: '', |
|
|
interval: 300 |
|
|
interval: 300 |
|
|
}); |
|
|
}); |
|
|
|