From 4d8e42ceba77e05758fce54baadc10dded3fe773 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 10 六月 2025 09:53:46 +0800 Subject: [PATCH] 下单拆分为3个 --- src/views/business/materialOrder/customsInspectionOrder.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/business/materialOrder/customsInspectionOrder.vue b/src/views/business/materialOrder/customsInspectionOrder.vue index 099ef87..2fe4edd 100644 --- a/src/views/business/materialOrder/customsInspectionOrder.vue +++ b/src/views/business/materialOrder/customsInspectionOrder.vue @@ -169,7 +169,7 @@ </el-form> </div> <div style="margin-bottom: 6px;margin-top: 6px"> - <el-button v-show="active==1" :disabled="sampleList.length === 2" size="small" type="primary" @click="handleSplitCountNum">鎷嗗垎</el-button> + <el-button v-show="active==1" :disabled="sampleList.length === 3" size="small" type="primary" @click="handleSplitCountNum">鎷嗗垎</el-button> </div> </div> @@ -1455,10 +1455,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 => { @@ -1650,7 +1650,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