| | |
| | | return { |
| | | ajaxFun: chooseIFS, |
| | | innerVisible: false, |
| | | listLoading: true, |
| | | currentRow: null, |
| | | multipleSelection: [], |
| | | uploadInfo: { |
| | |
| | | // props:['currentRow'], |
| | | methods: { |
| | | getData() { |
| | | console.log(1111); |
| | | if (this.$refs.rawPartTable !== undefined) { |
| | | this.$refs.rawPartTable.getDataList() |
| | | } |
| | | }, |
| | | saveSelectRow() { |
| | | // console.log(this.multipleSelection); |
| | | console.log(); |
| | | if (this.multiSelect) { |
| | | this.$emit('handleSelectionChange', this.multipleSelection) |
| | | } else { |
| | |
| | | this.$parent.costPlannedAmountChange(this.currentRow) |
| | | }, |
| | | handleCurrentChange(row) { |
| | | console.log(row); |
| | | this.currentRow = row |
| | | console.log(this.currentRow); |
| | | }, |
| | | handleSelectionChange(val) { |
| | | // 多行选中 |