给单据增加扫码功能
This commit is contained in:
@@ -146,6 +146,9 @@
|
||||
<div class="form-group">
|
||||
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchMaterialBtn">查询</a>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" id="appendMaterial">新增商品</a>
|
||||
</div>
|
||||
</div>
|
||||
<table id="materialSelectData" style="top:100px;border-bottom-color:#FFFFFF"></table>
|
||||
</div>
|
||||
@@ -572,11 +575,11 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendMaterial',
|
||||
text:'新增商品',
|
||||
iconCls:'icon-add',
|
||||
id:'switchToBarCode',
|
||||
text:'扫码',
|
||||
iconCls:'icon-search',
|
||||
handler:function() {
|
||||
js.addTabPage(null, "商品信息", "/pages/materials/material.html");
|
||||
inOutService.switchToBarCode(); //扫码
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -585,6 +588,8 @@
|
||||
return;
|
||||
}
|
||||
});
|
||||
var sweepBarCodeHtml = '<td><input id="sweepBarCode" type="text" placeholder="输入条码并敲回车键" class="radius-ui" style="width:150px;display:none;"/></td>';
|
||||
$('#depotHeadFM .datagrid-toolbar tr').append(sweepBarCodeHtml);
|
||||
$.ajax({
|
||||
type:"get",
|
||||
url: '/depotItem/getDetailList',
|
||||
|
||||
Reference in New Issue
Block a user