From b807a12b89dc9126bac49c02a3902bec758f4f9b Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期一, 09 六月 2025 11:55:27 +0800 Subject: [PATCH] 检验标准未带出 --- src/views/business/materialOrder/customsInspectionView.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/business/materialOrder/customsInspectionView.vue b/src/views/business/materialOrder/customsInspectionView.vue index 86ab7c7..b95acfb 100644 --- a/src/views/business/materialOrder/customsInspectionView.vue +++ b/src/views/business/materialOrder/customsInspectionView.vue @@ -1451,10 +1451,10 @@ }).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 => { @@ -1646,7 +1646,7 @@ }) } this.productList = [] - let num = this.selectTreeTem.split('-').length; + let num = this.selectTreeTem.split(' - ').length; if (num != 5) { this.selectTree = this.selectTreeTem + ' - ' + e } else { -- Gitblit v1.9.3