自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-10-18 b5130c2e6d60c7f23e37f7c620375bc4e253caa3
src/main/java/com/zy/asrs/entity/ViewLocMapDto.java
@@ -10,7 +10,7 @@
    // 列
    private Integer bay1;
    // 库位状态
    private String locType;
    private String locSts;
    // 背景色
    private String bgc = "#fff";
    // 字体颜色
@@ -19,10 +19,10 @@
    public ViewLocMapDto() {
    }
    public ViewLocMapDto(String locNo, Integer bay1, String locType) {
    public ViewLocMapDto(String locNo, Integer bay1, String locSts) {
        this.locNo = locNo;
        this.bay1 = bay1;
        this.locType = locType;
        this.locSts = locSts;
    }
    public String getLocNo() {
@@ -41,13 +41,13 @@
        this.bay1 = bay1;
    }
    public String getLocType() {
        return locType;
    public String getLocSts() {
        return locSts;
    }
    public void setLocType(String locType) {
        this.locType = locType;
        switch (locType){
    public void setLocSts(String locSts) {
        this.locSts = locSts;
        switch (locSts){
            case "D":
                this.bgc = "#00B271";
                this.color = "#fff";
@@ -70,11 +70,11 @@
                break;
            case "R":
                this.bgc = "#D7FFF0";
                this.color = "#fff";
                this.color = "#000";
                break;
            case "S":
                this.bgc = "#F0DAD2";
                this.color = "#fff";
                this.color = "#000";
                break;
            case "X":
                this.bgc = "#bac296";