Explorar el Código

fix: 基本信息-项目类型 值错误问题

vian hace 4 años
padre
commit
6672711d76
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      modules/pm/models/project_model.js

+ 1 - 1
modules/pm/models/project_model.js

@@ -256,7 +256,7 @@ ProjectsDAO.prototype.updateUserProjects = async function (userId, compilationId
                             if (item.key === 'engineeringName') {
                                 item.value = data.updateData.name;
                             } else if (item.key === 'fileKind') {
-                                item.value = {'1': '投标', '2': '招标'}[data.updateData.property.fileKind]
+                                item.value = {'1': '建筑安装工程', '2': '城市轨道交通工程'}[data.updateData.property.budgetType]
                             } else if (item.key === 'taxModel') {
                                 item.value = {'1': '一般计税法', '2': '简易计税法'}[data.updateData.property.taxType]
                             }