上下架读取商品名称

master
e 2019-05-31 14:31:12 +08:00
parent c026eb30c3
commit 947b0bd9d8
5 changed files with 19 additions and 17 deletions

View File

@ -77,6 +77,7 @@ public class BarcodeUtil {
// 配置对象 // 配置对象
bean.setModuleWidth(moduleWidth); bean.setModuleWidth(moduleWidth);
bean.setBarHeight((double) 5);
// bean.setWideFactor(3); // bean.setWideFactor(3);
bean.doQuietZone(false); bean.doQuietZone(false);

View File

@ -90,7 +90,7 @@ function counttiji(){
<b style="color:red">价格</b> <b style="color:red">价格</b>
</div> </div>
<div class="col-xs-3"> <div class="col-xs-3">
<input id="gaoDanpin" name="gaoDanpin" type="text" class="form-control" <input id="gaoDanPin" name="gaoDanPin" type="text" class="form-control"
ignore="checked" ignore="checked"
required="required"/> required="required"/>
<span class="Validform_checktip" style="float:left;height:0px;"></span> <span class="Validform_checktip" style="float:left;height:0px;"></span>

View File

@ -97,8 +97,8 @@
<b style="color:red">价格</b> <b style="color:red">价格</b>
</div> </div>
<div class="col-xs-3"> <div class="col-xs-3">
<input id="gaoDanpin" name="gaoDanpin" type="text" class="form-control" <input id="gaoDanPin" name="gaoDanPin" type="text" class="form-control"
ignore="checked" value='${mdGoodsPage.gaoDanpin}' ignore="checked" value='${mdGoodsPage.gaoDanPin}'
/> />
<span class="Validform_checktip" style="float:left;height:0px;"></span> <span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">价格</label> <label class="Validform_label" style="display: none">价格</label>

View File

@ -113,7 +113,7 @@
} }
function doprint(id){ function doprint(id){
var url = "mdGoodsController.do?doPrintmdgoods&id="+id; var url = "mdGoodsController.do?doPrintmdgoods&id="+id;
createdetailwindow(" 商品标签", url, 800, 600); createdetailwindow(" 商品标签", url, 400, 300);
// window.open(url); // window.open(url);
} }

View File

@ -98,31 +98,32 @@ function printview(){
</head> </head>
<body style="overflow-y:auto" scroll="no"> <body style="overflow-y:auto" scroll="no">
<a class="easyui-linkbutton" style="margin-top:3px" icon="icon-print" href="javascript:printall()">打印</a>
<div class="printdiv"><t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" > <div class="printdiv"><t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" >
<table border=0 cellpadding=0 cellspacing=0 width=2340 style='border-collapse: <table border=0 cellpadding=0 cellspacing=0 width=1000 style='border-collapse:
collapse;table-layout:fixed;width:438pt;margin-left: 30px;margin-top: -30px'> collapse;table-layout:fixed;width:200pt;margin-left: 30px;margin-top: -30px'>
<col width=45 style='mso-width-source:userset;mso-width-alt:3612;width:34pt'> <col width=20 style='mso-width-source:userset;mso-width-alt:3612;width:17pt'>
<col width=102 style='mso-width-source:userset;mso-width-alt:1560;width:76pt'> <col width=20 style='mso-width-source:userset;mso-width-alt:1560;width:17pt'>
<col width=45 style='mso-width-source:userset;mso-width-alt:3612;width:34pt'> <col width=20 style='mso-width-source:userset;mso-width-alt:3612;width:17pt'>
<col width=102 style='mso-width-source:userset;mso-width-alt:1560;width:76pt'> <col width=20 style='mso-width-source:userset;mso-width-alt:1560;width:17pt'>
<tr height=40 style='mso-height-source:userset;height:30.0pt'> <tr height=40 style='mso-height-source:userset;height:50.0pt'>
<th colspan=4 height=40 class=xl67 style='height:30.0pt' ><span style="font-size: 18pt">商品标签</span></th> <th colspan=4 height=40 class=xl67 style='height:50.0pt' ><span style="font-size: 18pt">商品标签</span></th>
</tr> </tr>
<tr height=20 style='mso-height-source:userset;height:20.05pt'> <tr height=20 style='mso-height-source:userset;height:20.05pt'>
<td height=20 class=xl65 style='height:20.05pt;border:1.0pt solid black;text-align: center'>中文</td> <td height=20 class=xl65 style='height:20.05pt;border:1.0pt solid black;text-align: center'>中文</td>
<td colspan=3 class=xl65 style='border:1.0pt solid black;text-align: center'> ${mdGoodsPage.shpMingCheng} </td> <td colspan=3 class=xl65 style='border:1.0pt solid black;text-align: left'> ${mdGoodsPage.shpMingCheng} </td>
</tr> </tr>
<tr height=20 style='mso-height-source:userset;height:20.05pt'> <tr height=20 style='mso-height-source:userset;height:20.05pt'>
<td height=20 class=xl65 style='height:20.05pt;border:1.0pt solid black;text-align: center'>日文</td> <td height=20 class=xl65 style='height:20.05pt;border:1.0pt solid black;text-align: center'>日文</td>
<td colspan=3 class=xl65 style='border:1.0pt solid black;text-align: center'> ${mdGoodsPage.rwMingCheng} </td> <td colspan=3 class=xl65 style='border:1.0pt solid black;text-align: left'> ${mdGoodsPage.rwMingCheng} </td>
</tr> </tr>
@ -141,14 +142,14 @@ function printview(){
<td height=20 class=xl65 style='height:20.05pt;border:1.0pt solid black;text-align: center'>条码</td> <td height=20 class=xl65 style='height:20.05pt;border:1.0pt solid black;text-align: center'>条码</td>
<td colspan=3 class=xl65 style='border:1.0pt solid black;text-align: center'> ${mdGoodsPage.shpTiaoMa} </td> <td colspan=3 class=xl65 style='border:1.0pt solid black;text-align: left'> ${mdGoodsPage.shpTiaoMa} </td>
</tr> </tr>
<tr height=40 style='mso-height-source:userset;height:30.0pt'> <tr height=40 style='mso-height-source:userset '>
<th colspan=4 height=400 class=xl67 style='height:30.0pt' ><span style="font-size: 18pt"><img src="systemController/showOrDownbarcodeByurl.do?dbPath=${mdGoodsPage.shpTiaoMa }" ></span></th> <th colspan=4 height=80 class=xl67 ><span style="font-size: 18pt"><img src="rest/wmBaseController/showOrDownbarcodeByurl.do?qrvalue=${mdGoodsPage.shpTiaoMa }" ></span></th>
</tr> </tr>
</table> </table>
</t:formvalid></div> </t:formvalid></div>