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