1,二维码JS

master
e 2018-10-13 21:37:17 +08:00
parent 86a2c1f796
commit 4db83d0e28
4 changed files with 13 additions and 3 deletions

View File

@ -31,10 +31,12 @@ function make2DCode() {
// make2DCode(); // make2DCode();
// }; // };
document.onreadystatechange = function () { document.onreadystatechange = function () {
if (document.readyState == "complete") { if (document.readyState == "complete") {
console.log("content"); console.log("content");
make2DCode(); make2DCode();
} }
} }
function downloadqrcode() { function downloadqrcode() {
@ -157,11 +159,12 @@ document.onreadystatechange = function () {
<tr height=40 style='mso-height-source:userset;height:30.0pt'> <tr height=40 style='mso-height-source:userset;height:30.0pt'>
<td colspan=4 height=40 class=xl67 style='height:30.0pt'><span style="font-size: 18pt">${comname}</span></td> <td colspan=4 height=40 class=xl67 style='height:30.0pt'><span style="font-size: 18pt">${comname}</span></td>
<td colspan=3 class=xl68 width=168 style='width:126pt'>日期:${kprq}</td> <td colspan=3 class=xl68 width=168 style='width:126pt'>日期:${kprq}</td>
<td rowspan=2 class=xl69> <div id="qrcode" style="width:80px; height:80px;margin-top: 10px;margin-left: -10px"></div> <td rowspan=2 class=xl69>
<div id="qrcode" style="width:80px; height:80px;margin-top: 10px;margin-left: -10px"></div>
</td> </td>
</tr> </tr>
<tr height=40 style='mso-height-source:userset;height:30.0pt'> <tr height=40 style='mso-height-source:userset;height:30.0pt'>
<td colspan=4 height=40 class=xl67 style='height:30.0pt'><span style="font-size: 18pt">拣货单</span></td> <td colspan=4 height=40 class=xl67 style='height:30.0pt'><span style="font-size: 18pt">拣货单(${wmOmNoticeHPage.omNoticeId})</span></td>
<td colspan=3 class=xl68 width=168 style='width:126pt'>单号:${noticeid}</td> <td colspan=3 class=xl68 width=168 style='width:126pt'>单号:${noticeid}</td>
<td colspan=1 style='mso-ignore:colspan'></td> <td colspan=1 style='mso-ignore:colspan'></td>
</tr> </tr>

View File

@ -5,6 +5,8 @@
<div region="center" style="padding:0px;border:0px"> <div region="center" style="padding:0px;border:0px">
<t:datagrid name="wmImNoticeHList" checkbox="true" fitColumns="false" title="进货通知" actionUrl="wmImNoticeHController.do?datagrid" idField="id" fit="false" queryMode="group"> <t:datagrid name="wmImNoticeHList" checkbox="true" fitColumns="false" title="进货通知" actionUrl="wmImNoticeHController.do?datagrid" idField="id" fit="false" queryMode="group">
<t:dgCol title="主键" field="id" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="主键" field="id" hidden="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="操作" field="opt" width="350"></t:dgCol>
<t:dgCol title="创建人名称" field="createName" queryMode="single" width="80"></t:dgCol> <t:dgCol title="创建人名称" field="createName" queryMode="single" width="80"></t:dgCol>
<t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="创建日期" field="createDate" formatter="yyyy-MM-dd" queryMode="single" width="80"></t:dgCol> <t:dgCol title="创建日期" field="createDate" formatter="yyyy-MM-dd" queryMode="single" width="80"></t:dgCol>
@ -25,7 +27,6 @@
<t:dgCol title="备注" field="imBeizhu" queryMode="single" width="120"></t:dgCol> <t:dgCol title="备注" field="imBeizhu" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="单据状态" field="imSta" query="true" queryMode="single" width="50"></t:dgCol> <t:dgCol title="单据状态" field="imSta" query="true" queryMode="single" width="50"></t:dgCol>
<t:dgCol title="操作" field="opt" width="350"></t:dgCol>
<t:dgConfOpt title="删除" url="wmImNoticeHController.do?doDel&id={id}" urlclass="ace_button" message="确定要删除此收货通知" urlfont="fa-trash-o" exp="imSta#eq#计划中"/> <t:dgConfOpt title="删除" url="wmImNoticeHController.do?doDel&id={id}" urlclass="ace_button" message="确定要删除此收货通知" urlfont="fa-trash-o" exp="imSta#eq#计划中"/>
<%--<t:dgFunOpt title="预约通知" funname="print(id)" urlclass="ace_button" urlfont=" fa-print" exp="imSta#ne#已删除"/>--%> <%--<t:dgFunOpt title="预约通知" funname="print(id)" urlclass="ace_button" urlfont=" fa-print" exp="imSta#ne#已删除"/>--%>
<t:dgFunOpt title="验收单" funname="printysd(id)" urlclass="ace_button" urlfont=" fa-print" exp="imSta#ne#已删除"/> <t:dgFunOpt title="验收单" funname="printysd(id)" urlclass="ace_button" urlfont=" fa-print" exp="imSta#ne#已删除"/>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long