From 7f85ce4a792a8ee33d6c11edf1cf76d8278b3ab1 Mon Sep 17 00:00:00 2001 From: "BOOL\\25024" Date: Fri, 3 Jan 2025 11:25:06 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=96=B0=E5=A2=9E=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E5=80=99=E5=88=A4=E6=96=AD=E5=BD=93=E5=89=8D=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E5=B7=B2=E7=BB=8F=E6=B7=BB=E5=8A=A0=E8=BF=87=E6=AD=A4=E5=88=86?= =?UTF-8?q?=E6=B6=A6=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsowell-ui/src/views/pile/station/splitConfig.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jsowell-ui/src/views/pile/station/splitConfig.vue b/jsowell-ui/src/views/pile/station/splitConfig.vue index ff12bc7b4..bdc70f65c 100644 --- a/jsowell-ui/src/views/pile/station/splitConfig.vue +++ b/jsowell-ui/src/views/pile/station/splitConfig.vue @@ -152,6 +152,11 @@ export default { const selectedMerchant = this.merchantList.find( (merchant) => merchant.merchantId === this.createMerchantVip.adapayMemberId ); + // 判断当前是否已经添加过此分润人 + const foundItem = this.carList.some((item) => { + return item.adapayMemberId == selectedMerchant.adapayMemberId; + }); + if (foundItem == true) return this.$modal.msgError("当前运营商已经添加过分润人"); const newDetail = { splitName: selectedMerchant.merchantName, adapayMemberId: selectedMerchant.adapayMemberId,