Browse Source

feat:fix bugs

dev
zhaobing’ 1 year ago
parent
commit
e09702da4a
  1. 2
      api/app/lib/schedule/workOrder.js

2
api/app/lib/schedule/workOrder.js

@ -77,7 +77,7 @@ module.exports = function (app, opts,ctx) {
formData: JSON.parse(f.formData)
})
const res=await models.FormDataTable.create({
projectId:parseData.pomsProjectId.value || null,
projectId:parseData?parseData.pomsProjectId.value : null,
formname:procinstsVariables.body.find(t => t.name == 'fsEmisBusinessName') ? procinstsVariables.body.find(t => t.name == 'fsEmisBusinessName').value : '',
state: f.state||null,
endTime:f.endTime||null,

Loading…
Cancel
Save