<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title>溯源码管理</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" type="text/css" href="../../layui/css/layui.css" />
	<link rel="stylesheet" type="text/css" href="../../css/common.css" />
	<!--操作模板-->
	<script type="text/html" id="operatingTool">
		<a class="layui-btn layui-btn-xs view-btn-0" lay-event="print">打印</a>
        <a class="layui-btn layui-btn-xs view-btn-0" lay-event="view">溯源预览</a>
        <a class="layui-btn layui-btn-xs view-btn-0" lay-event="viewdetail">查看明细</a>
        {{#if(d.originNum*1>d.cancelNum*1+d.usedNum*1){}}
        <a class="layui-btn layui-btn-normal layui-btn-xs edit-btn-0" lay-event="export">导出</a>
        {{#} }}
        {{#if(d.originNum*1>d.cancelNum*1+d.usedNum*1){}}
        <a class="layui-btn layui-btn-normal layui-btn-xs edit-btn-0" lay-event="drop">废弃</a>
        {{#} }}
        {{#if(d.originNum==d.cancelNum){}}
        <a class="layui-btn layui-btn-danger layui-btn-xs del-btn-0" lay-event="del">删除</a>
        {{#} }}
    </script>
	<script type="text/html" id="checkboxTpl">
        <!-- 这里的 checked 的状态只是演示 -->
	<input type="checkbox" name="isForbid" id="{{d.guid}}" value="{{d.isForbid}}" title="可用" lay-filter="statusDemo"
		{{ d.isForbid == 0 ? 'checked' : '' }}>
	</script>
</head>

<body class="childrenBody">
	<div class="layui-fluid">
		<div class="layui-row layui-col-space15">
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-header">溯源码管理</div>
					<div class="layui-card-body">
						<form class="layui-form" action="" novalidate>
							<div class="searching">
								<div style="flex: 7;" class="search-box">
									<!--<div class="layui-input-inline">-->
									<!--<div class="layui-btn layui-btn-normal layui-btn-sm add-btn-0" style="width: 8em;margin-left: 1em;" id="batchExportBtn" layId="batchExportBtn">导出</div>-->
									<!--</div>-->
									<!--<div class="layui-input-inline">-->
									<!--<div class="layui-btn layui-btn-normal layui-btn-sm add-btn-0" style="width: 8em;margin-left: 1em;" id="batchDropBtn" layId="batchDropBtn">废弃</div>-->
									<!--</div>-->
									<div class="layui-input-inline">
										<input class="layui-input search-input" name="goodsName" autocomplete="off" type="text"
											placeholder="请输入产品名称" />
									</div>
									<div class="layui-input-inline">
										<input class="layui-input search-input" name="goodsBatchNo" autocomplete="off" type="text"
											placeholder="请输入批次编码" />
									</div>
									<div class="layui-input-inline">
										<input class="layui-input search-input" name="goodsParentQrcode" autocomplete="off" type="text"
											placeholder="溯源码父码" />
									</div>
								</div>
								<div style="padding-left: 5px;">
									<button class="layui-btn layui-btn-normal" lay-submit lay-filter="DataSearch"
										layId="DataTable">搜索</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-body">
						<div class="layui-form news_list">
							<table id="DataTable" lay-filter="DataTable" class="layui-table" lay-even lay-skin="nob"></table>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>
		<embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0 pluginspage="install_lodop.exe"></embed>
	</object>
	<script type="text/javascript">
		function loadJS(url) {
			document.write("<script src='" + url + "?ver=" + new Date().getTime() + "'><\/script>")
		}
		loadJS("../../layui/layui.js");
		loadJS("../../js/ajaxhook.min.js");
		loadJS("../../js/config.js");
		loadJS("../../js/LodopFuncs.js");
		loadJS("index.js");
	</script>
</body>

</html>