明树Git Lab

Commit d277e9b0 authored by zfp1's avatar zfp1

update

parent 65966db4
Pipeline #108297 passed with stage
in 4 seconds
......@@ -18,13 +18,13 @@ const RcTzjh = sequelize.define('RcTzjh', {
xmkgsjyj: { type: DataTypes.DATE, allowNull: true, comment: "项目开工时间(预计) 项目预计起始时间", _mark: "lixiang",
get() {
const rawValue = this.getDataValue('xmkgsjyj');
return rawValue ? moment(rawValue).format('YYYY-MM-DD HH:mm:ss') : '';
return rawValue ? moment(rawValue).format('YYYY-MM-DD') : '';
}
},
xmjgsjyj: { type: DataTypes.DATE, allowNull: true, comment: "项目交工时间(预计) 项目预计完成时间", _mark: "lixiang",
get() {
const rawValue = this.getDataValue('xmjgsjyj');
return rawValue ? moment(rawValue).format('YYYY-MM-DD HH:mm:ss') : '';
return rawValue ? moment(rawValue).format('YYYY-MM-DD') : '';
}
},
xmjd: {
......
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