src/components/makepager/CommonFormTableView.vue
@@ -201,6 +201,7 @@
      :edit-common-config="editSelCommonConfig"
      :quotationNumber="quotationNumber"
      @selClient="selClient"
      @getSelectArray="getSelectArray"
    />
  </div>
</template>
@@ -224,6 +225,11 @@
    pageName:{
      type:String,
      default:''
    },
    // 列表新增是否多选
    addTypeIdMultiple:{
      type:Boolean,
      default:false,
    },
    // 根据报价单查询产品
    quotationNumber:{
@@ -268,6 +274,7 @@
      tableList: [],
      editSelCommonConfig: {
        editVisible: false,
        isSelectBox:false,
        title: "",
        infomation: {}
      },
@@ -399,7 +406,13 @@
    },
    // 新增
    add() {
      this.$emit("addProductClick")
      if(this.addTypeIdMultiple){
        this.editSelCommonConfig.title = "产品名称"
        this.editSelCommonConfig.isSelectBox=true;
        this.editSelCommonConfig.editVisible = true
      }else{
        this.$emit("addProductClick")
      }
    },
    commonInputChange(val, prop, row,scope) {
      if (prop === "amount") {
@@ -487,6 +500,7 @@
      console.log(row, prop)
      this.productIndex = row.productId - 1
      this.editSelCommonConfig.title = "产品名称"
      this.editSelCommonConfig.isSelectBox=false;
      this.editSelCommonConfig.editVisible = true
    },
    selClient(item) {
@@ -505,6 +519,9 @@
        }
      })
    },
    getSelectArray(val){
      this.$emit("getSelectArray",val)
    },
    // 清除已选择用户
    clearupClient(row) {
      this.productIndex = row.productId - 1