src/views/other/commonDialog/SelectCommonDialog.vue
@@ -29,6 +29,7 @@
          </div>
        </div>
        <TableCommonView
        class="bg-list"
          ref="tableListRef"
          :table-list="tableList"
          :select-box="editCommonConfig.isSelectBox"
@@ -74,6 +75,7 @@
          isSelectBox:false,
          title: "",
          clientId: 0,
          isRequest:true,
          client_name: "",
          tableInfomation: []
        }
@@ -175,6 +177,7 @@
        this.showCol = ["报价单号", "销售负责人"]
        this.tableList = {
          selectIndex: true,
          tableInfomation: [],
          allcol: [],
          showcol: this.showCol,
@@ -347,6 +350,16 @@
    },
    // 报价单
    async getQuotationList() {
      if(!this.editConfig.isRequest){
        this.tableList.tableInfomation =this.editConfig.tableInfomation.map((item) => {
              return {
                ...item,
                member_name: item.member.username
              }
            })
        this.pagerOptions.totalCount =this.editConfig.count?this.editConfig.count:0
        return true;
      }
      await getQuotationList({
        search_map: this.search_map,
        page: this.pagerOptions.currPage,
@@ -552,6 +565,9 @@
<style lang="scss" scoped>
.bg-view {
  margin: 10px;
  .bg-list{
    min-height:370px;
    }
  .query-bg {
    margin-left: -20px;
    margin-bottom: 10px;
@@ -563,6 +579,7 @@
        width: 100px;
      }
    }
    .btn {
      float: right;
    }