| | |
| | | package com.zy.asrs.entity; |
| | | |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 备用1(PO) |
| | | */ |
| | | @ApiModelProperty(value= "备用1")//PO |
| | | @ExcelProperty("客户PO") |
| | | private String standby1 = "1"; |
| | | |
| | | /** |
| | | * 备用2(UPC) |
| | | */ |
| | | @ApiModelProperty(value= "备用2")//UPC |
| | | @ExcelProperty("条码UPC") |
| | | private String standby2 = "1"; |
| | | |
| | | /** |
| | | * 备用3(SKU) |
| | | */ |
| | | @ApiModelProperty(value= "备用3")//SKU |
| | | @ExcelProperty("客户SKU") |
| | | private String standby3 = "1"; |
| | | |
| | | /** |
| | | * 备用1 |
| | | */ |
| | | @ApiModelProperty(value= "备用1") |
| | | @TableField("box_type1") |
| | | @ExcelProperty("货主") |
| | | private String boxType1 = "1"; |
| | | |
| | | /** |
| | | * 备用2 |
| | | */ |
| | | @ApiModelProperty(value= "备用2") |
| | | @TableField("box_type2") |
| | | private String boxType2 = "1"; |
| | | |
| | | /** |
| | | * 备用3 |
| | | */ |
| | | @ApiModelProperty(value= "备用3") |
| | | @TableField("box_type3") |
| | | @ExcelProperty("采购单号") |
| | | private String boxType3 = "1"; |
| | | |
| | | public String getModiUser$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.selectById(this.modi_user); |
| | |
| | | var pageCurr; |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'standby1', align: 'center',title: '客户po', hide: false}, |
| | | {field: 'standby3', align: 'center',title: '客户sku', hide: false}, |
| | | {field: 'anfme', align: 'center',title: '库存数量', style: 'font-weight: bold'} |
| | | ]; |
| | | arrRemove(detlCols, "field", "anfme") |
| | | arrRemove(detlCols, "field", "zpallet") |
| | | arrRemove(detlCols, "field", "orderNo") |
| | | arrRemove(detlCols, "field", "standby1") |
| | | arrRemove(detlCols, "field", "standby3") |
| | | |
| | | // arrRemove(detlCols, "field", "memo") |
| | | cols.push.apply(cols, detlCols); |
| | | // cols.push({field: 'anfme', align: 'center',title: '数量', style: 'font-weight: bold'} |
| | |
| | | var locDetlData = []; |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'locNo', align: 'center',title: '库位号', merge: true, style: 'font-weight: bold'} |
| | | {field: 'locNo', align: 'center',title: '库位号', merge: true, style: 'font-weight: bold'}, |
| | | {field: 'matnr', align: 'center',title: '商品编号', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false}, |
| | | {field: 'standby1', align: 'center',title: '客户po', hide: false}, |
| | | {field: 'standby3', align: 'center',title: '客户sku', hide: false}, |
| | | ]; |
| | | arrRemove(detlCols, "field", "matnr") |
| | | arrRemove(detlCols, "field", "orderNo") |
| | | arrRemove(detlCols, "field", "standby1") |
| | | arrRemove(detlCols, "field", "standby3") |
| | | cols.push.apply(cols, detlCols); |
| | | return cols; |
| | | } |
| | |
| | | var locDetlData = []; |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'standby1', align: 'center',title: '客户po', hide: false}, |
| | | {field: 'standby3', align: 'center',title: '客户sku', hide: false}, |
| | | {field: 'count', align: 'center',title: '出库数量', edit:'text', width: 130, style:'color: blue;font-weight: bold'} |
| | | ,{field: 'anfme', align: 'center',title: '库存数量'} |
| | | ,{field: 'locNo$', align: 'center',title: '库位号'} |
| | | ]; |
| | | arrRemove(detlCols, "field", "standby1") |
| | | arrRemove(detlCols, "field", "standby3") |
| | | arrRemove(detlCols, 'field', 'anfme'); |
| | | cols.push.apply(cols, detlCols); |
| | | cols.push({fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width: 80}) |
| | |
| | | v-model="searchForm.orderNo" |
| | | placeholder="请输入订单号" |
| | | clearable |
| | | style="width: 150px;" |
| | | style="width: 250px;" |
| | | @keyup.enter.native="handleSearch" |
| | | ></el-input> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="standby1" placeholder="PO" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="boxType3" placeholder="采购单号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | |
| | | function getCol() { |
| | | let cols = [ |
| | | {type: 'checkbox', merge: ['locNo']} |
| | | ,{field: 'locNo', align: 'center',title: '库位号', merge: true, style: 'font-weight: bold'} |
| | | ,{field: 'locNo', align: 'center',title: '库位号', merge: true, style: 'font-weight: bold'}, |
| | | {field: 'matnr', align: 'center',title: '商品编号', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false}, |
| | | {field: 'standby1', align: 'center',title: '客户po', hide: false}, |
| | | {field: 'standby3', align: 'center',title: '客户sku', hide: false}, |
| | | ]; |
| | | arrRemove(detlCols, "field", "matnr") |
| | | arrRemove(detlCols, "field", "orderNo") |
| | | arrRemove(detlCols, "field", "standby1") |
| | | arrRemove(detlCols, "field", "standby3") |
| | | cols.push.apply(cols, detlCols); |
| | | cols.push({field: 'modiUser$', align: 'center',title: '修改人员', hide: true} |
| | | ,{field: 'modiTime$', align: 'center',title: '修改时间'}) |
| | |
| | | function getCol() { |
| | | var cols = [ |
| | | {type: 'checkbox', merge: ['locNo']} |
| | | ,{field: 'locNo', align: 'center',title: '库位号', merge: true, style: 'font-weight: bold'} |
| | | ,{field: 'locNo', align: 'center',title: '库位号', merge: true, style: 'font-weight: bold'}, |
| | | {field: 'matnr', align: 'center',title: '商品编号', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false}, |
| | | {field: 'standby1', align: 'center',title: '客户po', hide: false}, |
| | | {field: 'standby3', align: 'center',title: '客户sku', hide: false}, |
| | | // ,{field: 'locNo$', align: 'center',title: '库位号'} |
| | | ]; |
| | | arrRemove(detlCols, "field", "matnr") |
| | | arrRemove(detlCols, "field", "orderNo") |
| | | arrRemove(detlCols, "field", "standby1") |
| | | arrRemove(detlCols, "field", "standby3") |
| | | cols.push.apply(cols, detlCols); |
| | | cols.push({field: 'modiUser$', align: 'center',title: '修改人员', hide: true} |
| | | ,{field: 'modiTime$', align: 'center',title: '修改时间'}) |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="品号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="SKU" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="规格" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="standby1" placeholder="PO" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="layui-inline">--> |
| | | <!-- <div class="layui-input-inline">--> |
| | | <!-- <input class="layui-input" type="text" name="standby3" placeholder="货品特征" autocomplete="off">--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="zpallet" placeholder="托盘码" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="batch" placeholder="货品特征" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |