From 6811bad35209163417855c9be649056e13201e0b Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Wed, 22 Apr 2026 15:33:12 +0800 Subject: [PATCH] 11 --- package1/order/orderEvaluate.vue | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/package1/order/orderEvaluate.vue b/package1/order/orderEvaluate.vue index 2e0fbd4..6409530 100644 --- a/package1/order/orderEvaluate.vue +++ b/package1/order/orderEvaluate.vue @@ -211,18 +211,21 @@ score:this.shopEvaluateNum, orderId:this.shopData.id, shopId:this.shopData.shopId, - },{ //配送员 - parentId:'', - leve:0, - remark:this.shopRemark, - picture:this.manPicture, - createBy:uni.getStorageSync('id'), - createByName:'微信用户', - createByIcon:'https://ooo.0o0.ooo/2019/04/28/5cc5a71a6e3b6.png', - score:this.manEvaluateNum, - orderId:this.shopData.id, - shopId:this.manId, }] + if(this.shopData.deliveryType == 1){ + data.push({ //配送员 + parentId:'', + leve:0, + remark:this.shopRemark, + picture:this.manPicture, + createBy:uni.getStorageSync('id'), + createByName:'微信用户', + createByIcon:'https://ooo.0o0.ooo/2019/04/28/5cc5a71a6e3b6.png', + score:this.manEvaluateNum, + orderId:this.shopData.id, + shopId:this.manId, + }) + } that.tui.request("/app/comment/save", "POST", data, false, false).then((res) => { if (res.code == 200) { uni.showToast({