From ce2570f8555ff6668da4f149521b4620bdd9d8bf Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 23 九月 2026 15:25:22 +0800
Subject: [PATCH] feat(order): 添加订单委托要求字段并优化界面流程 - 新增分包内容、样品处置、结果评价、报告交付方式等委托要求字段 - 添加分包单位信息、报告寄送地址、收件人电话等关联信息录入功能 - 更新订单状态标签,新增作废状态和全部状态页签 - 调整报告准备页面审批流程,防止审核人和批准人为同一人
---
src/views/business/reportPreparation/index.vue | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/views/business/reportPreparation/index.vue b/src/views/business/reportPreparation/index.vue
index 56d1f0e..ccce7c9 100644
--- a/src/views/business/reportPreparation/index.vue
+++ b/src/views/business/reportPreparation/index.vue
@@ -938,6 +938,10 @@
this.$message.error('璇烽�夋嫨瀹℃壒浜�')
return
}
+ if (this.currentInfo && this.currentInfo.examineUserId != null && Number(this.approver) === Number(this.currentInfo.examineUserId)) {
+ this.$message.error('瀹℃牳浜哄拰鎵瑰噯浜轰笉鑳戒负鍚屼竴浜猴紝璇烽噸鏂伴�夋嫨鎵瑰噯浜�')
+ return
+ }
this.loadingIssued = true;
examineReport({
id: this.currentInfo.id,
@@ -951,7 +955,6 @@
this.addApproverDia = false
this.issuedVisible = false;
}).catch(e => {
- this.$message.error('鎻愪氦澶辫触')
this.loadingIssued = false;
})
},
@@ -961,11 +964,11 @@
},
// 鐐瑰嚮閫氳繃锛岄渶瑕侀�夋嫨鎵瑰噯浜哄憳
subIssued() {
- this.getAuthorizedPerson()
+ this.getAuthorizedPerson(true)
this.addApproverDia = true
},
// 鑾峰彇浜哄憳鍒楄〃
- getAuthorizedPerson() {
+ getAuthorizedPerson(filterExamine) {
selectUserCondition({type: 1}).then((res) => {
let data = [];
res.data.forEach((a) => {
@@ -974,6 +977,9 @@
value: a.id,
});
});
+ if (filterExamine && this.currentInfo && this.currentInfo.examineUserId != null) {
+ data = data.filter((item) => Number(item.value) !== Number(this.currentInfo.examineUserId));
+ }
this.approverList = data;
})
},
--
Gitblit v1.9.3