luohairen
2024-11-26 100186edb96c3fa913779b64471dae6ea1b7aca7
src/views/projectPlan/planInfo.vue
@@ -132,7 +132,7 @@
    // 上报数据
    handleSubmit() {
      // 遍历tableData,获得值不为空字符串的行
      const validList = this.tableData.filter(item => item.title !== '' && item.startTime !== '' && item.endTime !== '');
      const validList = this.tableData.filter(item => item.title !== '' || item.startTime !== '' || item.endTime !== '');
      this.addData = {
        projectPlanRecordId: this.planRecordData.id,
        actualInvest: this.actualInvest,