时间显示精确到时分秒
master
xs 1 month ago
parent 0a8fade792
commit ba106f1116

@ -37,12 +37,12 @@ public class WmsInventoryCheck extends BaseEntity
private String checkType; private String checkType;
/** 盘点开始时间 */ /** 盘点开始时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "盘点开始时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "盘点开始时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date beginTime; private Date beginTime;
/** 盘点结束时间 */ /** 盘点结束时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "盘点结束时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "盘点结束时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date endTime; private Date endTime;
@ -59,12 +59,12 @@ public class WmsInventoryCheck extends BaseEntity
private Long inventoriedAmount; private Long inventoriedAmount;
/** 创建时间 */ /** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createDate; private Date createDate;
/** 最后更新时间 */ /** 最后更新时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date updateDate; private Date updateDate;

@ -72,12 +72,12 @@ public class WmsInventoryCheckDetail extends BaseEntity
private BigDecimal erpAmount; private BigDecimal erpAmount;
/** 创建时间 */ /** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createDate; private Date createDate;
/** 最后更新时间 */ /** 最后更新时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date updateDate; private Date updateDate;

@ -61,7 +61,7 @@ public class WmsMoveDetail extends BaseEntity
private String executePerson; private String executePerson;
/** 执行时间 */ /** 执行时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date executeTime; private Date executeTime;

@ -126,7 +126,7 @@ public class WmsProductInstock extends BaseEntity {
/** /**
* *
*/ */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date applyDate; private Date applyDate;

@ -85,29 +85,17 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="盘点开始时间" align="center" prop="beginTime" width="180"> <el-table-column label="盘点开始时间" align="center" prop="beginTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.beginTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column label="盘点结束时间" align="center" prop="endTime" width="180"> <el-table-column label="盘点结束时间" align="center" prop="endTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.endTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column label="库位总数量" align="center" prop="locationAmount"/> <el-table-column label="库位总数量" align="center" prop="locationAmount"/>
<el-table-column label="正在盘点库位数量" align="center" prop="inventoryingAmount"/> <el-table-column label="正在盘点库位数量" align="center" prop="inventoryingAmount"/>
<el-table-column label="已盘点库位数量" align="center" prop="inventoriedAmount"/> <el-table-column label="已盘点库位数量" align="center" prop="inventoriedAmount"/>
<el-table-column label="创建人" align="center" prop="createBy"/> <el-table-column label="创建人" align="center" prop="createBy"/>
<el-table-column label="创建时间" align="center" prop="createDate" width="180"> <el-table-column label="创建时间" align="center" prop="createDate" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column label="更新人" align="center" prop="updateBy"/> <el-table-column label="更新人" align="center" prop="updateBy"/>
<el-table-column label="更新时间" align="center" prop="updateDate" width="180"> <el-table-column label="更新时间" align="center" prop="updateDate" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.updateDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column> </el-table-column>

@ -146,9 +146,6 @@
</el-table-column> </el-table-column>
<el-table-column label="入库人" align="center" prop="applyBy" /> <el-table-column label="入库人" align="center" prop="applyBy" />
<el-table-column label="入库时间" align="center" prop="applyDate" width="180"> <el-table-column label="入库时间" align="center" prop="applyDate" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.applyDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column label="同步ERP状态" align="center" prop="erpStatus" > <el-table-column label="同步ERP状态" align="center" prop="erpStatus" >

@ -90,9 +90,6 @@
</el-table-column> </el-table-column>
<el-table-column label="申请人" align="center" prop="applyBy"/> <el-table-column label="申请人" align="center" prop="applyBy"/>
<el-table-column label="申请时间" align="center" prop="applyDate" width="180"> <el-table-column label="申请时间" align="center" prop="applyDate" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.applyDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column label="申请原因" align="center" prop="applyReason"/> <el-table-column label="申请原因" align="center" prop="applyReason"/>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">

Loading…
Cancel
Save