소스 검색

采购申请名称,产品名称+日期,后面的审批到采购计划的名称都同步过去

hezhanp 8 달 전
부모
커밋
6450ea66d1
2개의 변경된 파일721개의 추가작업 그리고 687개의 파일을 삭제
  1. 713 687
      src/views/materialPlan/components/plan-edit-dialog.vue
  2. 8 0
      src/views/materialPlan/components/producePlan.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 713 - 687
src/views/materialPlan/components/plan-edit-dialog.vue


+ 8 - 0
src/views/materialPlan/components/producePlan.vue

@@ -986,6 +986,14 @@
           planIds: planIds,
           demandType: this.formData.demandType
         });
+        
+        if (this.$store.state.user.info.clientEnvironmentId == '4') {
+          if (res && res.length > 0) {
+            const firstOrderName = res[0].productName || '';
+            this.formData.name =
+              `${firstOrderName} ${this.formData.name}`.trim();
+          }
+        }
         this.renderTable(tableList, res);
       },
       renderTable(tableList, res) {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.