From 491df5ea13a34c46cab555469fc310fa985c20e8 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期一, 28 十月 2024 18:50:26 +0800
Subject: [PATCH] add:钱包

---
 pages/order/evaluation/index.vue |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/pages/order/evaluation/index.vue b/pages/order/evaluation/index.vue
index a9098eb..3db7da0 100644
--- a/pages/order/evaluation/index.vue
+++ b/pages/order/evaluation/index.vue
@@ -39,7 +39,7 @@
           {
             type: 'row',
             items: [
-              { label: '订单编号', id: 'orderId', type: 'input' },
+              { label: '订单编号', id: 'orderNo', type: 'input' },
               { label: '商品名称', id: 'flowerName', type: 'input' },
               {
                 label: '评价星级',
@@ -54,9 +54,9 @@
               {
                 label: '申请日期',
                 component: 'el-bus-date-range',
-                id: 'createDateBeginStr',
+                id: 'commentStartDate',
                 commonFormat: true,
-                commonFormatProps: ['createDateBeginStr', 'createDateEndStr'],
+                commonFormatProps: ['commentStartDate', 'commentEndDate'],
                 customClass: 'in-bus-form',
               },
             ],
@@ -127,8 +127,12 @@
               {
                 label: '评价星级:',
                 id: 'commentGrade',
-                type: 'input',
+                component: 'simple-text',
                 readonly: true,
+                el: {
+                  type: 'primary',
+                },
+                forceDisabled: true,
               },
               {
                 label: '评论显示状态:',
@@ -241,6 +245,9 @@
       )
       if (code === 0) {
         const row = data[0]
+        row.supplierName = row.supplierName+'[ID:'+ row.supplierId +'], 电话:'+row.supplierContactTel
+        row.customerName = row.customerName+'[UID:'+ row.customerId +']'
+        row.commentGrade = row.commentGrade+'星'
         this.$refs.crud.$refs.extraDialog[0].show(row)
       }
     },

--
Gitblit v1.9.3