cloudroam
2024-10-28 491df5ea13a34c46cab555469fc310fa985c20e8
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)
      }
    },