| | |
| | | ref="tableListRef" |
| | | :table-list="tableList" |
| | | :select-box="editCommonConfig.isSelectBox" |
| | | :selectBoxList="selectBoxList" |
| | | @selCommonClick="selNameClick" |
| | | @selTableCol="selTableCol" |
| | | @getSelectArray="getSelectArray" |
| | |
| | | // 根据报价单查询产品 |
| | | quotationNumber:{ |
| | | type:[String,Number], |
| | | default:'' |
| | | default: "" |
| | | }, |
| | | selectBoxList: { |
| | | type: Array, |
| | | default: () => [] |
| | | } |
| | | }, |
| | | components: {}, |
| | | computed: {}, |
| | |
| | | keywordType: "", |
| | | tableColumn: [], |
| | | showCol: [], |
| | | selectArray:[], |
| | | selectArray: [] |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | { label: "规格", prop: "specs" }, |
| | | { label: "型号", prop: "type" } |
| | | ] |
| | | this.showCol = ["产品名称", "产品编号",'规格','型号'] |
| | | this.showCol = ["产品名称", "产品编号", "规格", "型号"] |
| | | this.tableList = { |
| | | selectIndex: true, |
| | | tableInfomation: [], |
| | |
| | | }, |
| | | // 列表多选 |
| | | getSelectArray(val){ |
| | | this.selectArray=val; |
| | | this.selectArray = val |
| | | }, |
| | | saveClick(){ |
| | | this.$emit('getSelectArray',this.selectArray) |
| | | this.$emit("getSelectArray", this.selectArray) |
| | | this.editConfig.editVisible = false |
| | | }, |
| | | // 请求数据 |
| | |
| | | } |
| | | }) |
| | | this.pagerOptions.totalCount =this.editConfig.count?this.editConfig.count:0 |
| | | return true; |
| | | return true |
| | | } |
| | | await getQuotationList({ |
| | | search_map: this.search_map, |
| | |
| | | }, |
| | | selNameClick(row) { |
| | | if(this.editCommonConfig.isSelectBox){ |
| | | return true; |
| | | return true |
| | | } |
| | | this.editConfig.editVisible = false |
| | | if (this.editConfig.title === "销售总单") { |