From be409d2a08892ebe3d89d512f6667669ca4b4654 Mon Sep 17 00:00:00 2001
From: hayu <1604366271@qq.com>
Date: Tue, 14 Oct 2025 21:44:32 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../straight/straightTransfer/index.vue | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/views/materialsStation/straight/straightTransfer/index.vue b/src/views/materialsStation/straight/straightTransfer/index.vue
index 4d1b62dc..1345c129 100644
--- a/src/views/materialsStation/straight/straightTransfer/index.vue
+++ b/src/views/materialsStation/straight/straightTransfer/index.vue
@@ -119,7 +119,13 @@
@change="leaseUniteChange"
style="width: 100%"
>
-
+
@@ -719,6 +725,10 @@ export default {
this.loading = false
}
},
+ isTeamSelected(teamName) {
+ // 判断转出班组的teamName是否已经在选中的班组列表中
+ return this.maForm.backTeamId && this.uniteList.some(item => item.teamName === teamName);
+ },
// 获取物资类型
async getMaTypeOpt() {
try {
@@ -818,9 +828,12 @@ export default {
uniteChange(val) {
if (!val) return
this.maForm.backTeamName = this.uniteList.find(item => item.id === val).teamName
+ // 清空转入班组内容
+ this.maForm.leaseTeamName = '';
this.getAgreementId()
},
projectChange(val) {
+ this.maForm.backTeamId=undefined;
const obj = this.projectList.find(item => item.proId === val)
console.log('🚀 ~ projectChange ~ obj:', obj)
if (!val) {