From 2e59f21d0dc1a7a29ce2e7bfe0e86065356c7f49 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 05 十一月 2025 09:44:24 +0800
Subject: [PATCH] 修复原材料订单提交IFS无法移库的问题
---
src/views/business/materialOrder/customsInspectionView.vue | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/views/business/materialOrder/customsInspectionView.vue b/src/views/business/materialOrder/customsInspectionView.vue
index 33b7687..6037a09 100644
--- a/src/views/business/materialOrder/customsInspectionView.vue
+++ b/src/views/business/materialOrder/customsInspectionView.vue
@@ -165,7 +165,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>
@@ -774,9 +774,8 @@
if (this.orderType == 1) {
this.$set(this.addObj, 'orderType', 'Quarterly inspection')
}
- const str = res.data.treeName.split('-')
- this.selectTreeTem = str.join(' - ')
- this.selectTree = str.join(' - ')
+ this.selectTreeTem = res.data.treeName
+ this.selectTree = res.data.treeName
this.addListInfo(this.codeLevel, res.data) // 鍘熸潗鏂欐牱鍝佹槸鍥哄畾鐨勶紝灏遍粯璁よ祴鍊间竴鏉℃暟鎹紝鍙媶鍒�
this.selectInsOrderTemplate() // 鍘熸潗鏂欐ā鏉垮垪琛ㄦ煡璇�
} else {
@@ -1452,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 => {
@@ -1647,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