GouGengquan 2 months ago
parent
commit
9b124ac9e5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/views/assets/orderDetail.vue

+ 3 - 0
src/views/assets/orderDetail.vue

@@ -3066,6 +3066,8 @@ export default {
       if (this.currentNode.nodeCode == 'ASSET_REPORT_TAKE_NO') {
         this.nodeBusinessInfo.businessMinId = this.commitProductionNo;
         aProListSelectDTO.productionNos = this.assetsEvaluationTarget.filter(obj => obj.reportNo).map(obj => obj.reportNo);
+        // 去重
+        aProListSelectDTO.productionNos = aProListSelectDTO.productionNos.filter((item, index) => aProListSelectDTO.productionNos.indexOf(item) === index);
       }
 
       aProListSelectDTO.businessId = this.assetsForm.id;
@@ -3088,6 +3090,7 @@ export default {
           (obj.reportNo === null || obj.reportNo === '')
         );
       }
+      console.log(isNotWriteAllPro)
       // 判断是否完成节点
       if (isNotWriteAllPro) { // 还有未撰写或未提交产品不完成节点
         this.nodeBusinessInfo.ifCheckTask = false;