Commit a4efde3a9b70e449d0722acc7aec063c09da2e9f
1 parent
ba5efe1b
把唯一号 改成 序列号
Showing
17 changed files
with
104 additions
and
89 deletions
ant-design-vue-jeecg/src/views/system/inventory/InventoryChildList.vue
... | ... | @@ -61,8 +61,8 @@ |
61 | 61 | </a-form-item> |
62 | 62 | </a-col> |
63 | 63 | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
64 | - <a-form-item label="唯一号"> | |
65 | - <a-input placeholder="请输入唯一号" v-model="queryParam.uniqueCode"></a-input> | |
64 | + <a-form-item label="序列号"> | |
65 | + <a-input placeholder="请输入序列号" v-model="queryParam.sn"></a-input> | |
66 | 66 | </a-form-item> |
67 | 67 | </a-col> |
68 | 68 | <a-col :xl="10" :lg="11" :md="12" :sm="24"> |
... | ... | @@ -238,9 +238,9 @@ |
238 | 238 | dataIndex: 'inventoryAge' |
239 | 239 | }, |
240 | 240 | { |
241 | - title:'唯一号', | |
241 | + title:'序列号', | |
242 | 242 | align:"center", |
243 | - dataIndex: 'uniqueCode' | |
243 | + dataIndex: 'sn' | |
244 | 244 | }, |
245 | 245 | { |
246 | 246 | title:'创建人', |
... | ... | @@ -307,7 +307,7 @@ |
307 | 307 | fieldList.push({type:'string',value:'materialUnit',text:'物料单位',dictCode:''}) |
308 | 308 | fieldList.push({type:'string',value:'inventoryStatus',text:'库存状态',dictCode:'inventory_status'}) |
309 | 309 | fieldList.push({type:'int',value:'inventoryAge',text:'库龄(天)',dictCode:''}) |
310 | - fieldList.push({type:'string',value:'uniqueCode',text:'唯一号',dictCode:''}) | |
310 | + fieldList.push({type:'string',value:'sn',text:'序列号',dictCode:''}) | |
311 | 311 | fieldList.push({type:'string',value:'createBy',text:'创建人',dictCode:''}) |
312 | 312 | fieldList.push({type:'datetime',value:'createTime',text:'创建日期'}) |
313 | 313 | fieldList.push({type:'string',value:'updateBy',text:'更新人',dictCode:''}) |
... | ... |
ant-design-vue-jeecg/src/views/system/inventory/InventoryDetailList.vue
ant-design-vue-jeecg/src/views/system/inventory/SimpleInventoryDetailList.vue
... | ... | @@ -60,8 +60,8 @@ |
60 | 60 | </a-form-item> |
61 | 61 | </a-col> |
62 | 62 | <!-- <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
63 | - <a-form-item label="唯一号"> | |
64 | - <a-input placeholder="请输入唯一号" v-model="queryParam.uniqueCode"></a-input> | |
63 | + <a-form-item label="序列号"> | |
64 | + <a-input placeholder="请输入序列号" v-model="queryParam.sn"></a-input> | |
65 | 65 | </a-form-item> |
66 | 66 | </a-col> --> |
67 | 67 | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
... | ... | @@ -304,9 +304,9 @@ export default { |
304 | 304 | dataIndex: 'batch' |
305 | 305 | }, |
306 | 306 | // { |
307 | - // title:'唯一号', | |
307 | + // title:'序列号', | |
308 | 308 | // align:"center", |
309 | - // dataIndex: 'uniqueCode' | |
309 | + // dataIndex: 'sn' | |
310 | 310 | // }, |
311 | 311 | { |
312 | 312 | title: '入库日期', |
... | ... | @@ -427,7 +427,7 @@ export default { |
427 | 427 | fieldList.push({type: 'BigDecimal', value: 'taskQty', text: '任务锁定数量', dictCode: ''}) |
428 | 428 | fieldList.push({type: 'string', value: 'inventoryStatus', text: '库存状态', dictCode: 'inventory_status'}) |
429 | 429 | fieldList.push({type: 'string', value: 'batch', text: '批次', dictCode: ''}) |
430 | - // fieldList.push({type:'string',value:'uniqueCode',text:'唯一号',dictCode:''}) | |
430 | + // fieldList.push({type:'string',value:'sn',text:'序列号',dictCode:''}) | |
431 | 431 | fieldList.push({type: 'datetime', value: 'receiptDate', text: '入库日期'}) |
432 | 432 | fieldList.push({type: 'int', value: 'inventoryAge', text: '库龄(天)', dictCode: ''}) |
433 | 433 | fieldList.push({type: 'string', value: 'createBy', text: '创建人', dictCode: ''}) |
... | ... |
ant-design-vue-jeecg/src/views/system/inventory/modules/InventoryChildForm.vue
... | ... | @@ -59,8 +59,8 @@ |
59 | 59 | </a-form-model-item> |
60 | 60 | </a-col> |
61 | 61 | <a-col :span="24"> |
62 | - <a-form-model-item label="唯一号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="uniqueCode"> | |
63 | - <a-input v-model="model.uniqueCode" placeholder="请输入唯一号" ></a-input> | |
62 | + <a-form-model-item label="序列号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="sn"> | |
63 | + <a-input v-model="model.sn" placeholder="请输入序列号" ></a-input> | |
64 | 64 | </a-form-model-item> |
65 | 65 | </a-col> |
66 | 66 | </a-row> |
... | ... | @@ -106,8 +106,8 @@ validatorRules: { |
106 | 106 | materialName: [ |
107 | 107 | { required: true, message: '请输入物料名称!'}, |
108 | 108 | ], |
109 | - uniqueCode: [ | |
110 | - { required: true, message: '请输入唯一号!'}, | |
109 | + sn: [ | |
110 | + { required: true, message: '请输入序列号!'}, | |
111 | 111 | ], |
112 | 112 | }, |
113 | 113 | url: { |
... | ... | @@ -160,7 +160,7 @@ validatorRules: { |
160 | 160 | that.confirmLoading = false; |
161 | 161 | }) |
162 | 162 | } |
163 | - | |
163 | + | |
164 | 164 | }) |
165 | 165 | }, |
166 | 166 | } |
... | ... |
ant-design-vue-jeecg/src/views/system/inventory/subTables/InventoryDetailSubTable.vue
ant-design-vue-jeecg/src/views/system/receipt/ReceiptContainerHeaderList.vue
... | ... | @@ -112,8 +112,8 @@ |
112 | 112 | </a-button> |
113 | 113 | </template> |
114 | 114 | <span slot="action" slot-scope="text, record"> |
115 | - <a v-if="record.status == 0 && record.taskType == 200" @click="selectFillPort(record)" v-has="'receiptContainerHeader:fill'"><a-button type="primary">生成任务</a-button> <a-divider type="vertical"/></a> | |
116 | - <a v-else-if="record.status == 0" @click="selectContainerStatus(record)" v-has="'receiptContainerHeader:fill'"><a-button type="primary">生成任务</a-button> <a-divider type="vertical"/></a> | |
115 | + <a v-if="record.status == 0 && record.taskType == 200" @click="selectFillPort(record)" v-has="'receiptContainerHeader:createTask'"><a-button type="primary">生成任务</a-button> <a-divider type="vertical"/></a> | |
116 | + <a v-else-if="record.status == 0" @click="selectContainerStatus(record)" v-has="'receiptContainerHeader:createTask'"><a-button type="primary">生成任务</a-button> <a-divider type="vertical"/></a> | |
117 | 117 | <!-- <a v-if="record.status == 0 && record.taskType == 200" @click="selectPort(record)" v-has="'receiptContainerHeader:createTask'">生成任务<a-divider type="vertical"/></a>--> |
118 | 118 | <!-- <a v-else-if="record.status == 0" @click="createTask(record)" v-has="'receiptContainerHeader:createTask'">生成任务<a-divider type="vertical"/></a>--> |
119 | 119 | <a-popconfirm v-if="record.status == 0" v-has="'receiptContainerHeader:delete'" title="确定取消配盘吗?" @confirm="() => handleDelete(record.id)"> |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/inventory/inventoryChild/entity/InventoryChild.java
1 | 1 | package org.jeecg.modules.wms.inventory.inventoryChild.entity; |
2 | 2 | |
3 | 3 | import java.io.Serializable; |
4 | -import java.io.UnsupportedEncodingException; | |
5 | 4 | import java.util.Date; |
6 | -import java.math.BigDecimal; | |
5 | + | |
6 | +import org.jeecg.common.aspect.annotation.Dict; | |
7 | +import org.jeecgframework.poi.excel.annotation.Excel; | |
8 | + | |
7 | 9 | import com.baomidou.mybatisplus.annotation.IdType; |
8 | 10 | import com.baomidou.mybatisplus.annotation.TableId; |
9 | 11 | import com.baomidou.mybatisplus.annotation.TableName; |
10 | -import lombok.Data; | |
11 | -import com.fasterxml.jackson.annotation.JsonFormat; | |
12 | -import org.springframework.format.annotation.DateTimeFormat; | |
13 | -import org.jeecgframework.poi.excel.annotation.Excel; | |
14 | -import org.jeecg.common.aspect.annotation.Dict; | |
12 | + | |
15 | 13 | import io.swagger.annotations.ApiModel; |
16 | 14 | import io.swagger.annotations.ApiModelProperty; |
15 | +import lombok.Data; | |
17 | 16 | import lombok.EqualsAndHashCode; |
18 | 17 | import lombok.experimental.Accessors; |
19 | 18 | |
20 | 19 | /** |
21 | 20 | * @Description: 库存明细 |
22 | - * @Author: jeecg-boot | |
23 | - * @Date: 2023-03-24 | |
24 | - * @Version: V1.0 | |
21 | + * @Author: jeecg-boot | |
22 | + * @Date: 2023-03-24 | |
23 | + * @Version: V1.0 | |
25 | 24 | */ |
26 | 25 | @Data |
27 | 26 | @TableName("inventory_child") |
28 | 27 | @Accessors(chain = true) |
29 | 28 | @EqualsAndHashCode(callSuper = false) |
30 | -@ApiModel(value="inventory_child对象", description="库存明细") | |
29 | +@ApiModel(value = "inventory_child对象", description = "库存明细") | |
31 | 30 | public class InventoryChild implements Serializable { |
32 | 31 | private static final long serialVersionUID = 1L; |
33 | 32 | |
34 | - /**主键*/ | |
35 | - @TableId(type = IdType.ASSIGN_ID) | |
33 | + /** 主键 */ | |
34 | + @TableId(type = IdType.ASSIGN_ID) | |
36 | 35 | @ApiModelProperty(value = "主键") |
37 | 36 | private String id; |
38 | - /**库存头ID*/ | |
39 | - @Excel(name = "库存头ID", width = 15) | |
37 | + /** 库存头ID */ | |
38 | + @Excel(name = "库存头ID", width = 15) | |
40 | 39 | @ApiModelProperty(value = "库存头ID") |
41 | 40 | private Integer inventoryHeaderId; |
42 | - /**仓库编码*/ | |
43 | - @Excel(name = "仓库编码", width = 15) | |
41 | + /** 仓库编码 */ | |
42 | + @Excel(name = "仓库编码", width = 15) | |
44 | 43 | @ApiModelProperty(value = "仓库编码") |
45 | 44 | private String warehouseCode; |
46 | - /**货主*/ | |
47 | - @Excel(name = "货主", width = 15) | |
45 | + /** 货主 */ | |
46 | + @Excel(name = "货主", width = 15) | |
48 | 47 | @ApiModelProperty(value = "货主") |
49 | 48 | private String companyCode; |
50 | - /**库区*/ | |
51 | - @Excel(name = "库区", width = 15) | |
49 | + /** 库区 */ | |
50 | + @Excel(name = "库区", width = 15) | |
52 | 51 | @ApiModelProperty(value = "库区") |
53 | 52 | private String zoneCode; |
54 | - /**容器状态*/ | |
55 | - @Excel(name = "容器状态", width = 15, dicCode = "container_status") | |
56 | - @Dict(dicCode = "container_status") | |
53 | + /** 容器状态 */ | |
54 | + @Excel(name = "容器状态", width = 15, dicCode = "container_status") | |
55 | + @Dict(dicCode = "container_status") | |
57 | 56 | @ApiModelProperty(value = "容器状态") |
58 | 57 | private String containerStatus; |
59 | - /**容器编码*/ | |
60 | - @Excel(name = "容器编码", width = 15) | |
58 | + /** 容器编码 */ | |
59 | + @Excel(name = "容器编码", width = 15) | |
61 | 60 | @ApiModelProperty(value = "容器编码") |
62 | 61 | private String containerCode; |
63 | - /**库位编码*/ | |
64 | - @Excel(name = "库位编码", width = 15) | |
62 | + /** 库位编码 */ | |
63 | + @Excel(name = "库位编码", width = 15) | |
65 | 64 | @ApiModelProperty(value = "库位编码") |
66 | 65 | private String locationCode; |
67 | - /**物料编码*/ | |
68 | - @Excel(name = "物料编码", width = 15) | |
66 | + /** 物料编码 */ | |
67 | + @Excel(name = "物料编码", width = 15) | |
69 | 68 | @ApiModelProperty(value = "物料编码") |
70 | 69 | private String materialCode; |
71 | - /**物料名称*/ | |
72 | - @Excel(name = "物料名称", width = 15) | |
70 | + /** 物料名称 */ | |
71 | + @Excel(name = "物料名称", width = 15) | |
73 | 72 | @ApiModelProperty(value = "物料名称") |
74 | 73 | private String materialName; |
75 | - /**物料规格*/ | |
76 | - @Excel(name = "物料规格", width = 15) | |
74 | + /** 物料规格 */ | |
75 | + @Excel(name = "物料规格", width = 15) | |
77 | 76 | @ApiModelProperty(value = "物料规格") |
78 | 77 | private String materialSpec; |
79 | - /**物料单位*/ | |
80 | - @Excel(name = "物料单位", width = 15) | |
78 | + /** 物料单位 */ | |
79 | + @Excel(name = "物料单位", width = 15) | |
81 | 80 | @ApiModelProperty(value = "物料单位") |
82 | 81 | private String materialUnit; |
83 | - /**库存状态*/ | |
84 | - @Excel(name = "库存状态", width = 15, dicCode = "inventory_status") | |
85 | - @Dict(dicCode = "inventory_status") | |
82 | + /** 库存状态 */ | |
83 | + @Excel(name = "库存状态", width = 15, dicCode = "inventory_status") | |
84 | + @Dict(dicCode = "inventory_status") | |
86 | 85 | @ApiModelProperty(value = "库存状态") |
87 | 86 | private String inventoryStatus; |
88 | - /**库龄(天)*/ | |
89 | - @Excel(name = "库龄(天)", width = 15) | |
87 | + /** 库龄(天) */ | |
88 | + @Excel(name = "库龄(天)", width = 15) | |
90 | 89 | @ApiModelProperty(value = "库龄(天)") |
91 | 90 | private Integer inventoryAge; |
92 | - /**唯一号*/ | |
93 | - @Excel(name = "唯一号", width = 15) | |
94 | - @ApiModelProperty(value = "唯一号") | |
95 | - private String uniqueCode; | |
96 | - /**创建人*/ | |
91 | + /** 序列号 */ | |
92 | + @Excel(name = "序列号", width = 15) | |
93 | + @ApiModelProperty(value = "序列号") | |
94 | + private String sn; | |
95 | + /** 创建人 */ | |
97 | 96 | @ApiModelProperty(value = "创建人") |
98 | 97 | private String createBy; |
99 | - /**创建日期*/ | |
98 | + /** 创建日期 */ | |
100 | 99 | @ApiModelProperty(value = "创建日期") |
101 | 100 | private Date createTime; |
102 | - /**更新人*/ | |
101 | + /** 更新人 */ | |
103 | 102 | @ApiModelProperty(value = "更新人") |
104 | 103 | private String updateBy; |
105 | - /**更新日期*/ | |
104 | + /** 更新日期 */ | |
106 | 105 | @ApiModelProperty(value = "更新日期") |
107 | 106 | private Date updateTime; |
108 | 107 | } |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/inventory/inventoryHeader/entity/InventoryDetail.java
... | ... | @@ -106,14 +106,17 @@ public class InventoryDetail implements Serializable { |
106 | 106 | @Excel(name = "项目号", width = 15) |
107 | 107 | @ApiModelProperty(value = "项目号") |
108 | 108 | private String project; |
109 | - /** 唯一号 */ | |
110 | - @Excel(name = "唯一号", width = 15) | |
111 | - @ApiModelProperty(value = "唯一号") | |
112 | - private String uniqueCode; | |
109 | + /** 序列号 */ | |
110 | + @Excel(name = "序列号", width = 15) | |
111 | + @ApiModelProperty(value = "序列号") | |
112 | + private String sn; | |
113 | 113 | /** 箱码 */ |
114 | 114 | @Excel(name = "箱码", width = 15) |
115 | 115 | @ApiModelProperty(value = "箱码") |
116 | 116 | private String boxCode; |
117 | + @Excel(name = "收货日期", width = 15) | |
118 | + @ApiModelProperty(value = "收货日期") | |
119 | + private Date receiveTime; | |
117 | 120 | /** 入库日期 */ |
118 | 121 | @Excel(name = "入库日期", width = 15) |
119 | 122 | @ApiModelProperty(value = "入库日期") |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/inventory/inventoryTransaction/entity/InventoryTransaction.java
... | ... | @@ -125,10 +125,10 @@ public class InventoryTransaction implements Serializable { |
125 | 125 | @Excel(name = "项目号", width = 15) |
126 | 126 | @ApiModelProperty(value = "项目号") |
127 | 127 | private String project; |
128 | - /** 唯一号 */ | |
129 | - @Excel(name = "唯一号", width = 15) | |
130 | - @ApiModelProperty(value = "唯一号") | |
131 | - private String uniqueCode; | |
128 | + /** 序列号 */ | |
129 | + @Excel(name = "序列号", width = 15) | |
130 | + @ApiModelProperty(value = "序列号") | |
131 | + private String sn; | |
132 | 132 | /** 备用字段1 */ |
133 | 133 | @Excel(name = "备用字段1", width = 15) |
134 | 134 | @ApiModelProperty(value = "备用字段1") |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/monitor/operation/service/impl/OperationLogServiceImpl.java
... | ... | @@ -48,7 +48,7 @@ public class OperationLogServiceImpl extends ServiceImpl<OperationLogMapper, Ope |
48 | 48 | switch (logDTO.getTag()) { |
49 | 49 | case "入库组盘": |
50 | 50 | message = "容器编码:{},物料编码:{},数量:{}"; |
51 | - operationLogList.addAll(createOperationLogs(logDTO, ReceiptContainerDetail.class, "getUniqueCode", message, "getReferCode", | |
51 | + operationLogList.addAll(createOperationLogs(logDTO, ReceiptContainerDetail.class, "getsn", message, "getReferCode", | |
52 | 52 | "getReceiptCode", "getWarehouseCode", "getContainerCode", "getMaterialCode", "getQty")); |
53 | 53 | break; |
54 | 54 | } |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/receipt/receiptContainerHeader/controller/ReceiptContainerHeaderController.java
... | ... | @@ -2,6 +2,7 @@ package org.jeecg.modules.wms.receipt.receiptContainerHeader.controller; |
2 | 2 | |
3 | 3 | import java.io.IOException; |
4 | 4 | import java.util.Arrays; |
5 | +import java.util.Date; | |
5 | 6 | import java.util.List; |
6 | 7 | import java.util.Map; |
7 | 8 | import java.util.stream.Collectors; |
... | ... | @@ -208,6 +209,7 @@ public class ReceiptContainerHeaderController extends JeecgController<ReceiptCon |
208 | 209 | @PostMapping(value = "/addReceiptContainerDetail") |
209 | 210 | @RequiresPermissions("receiptContainerDetail:add") |
210 | 211 | public Result<String> addReceiptContainerDetail(@RequestBody ReceiptContainerDetail receiptContainerDetail) { |
212 | + receiptContainerDetail.setReceiveTime(new Date()); | |
211 | 213 | receiptContainerDetailService.save(receiptContainerDetail); |
212 | 214 | return Result.OK("添加成功!"); |
213 | 215 | } |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/receipt/receiptContainerHeader/entity/ReceiptContainerDetail.java
... | ... | @@ -97,9 +97,12 @@ public class ReceiptContainerDetail implements Serializable { |
97 | 97 | @Excel(name = "项目号", width = 15) |
98 | 98 | @ApiModelProperty(value = "项目号") |
99 | 99 | private String project; |
100 | - @Excel(name = "唯一号", width = 15) | |
101 | - @ApiModelProperty(value = "唯一号") | |
102 | - private String uniqueCode; | |
100 | + @Excel(name = "序列号", width = 15) | |
101 | + @ApiModelProperty(value = "序列号") | |
102 | + private String sn; | |
103 | + @Excel(name = "收货日期", width = 15) | |
104 | + @ApiModelProperty(value = "收货日期") | |
105 | + private Date receiveTime; | |
103 | 106 | /** 备用字段1 */ |
104 | 107 | @Excel(name = "备用字段1", width = 15) |
105 | 108 | @ApiModelProperty(value = "备用字段1") |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/receipt/receiptContainerHeader/service/impl/ReceiptContainerHeaderServiceImpl.java
... | ... | @@ -179,6 +179,7 @@ public class ReceiptContainerHeaderServiceImpl extends ServiceImpl<ReceiptContai |
179 | 179 | taskDetail.setBatch(receiptContainerDetail.getBatch()); |
180 | 180 | taskDetail.setLot(receiptContainerDetail.getLot()); |
181 | 181 | taskDetail.setProject(receiptContainerDetail.getProject()); |
182 | + taskDetail.setReceiveTime(receiptContainerDetail.getReceiveTime()); | |
182 | 183 | taskDetailList.add(taskDetail); |
183 | 184 | ReceiptDetail receiptDetail = receiptDetailService.getById(receiptContainerDetail.getReceiptDetailId()); |
184 | 185 | if (receiptDetail == null) { |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/receipt/receiving/domain/Receive.java
1 | 1 | package org.jeecg.modules.wms.receipt.receiving.domain; |
2 | 2 | |
3 | -import lombok.Data; | |
4 | - | |
5 | 3 | import java.io.Serializable; |
6 | 4 | import java.math.BigDecimal; |
7 | 5 | |
8 | 6 | import org.jeecg.common.aspect.annotation.Dict; |
9 | 7 | |
8 | +import lombok.Data; | |
9 | + | |
10 | 10 | @Data |
11 | 11 | public class Receive implements Serializable { |
12 | 12 | private static final long serialVersionUID = 1L; |
... | ... | @@ -15,7 +15,7 @@ public class Receive implements Serializable { |
15 | 15 | |
16 | 16 | private String containerCode; // 托盘号 |
17 | 17 | |
18 | - private String uniqueCode;// 唯一号 | |
18 | + private String sn;// 序列号 | |
19 | 19 | |
20 | 20 | private String materialCode; |
21 | 21 | |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/receipt/receiving/service/impl/ReceiveServiceImpl.java
... | ... | @@ -2,6 +2,7 @@ package org.jeecg.modules.wms.receipt.receiving.service.impl; |
2 | 2 | |
3 | 3 | import java.math.BigDecimal; |
4 | 4 | import java.util.ArrayList; |
5 | +import java.util.Date; | |
5 | 6 | import java.util.List; |
6 | 7 | import java.util.stream.Collectors; |
7 | 8 | |
... | ... | @@ -234,7 +235,7 @@ public class ReceiveServiceImpl extends ServiceImpl<ReceiveMapper, Receive> impl |
234 | 235 | receiptContainerDetail = new ReceiptContainerDetail(); |
235 | 236 | receiptContainerDetail.setCompanyCode(receiptDetail.getCompanyCode()); |
236 | 237 | receiptContainerDetail.setReferCode(receiptDetail.getReferCode()); |
237 | - receiptContainerDetail.setUniqueCode(receive.getUniqueCode()); | |
238 | + receiptContainerDetail.setSn(receive.getSn()); | |
238 | 239 | receiptContainerDetail.setContainerCode(receive.getContainerCode()); |
239 | 240 | receiptContainerDetail.setReceiptDetailId(receiptDetail.getId()); |
240 | 241 | receiptContainerDetail.setReceiptId(receiptDetail.getReceiptId()); |
... | ... | @@ -250,6 +251,7 @@ public class ReceiveServiceImpl extends ServiceImpl<ReceiveMapper, Receive> impl |
250 | 251 | receiptContainerDetail.setLot(receiptDetail.getLot()); |
251 | 252 | receiptContainerDetail.setProject(receiptDetail.getProject()); |
252 | 253 | receiptContainerDetail.setInventoryStatus(receiptDetail.getInventoryStatus()); |
254 | + receiptContainerDetail.setReceiveTime(new Date()); | |
253 | 255 | receiptContainerDetailList.add(receiptContainerDetail); |
254 | 256 | } |
255 | 257 | } |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/task/taskHeader/entity/TaskDetail.java
... | ... | @@ -145,9 +145,13 @@ public class TaskDetail implements Serializable { |
145 | 145 | @ApiModelProperty(value = "入库的库存详情id") |
146 | 146 | private Integer toInventoryDetailId; |
147 | 147 | |
148 | - @Excel(name = "唯一号", width = 15) | |
149 | - @ApiModelProperty(value = "唯一号") | |
150 | - private String uniqueCode; | |
148 | + @Excel(name = "序列号", width = 15) | |
149 | + @ApiModelProperty(value = "序列号") | |
150 | + private String sn; | |
151 | + | |
152 | + @Excel(name = "收货日期", width = 15) | |
153 | + @ApiModelProperty(value = "收货日期") | |
154 | + private Date receiveTime; | |
151 | 155 | |
152 | 156 | /** 备用字段1 */ |
153 | 157 | @Excel(name = "备用字段1", width = 15) |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/task/taskHeader/service/impl/TaskHeaderServiceImpl.java
... | ... | @@ -1108,6 +1108,7 @@ public class TaskHeaderServiceImpl extends ServiceImpl<TaskHeaderMapper, TaskHea |
1108 | 1108 | inventoryDetail.setBatch(taskDetail.getBatch()); |
1109 | 1109 | inventoryDetail.setLot(taskDetail.getLot()); |
1110 | 1110 | inventoryDetail.setProject(taskDetail.getProject()); |
1111 | + inventoryDetail.setReceiveTime(taskDetail.getReceiveTime()); | |
1111 | 1112 | inventoryDetail.setReceiptDate(new Date()); |
1112 | 1113 | inventoryDetailList.add(inventoryDetail); |
1113 | 1114 | |
... | ... |