| | |
| | | :edit-common-config="editSelCommonConfig" |
| | | :quotationNumber="quotationNumber" |
| | | @selClient="selClient" |
| | | @getSelectArray="getSelectArray" |
| | | /> |
| | | </div> |
| | | </template> |
| | |
| | | pageName:{ |
| | | type:String, |
| | | default:'' |
| | | }, |
| | | // 列表新增是否多选 |
| | | addTypeIdMultiple:{ |
| | | type:Boolean, |
| | | default:false, |
| | | }, |
| | | // 根据报价单查询产品 |
| | | quotationNumber:{ |
| | |
| | | tableList: [], |
| | | editSelCommonConfig: { |
| | | editVisible: false, |
| | | isSelectBox:false, |
| | | title: "", |
| | | infomation: {} |
| | | }, |
| | |
| | | }, |
| | | // 新增 |
| | | 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") { |
| | |
| | | console.log(row, prop) |
| | | this.productIndex = row.productId - 1 |
| | | this.editSelCommonConfig.title = "产品名称" |
| | | this.editSelCommonConfig.isSelectBox=false; |
| | | this.editSelCommonConfig.editVisible = true |
| | | }, |
| | | selClient(item) { |
| | |
| | | } |
| | | }) |
| | | }, |
| | | getSelectArray(val){ |
| | | this.$emit("getSelectArray",val) |
| | | }, |
| | | // 清除已选择用户 |
| | | clearupClient(row) { |
| | | this.productIndex = row.productId - 1 |