| | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.vincent.rsf.server.manager.controller.dto.OrderOutItemDto; |
| | | import com.vincent.rsf.server.manager.entity.WkOrderItem; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | |
| | | public OutStockToTaskParams(){}; |
| | | |
| | | public OutStockToTaskParams(OrderOutItemDto orderOutItemDto){ |
| | | // this.locCode = w;//库位 |
| | | // this.id = wkOrderItem.getId(); |
| | | this.barcode = orderOutItemDto.getBarcode(); |
| | | this.batch = orderOutItemDto.getBatch(); |
| | | this.unit = orderOutItemDto.getUnit(); |
| | | this.platOrderCode = orderOutItemDto.getPlatOrderCode(); |
| | | this.fieldsIndex = orderOutItemDto.getFieldsIndex(); |
| | | this.extendFields = orderOutItemDto.getExtendFields(); |
| | | this.outQty = orderOutItemDto.getAnfme(); |
| | | // this.siteNo = siteNo; |
| | | }; |
| | | |
| | | public OutStockToTaskParams(WkOrderItem wkOrderItem){ |
| | | // this.locCode = w;//库位 |
| | | this.id = wkOrderItem.getId(); |
| | | // this.id = wkOrderItem.getId(); |
| | | this.barcode = wkOrderItem.getBarcode(); |
| | | this.batch = wkOrderItem.getBatch(); |
| | | this.unit = wkOrderItem.getPurUnit(); |