| | |
| | | }, |
| | | watch: { |
| | | currshowlist() { |
| | | console.log(22211); |
| | | this.innerVisible = this.currshowlist |
| | | } |
| | | }, |
| | |
| | | methods: { |
| | | // 获取数据列表 |
| | | getData() { |
| | | this.$refs.paramTable.getDataList() |
| | | this.$refs.paramTable.getDataList() |
| | | }, |
| | | handleSelectionChange(val){ |
| | | let data = val |
| | |
| | | this.datalistid = el |
| | | }); |
| | | }, |
| | | saveSelectRow() { |
| | | console.log(this.packageBoxIddata,"123"); |
| | | // saveList ({customerId:this.datalistid.id,contractNo:this.datalistid.contractNo}).then((res =>{ |
| | | // console.log(res); |
| | | // if (res.status === 200) { |
| | | // this.$message.success('新增成功') |
| | | // }else{ |
| | | // this.$message.error('创建失败') |
| | | // } |
| | | // })) |
| | | this.innerVisible = false |
| | | // this.$emit('handleSelectionChange',this.innerVisible ) |
| | | }, |
| | | handleSelectionChange(val){ |
| | | this.datalist = val |
| | | console.log(this.datalist,"数据"); |
| | | }, |
| | | saveSelectRow(){ |
| | | this.$emit('handleSelectionChange',this.datalist ) |