明树Git Lab

Commit 2117d1dd authored by zfp1's avatar zfp1

update

parent 3bac3f4a
Pipeline #109233 passed with stage
in 4 seconds
......@@ -11,7 +11,7 @@ const TzJsqtzhs = sequelize.define('TzJsqtzhs', {
primaryKey: true,
autoIncrement: true
},
//以下 项目信息里面取值
//以下 项目信息里面取值
projectName: {
type: DataTypes.STRING,
comment: "项目名称",
......@@ -24,7 +24,7 @@ const TzJsqtzhs = sequelize.define('TzJsqtzhs', {
type: DataTypes.STRING,
comment: "填报单位名称",
},
cwbblx: {
cwbblx: {
type: DataTypes.STRING,
comment: "财务报表类型",
},
......@@ -56,7 +56,13 @@ const TzJsqtzhs = sequelize.define('TzJsqtzhs', {
type: DataTypes.STRING,
comment: "下年项目阶段",
},
nd: {
type: DataTypes.DATE,
get() {
const rawValue = this.getDataValue('nd');
return rawValue ? moment(rawValue).format('YYYY') : '';
}
},
projectGdxxs: {
type: DataTypes.JSON,
......@@ -96,11 +102,11 @@ const TzJsqtzhs = sequelize.define('TzJsqtzhs', {
type: DataTypes.JSON,
},
tzhsjc: {type: DataTypes.JSON, comment: "投资回收决策"},
tzhsjh: {type: DataTypes.JSON, comment: "投资回收计划----合并到上一个进去了"},
tzhswcqkndgx: {type: DataTypes.JSON, comment: "投资回收完成情况年度更新"},
tzhswcqkydgx: {type: DataTypes.JSON, comment: "投资回收完成情况月度更新"},
tzhsjc: { type: DataTypes.JSON, comment: "投资回收决策" },
tzhsjh: { type: DataTypes.JSON, comment: "投资回收计划----合并到上一个进去了" },
tzhswcqkndgx: { type: DataTypes.JSON, comment: "投资回收完成情况年度更新" },
tzhswcqkydgx: { type: DataTypes.JSON, comment: "投资回收完成情况月度更新" },
......@@ -113,7 +119,7 @@ const TzJsqtzhs = sequelize.define('TzJsqtzhs', {
type: DataTypes.INTEGER,
defaultValue: 0,
comment: "0 正常 1 删除"
}, creator: {
}, creator: {
type: DataTypes.INTEGER,
comment: "创建人"
},
......
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