src/views/dnc/common/ImportFileModal.vue
@@ -64,9 +64,10 @@
          attributionType = treeNodeInfo.type
          docClassCode = treeNodeInfo.param
        } else {
          attributionId = tableRowInfo.attributionId
          // 若工序及工步层级下有设备类时则导入NC的参数需要调整
          attributionId = tableRowInfo.param==='deviceCustomType'?tableRowInfo.id:tableRowInfo.attributionId
          attributionType = tableRowInfo.attributionType
          docClassCode = tableRowInfo.param
          docClassCode = tableRowInfo.param==='deviceCustomType'?'NC':tableRowInfo.param
        }
        this.setModalTitle(modalTitle, docClassCode)
        this.uploadParams = Object.assign({}, { attributionId, attributionType, docClassCode })