Commit 851fa1cb authored by lizhichao's avatar lizhichao

1.项目交易中心买方经办人重置意见时重置说明2.外部采购审核时间,记录时分秒

parent 4a27fbf4
......@@ -105,8 +105,8 @@ public class TPurchase extends BaseEntity
private String purchaseStatus;
/** 审核时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date approvedTime;
/**
......
......@@ -68,8 +68,15 @@
let param = {...this.purchaseData};
param.purchaseStatus = this.purchaseStatus;
param.approvedUserId = this.$store.state.user.userId;
param.approvedTime = new Date();
param.approvedTime =this.getNowTime();
return param;
},
getNowTime(){
var date = new Date();
var seperator = "-";
var currentdate =date.getFullYear()+seperator+date.getMonth()+seperator+date.getDate() +" "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
console.log(currentdate,"currentdate")
return currentdate;
}
}
}
......
......@@ -84,6 +84,7 @@
this.price = "";
this.socre = "";
this.dealPrice = "";
this.dealRemark="";
},
checkParam(){
if(!this.dealPrice){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment