yangfeng
2023-08-15 6857572e3d303daaf3c28e639aad91c0bdf2fc42
src/views/sales/salesOpportunity/index.vue
@@ -64,6 +64,12 @@
    isDetail: {
      type: Boolean,
      default: false
    },
    addConfig: {
      type: Object,
      default: () => {
        return {}
      }
    }
  },
  mixins: [pageMixin],
@@ -73,11 +79,7 @@
    DetailContacts: () => import("@/views/client/contacts/DetailContacts"),
    DetailClientManage: () => import("@/views/client/client/DetailClientManage")
  },
  computed: {
    searchCommonHeight() {
      return this.$refs.searchCommonView.offsetHeight
    }
  },
  computed: {},
  data() {
    return {
      tableList: {},
@@ -130,7 +132,12 @@
  },
  created() {
    this.setTable()
    this.getData()
    if (!this.isDetail) {
      this.search_map = {}
    } else {
      this.search_map = { ...this.addConfig }
    }
    this.getData(this.search_map)
  },
  methods: {
    setTable() {
@@ -208,7 +215,7 @@
    addBtnClick() {
      this.editConfig.visible = true
      this.editConfig.title = "新建"
      this.editConfig.infomation = { city_id: 0 }
      this.editConfig.infomation = { city_id: 0, ...this.addConfig }
    },
    // 编辑
    handleClick(row) {