yangfeng
2023-11-29 f2b7de3623f3e439c27fd0363d73a6d74a9b4aaf
src/views/sales/salesDetails/AddSalesDetailsDialog.vue
@@ -485,7 +485,7 @@
<script>
import CommonFormTableView from "@/components/makepager/CommonFormTableView"
import { getAllData } from "@/api/client/client"
import { getAddSalesDetails, getUpdateSalesDetails,getProjectList,sendSalesDetailsToApsProject } from "@/api/sales/salesDetails"
import { getAddSalesDetails, getUpdateSalesDetails,getProjectList} from "@/api/sales/salesDetails"
import SelectClientDialog from "@/views/other/commonDialog/SelectClientDialog"
import SelectChanceDialog from "@/views/other/commonDialog/SelectChanceDialog"
import AddCollectionPlan from "@/views/other/payment/collectionPlan/AddCollectionPlan"
@@ -659,13 +659,6 @@
          } else {
            const params = this.saveParams()
            if (this.editConfig.title === "新建") {
              if(params.projectId!==0){
                sendSalesDetailsToApsProject({...params,member:this.thatMember}).then((res)=>{
                  if(res.code===200){
                    this.$message.success("成功推送至aps系统")
                  }
                })
              }
              getAddSalesDetails(params).then((res) => {
                console.log(res)
                this.editConfig.visible = false
@@ -721,7 +714,7 @@
        quotationId: this.quotationId,
        deliverType: data.deliverType || 0,
        status: 1,
        projectId:data.projectId||0
        projectId:data.projectId||''
      }
      let params = {}
      if (this.editConfig.title === "新建") {