Commit a7d9383b authored by 王晓旭's avatar 王晓旭
parents 859ed8be 2a1526aa
...@@ -322,6 +322,15 @@ export default { ...@@ -322,6 +322,15 @@ export default {
} }
}, },
beforeSubmit(data) {
if(data.defectsLiabilityPeriod){
const date = new Date(data.defectsLiabilityPeriod)
const time = date.getTime() // 精确到毫秒
data.defectsLiabilityPeriod=time;
}
return data
},
afterSubmit(data) { afterSubmit(data) {
this.open = false; this.open = false;
this.$emit("ok"); this.$emit("ok");
......
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