From 0795aa1f52ede9074f50c492a26a9c490c217454 Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Wed, 8 Jul 2026 09:46:51 +0800 Subject: [PATCH] 1 --- package1/buyFood/buyFood.vue | 13 +- package1/ieBrowser/chat.vue | 41 +++- package1/index/deliveryPersonList.vue | 15 +- package1/order/orderDetail.vue | 261 +++++++++++++++++++++----- package1/order/orderEvaluate.vue | 92 +++++---- package1/planet/index.vue | 114 ++++++++++- package1/runErrand/runErrand.vue | 13 +- 7 files changed, 435 insertions(+), 114 deletions(-) diff --git a/package1/buyFood/buyFood.vue b/package1/buyFood/buyFood.vue index 2edf306..87130d5 100644 --- a/package1/buyFood/buyFood.vue +++ b/package1/buyFood/buyFood.vue @@ -133,7 +133,7 @@ 佣金 ¥ - {{customCommission || '0.1'}} + {{customCommission || '请输入'}} @@ -580,7 +580,7 @@ remark:'', remarkInputValue: '', selected: 'buzhiding', - customCommission: '0.1', + customCommission: '', commissionInputValue: '', shopItem: {}, cartItems: [], @@ -831,7 +831,7 @@ formatCommissionValue(value) { let amount = parseFloat(value); if (isNaN(amount) || amount < 0.1) { - return '0.1'; + return ''; } amount = Math.floor(amount * 100) / 100; return amount.toFixed(2).replace(/\.?0+$/, ''); @@ -876,6 +876,11 @@ }, confirmCommission() { let commission = parseFloat(this.commissionInputValue); + if (isNaN(commission) || commission < 0.1) { + this.warnPopup = 'psyj'; + this.$refs.warnPopup.open(); + return; + } if (commission > 200) { this.tui.toast('配送佣金不得超过200元'); return; @@ -1001,7 +1006,6 @@ } if (this.isPaotui && this.selected === 'buzhiding' && !isJoiningFaceToFace) { - this.normalizeCustomCommission(); let comm = parseFloat(this.customCommission); if (isNaN(comm) || comm < 0.1) { this.warnPopup = 'psyj'; @@ -1012,6 +1016,7 @@ this.tui.toast('配送佣金不得超过200元'); return; } + this.normalizeCustomCommission(); } if (this.isPaotui && this.selected === 'zhiding' && !this.assignedWorker && !isJoiningFaceToFace) { diff --git a/package1/ieBrowser/chat.vue b/package1/ieBrowser/chat.vue index 8b01f2e..896cbb7 100644 --- a/package1/ieBrowser/chat.vue +++ b/package1/ieBrowser/chat.vue @@ -1,5 +1,5 @@