|  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "单价") | 
|---|
|  |  |  | private Double price; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "sku") | 
|---|
|  |  |  | private String sku; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "包数") | 
|---|
|  |  |  | private Double units; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "条码") | 
|---|
|  |  |  | private String barcode; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "物料状态") | 
|---|
|  |  |  | private String origin; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "厂家") | 
|---|
|  |  |  | private String manu; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "单据时间") | 
|---|
|  |  |  | @TableField("manu_date") | 
|---|
|  |  |  | private String manuDate; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "品项数") | 
|---|
|  |  |  | @TableField("item_num") | 
|---|
|  |  |  | private String itemNum; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "安全库存量") | 
|---|
|  |  |  | @TableField("safe_qty") | 
|---|
|  |  |  | private Double safeQty; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "重量") | 
|---|
|  |  |  | private Double weight; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "长度") | 
|---|
|  |  |  | private Double length; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "体积") | 
|---|
|  |  |  | private Double volume; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "三方编码") | 
|---|
|  |  |  | @TableField("three_code") | 
|---|
|  |  |  | private String threeCode; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "供应商") | 
|---|
|  |  |  | private String supp; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "供应商编码") | 
|---|
|  |  |  | @TableField("supp_code") | 
|---|
|  |  |  | private String suppCode; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "是否批次 1: 是  0: 否  ") | 
|---|
|  |  |  | @TableField("be_batch") | 
|---|
|  |  |  | private Integer beBatch; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "保质期") | 
|---|
|  |  |  | @TableField("dead_time") | 
|---|
|  |  |  | private String deadTime; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "预警天数") | 
|---|
|  |  |  | @TableField("dead_warn") | 
|---|
|  |  |  | private Integer deadWarn; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "制购 1: 制造  2: 采购  3: 外协  ") | 
|---|
|  |  |  | private Integer source; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "要求检验 1: 是  0: 否  ") | 
|---|
|  |  |  | private Integer inspect; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "危险品 1: 是  0: 否  ") | 
|---|
|  |  |  | private Integer danger; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "修改人员") | 
|---|
|  |  |  | @TableField("modi_user") | 
|---|
|  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "修改时间") | 
|---|
|  |  |  | @TableField("modi_time") | 
|---|
|  |  |  | private Date modiTime; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "创建者") | 
|---|
|  |  |  | @TableField("appe_user") | 
|---|
|  |  |  | private Long appeUser; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "添加时间") | 
|---|
|  |  |  | @TableField("appe_time") | 
|---|
|  |  |  | private Date appeTime; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "备注") | 
|---|
|  |  |  | private String memo; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @TableField("stock_freeze") | 
|---|
|  |  |  | @ApiModelProperty(value= "库存冻结{1:正常,0:冻结}") | 
|---|
|  |  |  | 
|---|
|  |  |  | return null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getBeBatch$(){ | 
|---|
|  |  |  | if (null == this.beBatch){ return null; } | 
|---|
|  |  |  | switch (this.beBatch){ | 
|---|
|  |  |  | case 1: | 
|---|
|  |  |  | return "是"; | 
|---|
|  |  |  | case 0: | 
|---|
|  |  |  | return "否"; | 
|---|
|  |  |  | default: | 
|---|
|  |  |  | return String.valueOf(this.beBatch); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getSource$(){ | 
|---|
|  |  |  | if (null == this.source){ return null; } | 
|---|
|  |  |  | switch (this.source){ | 
|---|
|  |  |  | case 1: | 
|---|
|  |  |  | return "制造"; | 
|---|
|  |  |  | case 2: | 
|---|
|  |  |  | return "采购"; | 
|---|
|  |  |  | case 3: | 
|---|
|  |  |  | return "外协"; | 
|---|
|  |  |  | default: | 
|---|
|  |  |  | return String.valueOf(this.source); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getInspect$(){ | 
|---|
|  |  |  | if (null == this.inspect){ return null; } | 
|---|
|  |  |  | switch (this.inspect){ | 
|---|
|  |  |  | case 1: | 
|---|
|  |  |  | return "是"; | 
|---|
|  |  |  | case 0: | 
|---|
|  |  |  | return "否"; | 
|---|
|  |  |  | default: | 
|---|
|  |  |  | return String.valueOf(this.inspect); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getDanger$(){ | 
|---|
|  |  |  | if (null == this.danger){ return null; } | 
|---|
|  |  |  | switch (this.danger){ | 
|---|
|  |  |  | case 1: | 
|---|
|  |  |  | return "是"; | 
|---|
|  |  |  | case 0: | 
|---|
|  |  |  | return "否"; | 
|---|
|  |  |  | default: | 
|---|
|  |  |  | return String.valueOf(this.danger); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getModiUser$(){ | 
|---|
|  |  |  | UserService service = SpringUtils.getBean(UserService.class); | 
|---|
|  |  |  | 
|---|
|  |  |  | return ""; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modiTime); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getAppeUser$(){ | 
|---|
|  |  |  | UserService service = SpringUtils.getBean(UserService.class); | 
|---|
|  |  |  | User user = service.selectById(this.appeUser); | 
|---|
|  |  |  | if (!Cools.isEmpty(user)){ | 
|---|
|  |  |  | return String.valueOf(user.getUsername()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getAppeTime$(){ | 
|---|
|  |  |  | if (Cools.isEmpty(this.appeTime)){ | 
|---|
|  |  |  | return ""; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void sync(Object source) { | 
|---|
|  |  |  | 
|---|
|  |  |  | waitPakin.sync(mat); | 
|---|
|  |  |  | waitPakin.setOrderNo(orderNo);   // 单据编号 | 
|---|
|  |  |  | waitPakin.setBatch(detlDto.getBatch());     // 序列码 | 
|---|
|  |  |  | waitPakin.setZpallet(zpallet);   // 托盘码 | 
|---|
|  |  |  | //waitPakin.setZpallet(zpallet);   // 托盘码 | 
|---|
|  |  |  | waitPakin.setSuppCode(zpallet);   // 托盘码 | 
|---|
|  |  |  | waitPakin.setIoStatus("N");     // 入出状态 | 
|---|
|  |  |  | waitPakin.setAnfme(detlDto.getAnfme());  // 数量 | 
|---|
|  |  |  | waitPakin.setStatus("Y");    // 状态 | 
|---|
|  |  |  | 
|---|
|  |  |  | var tableData; | 
|---|
|  |  |  | function getCol() { | 
|---|
|  |  |  | var cols = [ | 
|---|
|  |  |  | {field: 'locNo', align: 'center',title: '库位号'}, | 
|---|
|  |  |  | {field: 'matnr', align: 'center',title: '物料号', sort:true} | 
|---|
|  |  |  | ,{field: 'maktx', align: 'center',title: '物料名称', sort:true} | 
|---|
|  |  |  | {field: 'locNo', align: 'center',title: '库位号'} | 
|---|
|  |  |  | ,{field: 'suppCode', align: 'center',title: '料箱码', sort:true} | 
|---|
|  |  |  | ,{field: 'matnr', align: 'center',title: '存货编码', sort:true} | 
|---|
|  |  |  | ,{field: 'maktx', align: 'center',title: '存货名称', sort:true} | 
|---|
|  |  |  | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '序列码', width: 300, sort:true} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '序列码', sort:true} | 
|---|
|  |  |  | ,{field: 'anfme', align: 'center',title: '数量'} | 
|---|
|  |  |  | ,{field: 'units', align: 'center',title: '销售订单号', hide: true} | 
|---|
|  |  |  | ,{field: 'units', align: 'center',title: '销售订单行号', hide: true} | 
|---|
|  |  |  | ,{field: 'zpallet', align: 'center',title: '托盘条码'} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ,{field: 'specs', align: 'center',title: '规格'} | 
|---|
|  |  |  | ,{field: 'specs', align: 'center',title: '规格型号', hide: true} | 
|---|
|  |  |  | ,{field: 'model', align: 'center',title: '通用型号', hide: true} | 
|---|
|  |  |  | ,{field: 'color', align: 'center',title: '颜色', hide: true} | 
|---|
|  |  |  | ,{field: 'brand', align: 'center',title: '品牌', hide: true} | 
|---|
|  |  |  | ,{field: 'unit', align: 'center',title: '单位', hide: true} | 
|---|
|  |  |  | ,{field: 'price', align: 'center',title: '单价', hide: true} | 
|---|
|  |  |  | ,{field: 'sku', align: 'center',title: 'sku', hide: true} | 
|---|
|  |  |  | ,{field: 'units', align: 'center',title: '包数', hide: true} | 
|---|
|  |  |  | ,{field: 'barcode', align: 'center',title: '条码', hide: true} | 
|---|
|  |  |  | ,{field: 'origin', align: 'center',title: '物料状态', hide: true} | 
|---|
|  |  |  | ,{field: 'manu', align: 'center',title: '厂家', hide: true} | 
|---|
|  |  |  | ,{field: 'manuDate', align: 'center',title: '单据时间', hide: true} | 
|---|
|  |  |  | ,{field: 'itemNum', align: 'center',title: '品项数', hide: true} | 
|---|
|  |  |  | ,{field: 'safeQty', align: 'center',title: '安全库存量', hide: true} | 
|---|
|  |  |  | ,{field: 'weight', align: 'center',title: '单箱净重', hide: true} | 
|---|
|  |  |  | ,{field: 'length', align: 'center',title: '单箱毛重', hide: true} | 
|---|
|  |  |  | ,{field: 'volume', align: 'center',title: '单箱体积', hide: true} | 
|---|
|  |  |  | ,{field: 'threeCode', align: 'center',title: '箱子尺寸', hide: true} | 
|---|
|  |  |  | ,{field: 'supp', align: 'center',title: '供应商', hide: true} | 
|---|
|  |  |  | ,{field: 'suppCode', align: 'center',title: '供应商编码', hide: true} | 
|---|
|  |  |  | ,{field: 'beBatch$', align: 'center',title: '是否批次', hide: true} | 
|---|
|  |  |  | ,{field: 'deadTime', align: 'center',title: '保质期', hide: true} | 
|---|
|  |  |  | ,{field: 'deadWarn', align: 'center',title: '预警天数', hide: true} | 
|---|
|  |  |  | ,{field: 'source$', align: 'center',title: '制购', hide: true} | 
|---|
|  |  |  | ,{field: 'check$', align: 'center',title: '要求检验', hide: true} | 
|---|
|  |  |  | ,{field: 'danger$', align: 'center',title: '危险品', hide: true} | 
|---|
|  |  |  | ,{field: 'brand', align: 'center',title: '存货分类编码', hide: true} | 
|---|
|  |  |  | ,{field: 'color', align: 'center',title: '存货分类名称', hide: true} | 
|---|
|  |  |  | ,{field: 'unit', align: 'center',title: '计量单位', hide: true} | 
|---|
|  |  |  | ,{field: 'price', align: 'center',title: '进项税', hide: true} | 
|---|
|  |  |  | ,{field: 'units', align: 'center',title: '销项税', hide: true} | 
|---|
|  |  |  | ,{field: 'memo', align: 'center',title: '备注', hide: true} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ]; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | function getCol() { | 
|---|
|  |  |  | var cols = [ | 
|---|
|  |  |  | {field: 'locNo$', align: 'center',title: '库位号'} | 
|---|
|  |  |  | ,{field: 'matnr', align: 'center',title: '料箱码', sort:true} | 
|---|
|  |  |  | ,{field: 'suppCode', align: 'center',title: '料箱码', sort:true} | 
|---|
|  |  |  | ,{field: 'matnr', align: 'center',title: '存货编码', sort:true} | 
|---|
|  |  |  | ,{field: 'maktx', align: 'center',title: '存货名称', sort:true} | 
|---|
|  |  |  | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false} | 
|---|
|  |  |  | 
|---|
|  |  |  | ,{field: 'unit', align: 'center',title: '计量单位', hide: true} | 
|---|
|  |  |  | ,{field: 'price', align: 'center',title: '进项税', hide: true} | 
|---|
|  |  |  | ,{field: 'units', align: 'center',title: '销项税', hide: true} | 
|---|
|  |  |  | //,{field: 'dsDate', align: 'center',title: '启用日期', hide: true} | 
|---|
|  |  |  | //,{field: 'supp', align: 'center',title: '建档人', hide: true} | 
|---|
|  |  |  | //,{field: 'dInvCreateDatetime', align: 'center',title: '建档日期', hide: true} | 
|---|
|  |  |  | //,{field: 'updateBy$', align: 'center',title: '修改人员', hide: true} | 
|---|
|  |  |  | //,{field: 'updateTime$', align: 'center',title: '修改时间', hide: true} | 
|---|
|  |  |  | ,{field: 'memo', align: 'center',title: '备注', hide: true} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // ,{field: 'specs', align: 'center',title: '规格'} | 
|---|
|  |  |  | // ,{field: 'model', align: 'center',title: '通用型号', hide: true} | 
|---|
|  |  |  | // ,{field: 'color', align: 'center',title: '颜色', hide: true} | 
|---|
|  |  |  | // ,{field: 'brand', align: 'center',title: '品牌', hide: true} | 
|---|
|  |  |  | // ,{field: 'unit', align: 'center',title: '单位', hide: true} | 
|---|
|  |  |  | // ,{field: 'price', align: 'center',title: '单价', hide: true} | 
|---|
|  |  |  | // ,{field: 'sku', align: 'center',title: 'sku', hide: true} | 
|---|
|  |  |  | // ,{field: 'units', align: 'center',title: '包数', hide: true} | 
|---|
|  |  |  | // ,{field: 'barcode', align: 'center',title: '条码', hide: true} | 
|---|
|  |  |  | // ,{field: 'origin', align: 'center',title: '物料状态', hide: true} | 
|---|
|  |  |  | // ,{field: 'manu', align: 'center',title: '厂家', hide: true} | 
|---|
|  |  |  | // ,{field: 'manuDate', align: 'center',title: '单据时间', hide: true} | 
|---|
|  |  |  | // ,{field: 'itemNum', align: 'center',title: '品项数', hide: true} | 
|---|
|  |  |  | // ,{field: 'safeQty', align: 'center',title: '安全库存量', hide: true} | 
|---|
|  |  |  | // ,{field: 'weight', align: 'center',title: '单箱净重', hide: true} | 
|---|
|  |  |  | // ,{field: 'length', align: 'center',title: '单箱毛重', hide: true} | 
|---|
|  |  |  | // ,{field: 'volume', align: 'center',title: '单箱体积', hide: true} | 
|---|
|  |  |  | // ,{field: 'threeCode', align: 'center',title: '箱子尺寸', hide: true} | 
|---|
|  |  |  | // ,{field: 'supp', align: 'center',title: '供应商', hide: true} | 
|---|
|  |  |  | // ,{field: 'suppCode', align: 'center',title: '供应商编码', hide: true} | 
|---|
|  |  |  | // ,{field: 'beBatch$', align: 'center',title: '是否批次', hide: true} | 
|---|
|  |  |  | // ,{field: 'deadTime', align: 'center',title: '保质期', hide: true} | 
|---|
|  |  |  | // ,{field: 'deadWarn', align: 'center',title: '预警天数', hide: true} | 
|---|
|  |  |  | // ,{field: 'source$', align: 'center',title: '制购', hide: true} | 
|---|
|  |  |  | // ,{field: 'check$', align: 'center',title: '要求检验', hide: true} | 
|---|
|  |  |  | // ,{field: 'danger$', align: 'center',title: '危险品', hide: true} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ]; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <!--    <div class="layui-inline">--> | 
|---|
|  |  |  | <!--        <div class="layui-input-inline">--> | 
|---|
|  |  |  | <!--            <input class="layui-input" type="text" name="loc_type" placeholder="库区选择" autocomplete="off">--> | 
|---|
|  |  |  | <!--        </div>--> | 
|---|
|  |  |  | <!--    </div>--> | 
|---|
|  |  |  | <div class="layui-input-inline"> | 
|---|
|  |  |  | <select id="floorSelect" name="loc_type" lay-filter="floorSelect"> | 
|---|
|  |  |  | <option value="1">AGV库区</option> | 
|---|
|  |  |  | <option value="2">四项库区</option> | 
|---|
|  |  |  | <option value="3">平库区</option> | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <!--    <div class="layui-inline">--> | 
|---|
|  |  |  | <!--        <div class="layui-input-inline">--> | 
|---|
|  |  |  | <!--            <input class="layui-input" type="text" name="row" placeholder="排数" autocomplete="off">--> | 
|---|
|  |  |  | <!--        </div>--> | 
|---|
|  |  |  | <!--    </div>--> | 
|---|
|  |  |  | <div class="layui-inline"> | 
|---|
|  |  |  | <div class="layui-input-inline"> | 
|---|
|  |  |  | <input class="layui-input" type="text" name="condition" placeholder="请输入" autocomplete="off"> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <!--    <div class="layui-inline">--> | 
|---|
|  |  |  | <!--        <div class="layui-input-inline">--> | 
|---|
|  |  |  | <!--            <input class="layui-input" type="text" name="condition" placeholder="请输入" autocomplete="off">--> | 
|---|
|  |  |  | <!--        </div>--> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <!--    </div>--> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!-- 待添加 --> | 
|---|
|  |  |  | <div id="data-search-btn" class="layui-btn-container layui-form-item" style="display: inline-block"> | 
|---|
| New file | 
|  |  |  | 
|---|
|  |  |  | <!DOCTYPE html> | 
|---|
|  |  |  | <html lang="en"> | 
|---|
|  |  |  | <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"> | 
|---|
|  |  |  | <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all"> | 
|---|
|  |  |  | <link rel="stylesheet" href="../../static/css/admin.css?v=318" media="all"> | 
|---|
|  |  |  | <link rel="stylesheet" href="../../static/css/cool.css" media="all"> | 
|---|
|  |  |  | <link rel="stylesheet" href="../../static/css/common.css" media="all"> | 
|---|
|  |  |  | <style> | 
|---|
|  |  |  | html { | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  | padding: 10px; | 
|---|
|  |  |  | background-color: #f1f1f1; | 
|---|
|  |  |  | box-sizing: border-box; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | body { | 
|---|
|  |  |  | background-color: #fff; | 
|---|
|  |  |  | border-radius: 5px; | 
|---|
|  |  |  | box-shadow: 0 0 3px rgba(0,0,0,.3); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /* search */ | 
|---|
|  |  |  | .layui-card-header { | 
|---|
|  |  |  | border-bottom: none; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | #search-box { | 
|---|
|  |  |  | padding: 30px 0 10px 0; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | #search-box .layui-inline:first-child { | 
|---|
|  |  |  | margin-left: 30px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | #search-box .layui-inline { | 
|---|
|  |  |  | margin-right: 5px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #data-search-btn { | 
|---|
|  |  |  | margin-left: 10px; | 
|---|
|  |  |  | display: inline-block; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | #data-search-btn.layui-btn-container .layui-btn { | 
|---|
|  |  |  | margin-right: 20px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /* add */ | 
|---|
|  |  |  | .function-area { | 
|---|
|  |  |  | padding: 15px 0 20px 40px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .function-btn { | 
|---|
|  |  |  | font-size: 16px; | 
|---|
|  |  |  | padding: 1px 1px 1px 1px; | 
|---|
|  |  |  | width: 120px; | 
|---|
|  |  |  | height: 40px; | 
|---|
|  |  |  | border-color: #2b425b; | 
|---|
|  |  |  | border-radius: 4px; | 
|---|
|  |  |  | border-width: 1px; | 
|---|
|  |  |  | background: none; | 
|---|
|  |  |  | border-style: solid; | 
|---|
|  |  |  | transition: 0.4s; | 
|---|
|  |  |  | cursor: pointer; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .function-btn:hover { | 
|---|
|  |  |  | background-color: #2b425b; | 
|---|
|  |  |  | color: #fff; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #mat-query { | 
|---|
|  |  |  | display: none; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | #btn-adjust { | 
|---|
|  |  |  | display: none; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | </style> | 
|---|
|  |  |  | </head> | 
|---|
|  |  |  | <body style="padding-bottom: 30px"> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!-- 搜索栏 --> | 
|---|
|  |  |  | <div id="search-box" class="layui-form layui-card-header"> | 
|---|
|  |  |  | <div class="layui-inline"> | 
|---|
|  |  |  | <div class="layui-input-inline"> | 
|---|
|  |  |  | <input id="searchLocNo" class="layui-input" type="text" name="loc_no" placeholder="库位号" autocomplete="off"  style="height: 45px;border-color: #b8b8b8"> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <!-- 待添加 --> | 
|---|
|  |  |  | <div id="data-search-btn" class="layui-btn-container layui-form-item" style="display: inline-block"> | 
|---|
|  |  |  | <button id="search" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="search">检索</button> | 
|---|
|  |  |  | <button id="reset" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="reset">重置</button> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <!-- 库位提示 --> | 
|---|
|  |  |  | <div style="display: inline-block; font-size: 20px;font-weight: 300"> | 
|---|
|  |  |  | <div class="not-retrieve" style="color: #ff0000;font-family: '黑体';"> | 
|---|
|  |  |  | 请先检索库位 | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="retrieve" style="display: none;color: #0097ff;font-family: '黑体';"> | 
|---|
|  |  |  | 当前检索库位:  <span id="locMsg" style=""></span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <hr> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!-- 功能区 --> | 
|---|
|  |  |  | <div class="function-area"> | 
|---|
|  |  |  | <button id="mat-query" class="function-btn">新增库存</button> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!-- 头部 --> | 
|---|
|  |  |  | <script type="text/html" id="toolbar"> | 
|---|
|  |  |  | <button class="layui-btn layui-btn-lg" id="btn-adjust" lay-event="adjust" style="">调整库存</button> | 
|---|
|  |  |  | </script> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!-- 行 --> | 
|---|
|  |  |  | <script type="text/html" id="operate"> | 
|---|
|  |  |  | <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="remove">移除</a> | 
|---|
|  |  |  | </script> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!-- 表格 --> | 
|---|
|  |  |  | <table class="layui-table" id="chooseData" lay-filter="chooseData"></table> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> | 
|---|
|  |  |  | <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script> | 
|---|
|  |  |  | <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> | 
|---|
|  |  |  | <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script> | 
|---|
|  |  |  | <script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script> | 
|---|
|  |  |  | <script type="text/javascript" src="../../static/js/agvPakStore/stockAdjust.js" charset="utf-8"></script> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </body> | 
|---|
|  |  |  | </html> | 
|---|
|  |  |  |  | 
|---|