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