src/views/sales/salesDetails/AddSalesDetailsDialog.vue
@@ -405,6 +405,8 @@
            <!-- :detail-enter="true" -->
            <CommonFormTableView
              ref="commonFormTableView"
              :detail-enter="isView?true:false"
              :selectBox="false"
              :show-summary="showSummary"
              pageName="quotation"
              :isOperate="((autoCodeHeadersObj.bjd=='yes'&&editConfig.infomation.quotation_number)||autoCodeHeadersObj.bjd!='yes')?true:false"
@@ -597,7 +599,6 @@
      quotationId: this.editCommonConfig.infomation.quotationId,
      tableData: [],
      isView: this.editCommonConfig.title === "查看",
      selectBox: this.editCommonConfig.title !== "查看",
      thatMember: {}
    }
  },
@@ -772,21 +773,21 @@
          console.log(res)
          this.quotationList = res.data.list
          if (value === "全部产品") {
            this.quotationList.map((item) => {
              if (item.id === this.editConfig.infomation.quotationId) {
                this.tableData = item.products
                this.tableData.map((item, index) => {
                  item.productId = index + 1
                  this.tableData.forEach((key) => {
                    if (item.number === key.number) {
                      item.amount = key.amount
                      item.id = key.id
                    }
                  })
                })
                this.productTableList.tableData = this.tableData
              }
            })
            // this.quotationList.map((item) => {
              // if (item.id === this.editConfig.infomation.quotationId) {
              //   this.tableData.map((item, index) => {
              //     item.productId = index + 1
              //     this.tableData.forEach((key) => {
              //       if (item.number === key.number) {
              //         item.amount = key.amount
              //         item.id = key.id
              //       }
              //     })
              //   })
              // }
            // })
          }
        }
      })
@@ -956,6 +957,9 @@
        ]
      } else {
        this.tableData = this.editConfig.infomation.products
        this.tableData.map((item, index) => {
          item.productId = index + 1
        })
        this.getQuotation(this.editConfig.infomation.saleChanceId, "全部产品")
      }
      // let productData = this.quotationList.products