| | |
| | | a.price = obj.price |
| | | a.tell = obj.tell |
| | | } |
| | | if(a.state == 0&&a.bsmRow){ |
| | | a = this.HaveJson(a.bsmRow) |
| | | } |
| | | }) |
| | | }, |
| | | searchFilterList () { |
| | |
| | | this.productList0 = JSON.parse(JSON.stringify(this.productList)) |
| | | setTimeout(() => { |
| | | this.productList.forEach(a => { |
| | | if (a.state == 1) this.toggleSelection(a) |
| | | if (a.state == 1) { |
| | | this.toggleSelection(a) |
| | | }else{ |
| | | this.$refs.productTable.toggleRowSelection(a, false); |
| | | } |
| | | }) |
| | | }, 200) |
| | | }, |
| | |
| | | } |
| | | this.getProductLoad = true |
| | | let selectTreeList = this.selectTree.split(" - ") |
| | | selectTreeList[selectTreeList.length - 1] = this.addObj.model |
| | | this.addObj.model&&(selectTreeList[selectTreeList.length - 1] = this.addObj.model) |
| | | this.$axios.post(this.$api.standardTree.selectStandardProductList, { |
| | | model: this.addObj.model + '-' + row.modelNum, |
| | | model: (this.addObj.model?this.addObj.model:row.model) + '-' + row.modelNum, |
| | | standardMethodListId: val, |
| | | factory: selectTreeList.join(" - "), |
| | | }, { |