| | |
| | | }, |
| | | upProductSelect(selection, row) { |
| | | row.state = row.state == 1 ? 0 : 1 |
| | | this.getProNum() |
| | | if (row.bsm === '1' && row.section !== '' && row.section !== null && row.state === 1) { |
| | | if (row.section.indexOf('[') > -1) { |
| | | this.bsmRow = this.HaveJson(row) |
| | |
| | | } |
| | | return item |
| | | }) |
| | | this.getProNum() |
| | | }, |
| | | permute(nums) { |
| | | const result = []; |
| | |
| | | return m |
| | | }) |
| | | } |
| | | this.getProNum() |
| | | this.bsmRow3 = []; |
| | | this.productList.forEach(p => { |
| | | if (p.bsm === '1' && p.section !== '' && p.section !== null && p.state === 1) { |
| | |
| | | return item |
| | | }) |
| | | } |
| | | this.getProNum() |
| | | this.$nextTick(() => { |
| | | this.$refs.productTable.doLayout() |
| | | }) |