Commit d19d5a5f by WF1020

letopn修改开证日期初始值

parent 56f55357
......@@ -479,10 +479,8 @@ export default {
},
created() {
var aData = new Date();
console.log(aData) //Wed Aug 21 2023 10:00:58 GMT+0800 (中国标准时间)
this.model.ledgrp.rec.opndat =
aData.getFullYear() + "-" + (aData.getMonth() + 1) + "-" + aData.getDate();
console.log(this.model.ledgrp.rec.opndat) //2019-8-20
},
......
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