yangfeng
2024-02-27 441f8436a70c22fba6f25154f2f38a072c85b76b
src/views/other/commonDialog/SelectCommonDialog.vue
@@ -33,6 +33,7 @@
          ref="tableListRef"
          :table-list="tableList"
          :select-box="editCommonConfig.isSelectBox"
          :selectBoxList="selectBoxList"
          @selCommonClick="selNameClick"
          @selTableCol="selTableCol"
          @getSelectArray="getSelectArray"
@@ -84,8 +85,12 @@
    // 根据报价单查询产品
    quotationNumber:{
      type:[String,Number],
      default:''
      default: ""
    },
    selectBoxList: {
      type: Array,
      default: () => []
    }
  },
  components: {},
  computed: {},
@@ -106,7 +111,7 @@
      keywordType: "",
      tableColumn: [],
      showCol: [],
      selectArray:[],
      selectArray: []
    }
  },
  created() {
@@ -210,7 +215,7 @@
          { label: "规格", prop: "specs" },
          { label: "型号", prop: "type" }
        ]
        this.showCol = ["产品名称", "产品编号",'规格','型号']
        this.showCol = ["产品名称", "产品编号", "规格", "型号"]
        this.tableList = {
          selectIndex: true,
          tableInfomation: [],
@@ -272,10 +277,10 @@
    },
    // 列表多选
    getSelectArray(val){
      this.selectArray=val;
      this.selectArray = val
    },
    saveClick(){
      this.$emit('getSelectArray',this.selectArray)
      this.$emit("getSelectArray", this.selectArray)
      this.editConfig.editVisible = false
    },
    // 请求数据
@@ -360,7 +365,7 @@
              }
            })
        this.pagerOptions.totalCount =this.editConfig.count?this.editConfig.count:0
        return true;
        return true
      }
      await getQuotationList({
        search_map: this.search_map,
@@ -522,7 +527,7 @@
    },
    selNameClick(row) {
      if(this.editCommonConfig.isSelectBox){
        return true;
        return true
      }
      this.editConfig.editVisible = false
      if (this.editConfig.title === "销售总单") {