| | |
| | | }).then(res => { |
| | | this.methodLoad = false |
| | | try { |
| | | if (res.data.standardMethodList.length == 0 && this.selectTree.split('-').length == 5) { |
| | | let arr = this.selectTree.split('-') |
| | | if (res.data.standardMethodList.length == 0 && this.selectTree.split(' - ').length == 5) { |
| | | let arr = this.selectTree.split(' - ') |
| | | let arr0 = arr.slice(0, arr.length - 1) |
| | | let selectTree = arr0.join('-').substring(0, arr0.join('-').length - 1) |
| | | let selectTree = arr0.join(' - ').substring(0, arr0.join(' - ').length - 1) |
| | | selectsStandardMethodByFLSSM({ |
| | | tree: selectTree |
| | | }).then(ress => { |
| | |
| | | }) |
| | | } |
| | | this.productList = [] |
| | | let num = this.selectTreeTem.split('-').length; |
| | | let num = this.selectTreeTem.split(' - ').length; |
| | | if (num != 5) { |
| | | this.selectTree = this.selectTreeTem + ' - ' + e |
| | | } else { |