From 5630f8bc9cd21fcf41dba2a06adf9f9ba55b73d7 Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Mon, 13 Jul 2026 18:11:41 +0800 Subject: [PATCH] 1 --- package1/buyFood/buyFood.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package1/buyFood/buyFood.vue b/package1/buyFood/buyFood.vue index 87130d5..1a6c166 100644 --- a/package1/buyFood/buyFood.vue +++ b/package1/buyFood/buyFood.vue @@ -1007,11 +1007,17 @@ if (this.isPaotui && this.selected === 'buzhiding' && !isJoiningFaceToFace) { let comm = parseFloat(this.customCommission); - if (isNaN(comm) || comm < 0.1) { + //没有输入佣金,直接弹出输入框 + if(isNaN(comm)){ + this.$refs.commissionPopup.open() + return; + } + if (comm < 0.1) { this.warnPopup = 'psyj'; this.$refs.warnPopup.open(); return; } + if (comm > 200) { this.tui.toast('配送佣金不得超过200元'); return;