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,