.
18516761980
2022-03-15 2d959c4c7338e1ac3f40bc30e2b189fe95325b7d
.
4个文件已修改
40 ■■■■■ 已修改文件
src/main/java/zy/cloud/wms/manager/entity/ReceiveDetl.java 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/ReceiveDetlMapper.xml 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/receive/receive.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/receiveDetl/receiveDetl.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/zy/cloud/wms/manager/entity/ReceiveDetl.java
@@ -69,6 +69,13 @@
    private Long orderId;
    /**
     * 订单编号
     */
    @ApiModelProperty(value= "订单编号")
    @TableField("order_no")
    private String orderNo;
    /**
     * 数量
     */
    @ApiModelProperty(value= "数量")
@@ -199,6 +206,9 @@
    @TableField("in_qty")
    private int inQty;
    @TableField("qua_status")
    private int quaStatus;
//    ReceiveDetl receiveDetl = new ReceiveDetl(
//            null,    // 
//            null,    // 订单内码
@@ -263,10 +273,30 @@
        return "已完成";
    }
    public String getQuaStatus$(){
        if (this.quaStatus == 0){
            return "待检";
        } else if (this.quaStatus == 1){
            return "合格";
        } else if (this.quaStatus == 2) {
            return "不合格";
        }
        return "未知";
    }
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    public String getOrderNo() {
        return orderNo;
    }
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public Double getAnfme() {
        return anfme;
    }
src/main/resources/mapper/ReceiveDetlMapper.xml
@@ -7,6 +7,7 @@
        <id column="id" property="id" />
        <result column="host_id" property="hostId" />
        <result column="order_id" property="orderId" />
        <result column="order_no" property="orderNo" />
        <result column="anfme" property="anfme" />
        <result column="matnr" property="matnr" />
        <result column="maktx" property="maktx" />
@@ -27,7 +28,8 @@
        <result column="update_by" property="updateBy" />
        <result column="update_time" property="updateTime" />
        <result column="memo" property="memo" />
        <result column="in_qty" property="inQty" />
        <result column="qua_status" property="quaStatus" />
    </resultMap>
    <select id="selectByOrderNo" resultType="zy.cloud.wms.manager.entity.ReceiveDetl">
        select
src/main/webapp/static/js/receive/receive.js
@@ -366,6 +366,7 @@
                                {field: 'matnr', title: '商品编码'},
                                {field: 'maktx', title: '商品名称', width: 200},
                                {field: 'anfme', title: '数量', width: 70},
                                {field: 'quaStatus$', title: '质检状态', width: 90},
                                {
                                    field: 'createTime$', title: '创建时间', sort: true, templet: function (d) {
                                        return util.toDateString(d.createTime);
src/main/webapp/static/js/receiveDetl/receiveDetl.js
@@ -25,9 +25,10 @@
            {type: 'checkbox'}
            ,{field: 'id', align: 'center',title: 'ID', hide:true}
            ,{field: 'hostId', align: 'center',title: '', hide:true}
            ,{field: 'orderNo', align: 'center',title: '单据编号'}
            ,{field: 'orderId$', align: 'center',title: '订单内码', width: 100}
            ,{field: 'anfme', align: 'center',title: '需入库数量', width: 100}
            ,{field: 'inQty', align: 'center',title: '已入库数量', width: 100}
            ,{field: 'anfme', align: 'center',title: '待上架数量', width: 100}
            ,{field: 'inQty', align: 'center',title: '已上架数量', width: 100}
            ,{field: 'matnr', align: 'center',title: '商品编码'}
            ,{field: 'maktx', align: 'center',title: '商品名称'}
            ,{field: 'name', align: 'center',title: '名称', hide:true}