退料单、领料单签字打印区域调整
This commit is contained in:
parent
529142ed1c
commit
def92bda89
|
|
@ -5,13 +5,14 @@ let pageNum = 1;
|
|||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.log('🚀 ~ setParams ~ objParam:', objParam)
|
||||
$('#code').html(objParam.code);
|
||||
$('#titleName').html(objParam.backTime + '退料清点记录');
|
||||
layui.use(["form", "table", 'upload', 'layer'], function () {
|
||||
layui.use(["form", "table", 'upload', 'layer', 'jquery'], function () {
|
||||
var $ = layui.$;
|
||||
form = layui.form;
|
||||
table = layui.table;
|
||||
upload = layui.upload;
|
||||
layer = layui.layer;
|
||||
$('#code').html(objParam.code);
|
||||
$('#titleName').html(objParam.backTime + '退料清点记录');
|
||||
getDetailsById();
|
||||
initTable();
|
||||
});
|
||||
|
|
@ -362,7 +363,7 @@ function print() {
|
|||
noPrintSelector: ".no-print",
|
||||
iframe: true,
|
||||
append: '<style>@page { margin: 0; size: auto; } @media print { @page { margin: 0; size: auto; } html { margin: 0; height: auto; } body { margin: 0; height: auto; } .layuimini-container { height: auto !important; } }</style>',
|
||||
prepend: null,
|
||||
prepend: '<div style="text-align: center; font-size: 34px; font-weight: bold; margin-bottom: 5px;">【退料单】</div>',
|
||||
manuallyCopyFormValues: true,
|
||||
deferred: $.Deferred()
|
||||
});
|
||||
|
|
|
|||
|
|
@ -269,7 +269,7 @@ function print() {
|
|||
noPrintSelector: ".no-print",
|
||||
iframe: true,
|
||||
append: '<style>@page { margin: 0; size: auto; } @media print { @page { margin: 0; size: auto; } html { margin: 0; height: auto; } body { margin: 0; height: auto; } .layuimini-container { height: auto !important; } }</style>',
|
||||
prepend: null,
|
||||
prepend: '<div style="text-align: center; font-size: 34px; font-weight: bold; margin-bottom: 5px;">【领料发货单】</div>',
|
||||
manuallyCopyFormValues: true,
|
||||
deferred: $.Deferred()
|
||||
});
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<button type="button" class="layui-btn layui-bg-blue no-print" onclick="print()">打印2</button>
|
||||
<button type="button" class="layui-btn layui-bg-blue no-print" onclick="print()">打印退料单</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="basic-box">
|
||||
|
|
@ -127,11 +127,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th colspan="3">备注</th>
|
||||
<th colspan="2">工程名称</th>
|
||||
<th colspan="2" style="font-weight: bolder">工程名称</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" id="remark"></td>
|
||||
<td colspan="2" id="projectName"></td>
|
||||
<td colspan="2" id="projectName" style="font-weight: bolder"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<button type="button" class="layui-btn layui-bg-blue no-print" onclick="print()">打印</button>
|
||||
<button type="button" class="layui-btn layui-bg-blue no-print" onclick="print()">打印出库单</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="basic-box">
|
||||
|
|
|
|||
Loading…
Reference in New Issue