cloudroam
2024-10-12 4a63ab2de046ab76d9403bc523f273f2f9c398bc
fix:填充商品评价字段
已修改1个文件
9 ■■■■ 文件已修改
pages/order/evaluation/index.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/evaluation/index.vue
@@ -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.customerName = row.customerName+'[UID:'+ row.customerId +']'
        row.commentGrade = row.commentGrade+'星'
        this.$refs.crud.$refs.extraDialog[0].show(row)
      }
    },