| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">物料编码</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HShortNumber" id="HShortNumber"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">物料代码</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HNumber" id="HNumber"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">产品名称</label> |
| | | <label class="layui-form-label">物料名称</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HName" id="HName"> |
| | | </div> |
| | |
| | | <select id="HClStatus" name="HClStatus" lay-filter=""> |
| | | <option value="">全部</option> |
| | | <option value="审核">审核</option> |
| | | <option value="审核">反审核</option> |
| | | <option value="未关闭" selected="">未关闭</option> |
| | | <option value="已关闭">已关闭</option> |
| | | </select> |
| | |
| | | </div> |
| | | </div> |
| | | <!--<div class="layui-inline"> |
| | | <label class="layui-form-label">状态</label> |
| | | <div class="layui-input-block"> |
| | | <select name="HStatus" id="HStatus" lay-filter=""> |
| | | <option value="">全部</option> |
| | | <option value="未打印" selected="">未打印</option> |
| | | <option value="已打印">已打印</option> |
| | | </select> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label">状态</label> |
| | | <div class="layui-input-block"> |
| | | <select name="HStatus" id="HStatus" lay-filter=""> |
| | | <option value="">全部</option> |
| | | <option value="未打印" selected="">未打印</option> |
| | | <option value="已打印">已打印</option> |
| | | </select> |
| | | </div> |
| | | </div>--> |
| | | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">采购组织</label> |
| | |
| | | // , where: { msg: "", NowPage: 1, OnePage: 10 } |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | { checkbox: true, fixed: true } |
| | | { checkbox: true/*, fixed: true*/ } |
| | | |
| | | , { field: 'sorderid', title: '序号', width: 80, fixed: true } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', sort: true, fixed: true, hide: true } |
| | | , { field: '状态', title: '状态', width: 100, sort: true, fixed: true } |
| | | , { field: '单据状态', title: '单据状态', sort: true, fixed: true } |
| | | , { field: '单据号', title: '单据号', width: 180, sort: true, fixed: true } |
| | | , { field: '送货单号', title: '送货单号', width: 180, sort: true, fixed: true } |
| | | , { field: '物流单号', title: '物流单号', width: 180, sort: true, fixed: true } |
| | | , { field: '物料代码', title: '物料代码', width: 180, sort: true } |
| | | , { field: '物料名称', title: '物料名称', width: 180, sort: true } |
| | | , { field: '规格型号', title: '规格型号', width: 180, sort: true } |
| | | , { field: 'sorderid', title: '序号', width: 80/*, fixed: true*/ } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true/*, fixed: true*/, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', sort: true/*, fixed: true*/, hide: true } |
| | | , { field: '状态', title: '状态', width: 100, sort: true/*, fixed: true*/ } |
| | | , { field: '单据状态', title: '单据状态', sort: true/*, fixed: true*/ } |
| | | , { field: '单据号', title: '单据号', width: 150, sort: true/*, fixed: true*/ } |
| | | , { field: '送货单号', title: '送货单号', width: 150, sort: true/*, fixed: true*/ } |
| | | , { field: '物流单号', title: '物流单号', width: 150, sort: true/*, fixed: true*/ } |
| | | , { field: '物料编码', title: '物料编码', width: 120, sort: true } |
| | | , { field: '物料代码', title: '物料代码', width: 120, sort: true } |
| | | , { field: '物料名称', title: '物料名称', width: 120, sort: true } |
| | | , { field: '规格型号', title: '规格型号', width: 120, sort: true } |
| | | , { field: '计量单位', title: '计量单位', width: 80, sort: true } |
| | | , { field: '数量', title: '订货数量', width: 100, sort: true } |
| | | , { field: '未生成条码数量', title: '未生成条码数量', width: 100, sort: true } |
| | | , { field: '合格数量', title: '合格数量', width: 100, sort: true } |
| | | , { field: '不合格数量', title: '不合格数量', width: 100, sort: true } |
| | | , { field: '含税单价', title: '含税单价', width: 100, sort: true } |
| | | , { field: '金额', title: '金额', width: 100, sort: true } |
| | | , { field: '含税单价', title: '含税单价', width: 100, sort: true, hide: true } |
| | | , { field: '金额', title: '金额', width: 100, sort: true, hide: true } |
| | | , { field: '日期', title: '日期', width: 150, sort: true } |
| | | , { field: '批次', title: '批次', width: 150, sort: true } |
| | | , { field: '生产日期', title: '生产日期', width: 150, sort: true } |
| | |
| | | sqlWhere += " and 单据号 like ^^%" + $("#HBillNo").val() + "%^^"; |
| | | if ($("#HInnerBillNo").val() != "") |
| | | sqlWhere += " and 送货单号 like ^^%" + $("#HInnerBillNo").val() + "%^^"; |
| | | if ($("#HShortNumber").val() != "") |
| | | sqlWhere += " and 物料编码 like ^^%" + $("#HShortNumber").val() + "%^^"; |
| | | if ($("#HNumber").val() != "") |
| | | sqlWhere += " and 物料代码 like ^^%" + $("#HNumber").val() + "%^^"; |
| | | if ($("#HName").val() != "") |