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;