| | |
| | | package com.zy.common.model; |
| | | |
| | | import com.core.common.Cools; |
| | | import com.zy.asrs.entity.LocDetl; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | |
| | | |
| | | private String orderNo; |
| | | |
| | | private String origin; |
| | | |
| | | private Double anfme; |
| | | private Double count; |
| | | private Double weight; |
| | | private Double volume; |
| | | private Double price; |
| | | |
| | | private boolean lack = false; |
| | | |
| | | private List<Integer> staNos; |
| | | |
| | | private Integer staNo; |
| | | private Integer tkType; |
| | | |
| | | public LocDto() { |
| | | } |
| | |
| | | this.zpallet = zpallet; |
| | | } |
| | | |
| | | public LocDto(LocDetl locDetl) { |
| | | this.locNo = locDetl.getLocNo(); |
| | | this.matnr = locDetl.getMatnr(); |
| | | this.maktx = locDetl.getMaktx(); |
| | | this.batch = locDetl.getBatch(); |
| | | this.orderNo = locDetl.getOrderNo(); |
| | | this.anfme = locDetl.getAnfme(); |
| | | this.count = locDetl.getAnfme(); |
| | | this.model = locDetl.getModel(); |
| | | this.specs = locDetl.getSpecs(); |
| | | this.brand = locDetl.getBrand(); |
| | | this.zpallet = locDetl.getZpallet(); |
| | | this.weight = locDetl.getWeight(); |
| | | this.volume = locDetl.getVolume(); |
| | | this.price = locDetl.getPrice(); |
| | | this.origin = locDetl.getOrigin(); |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return this.matnr + "(" + this.maktx + ")"; |
| | | } |
| | |
| | | this.count=anfme; |
| | | } |
| | | |
| | | public String getTkType$(){ |
| | | if (null == this.tkType) return "正常"; |
| | | if (this.tkType == 1) { |
| | | return "退库"; |
| | | } |
| | | return "正常"; |
| | | } |
| | | |
| | | } |