From 3c6566a26c6bb6f68deed9f2c8e7b6eab1209134 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 28 八月 2026 15:42:42 +0800
Subject: [PATCH] feat(order): 添加产品检验项选择功能并增加导入导出功能 - 实现产品检验项的选择状态管理和计数显示功能 - 添加标准物质和设备管理模块的导入导出功能 - 新增导入模板下载和上传验证机制 - 调整表单验证规则,移除生产单位必填限制
---
src/views/business/materialOrder/customsInspectionView.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/views/business/materialOrder/customsInspectionView.vue b/src/views/business/materialOrder/customsInspectionView.vue
index 86ab7c7..883295e 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>
@@ -479,7 +479,7 @@
sample: null, // 鏍峰搧鍚嶇О
qtyArrived: '', // 鏍峰搧鎬绘暟
testQuantity: '', // 鎶芥鏁伴噺
- company: '涓ぉ绉戞妧瑁呭鐢电紗鏈夐檺鍏徃', // 濮旀墭鍗曚綅
+ company: '', // 濮旀墭鍗曚綅
companyId: '1233268751', // 濮旀墭鍗曚綅id
receiverDate: '', // 鎺ユ敹鏃堕棿
appointed: '', // 绾﹀畾鏃堕棿
@@ -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