| | |
| | | { |
| | | type: 'row', |
| | | items: [ |
| | | { label: '订单编号', id: 'orderId', type: 'input' }, |
| | | { label: '订单编号', id: 'orderNo', type: 'input' }, |
| | | { label: '商品名称', id: 'flowerName', type: 'input' }, |
| | | { |
| | | label: '评价星级', |
| | |
| | | }, |
| | | }, |
| | | { |
| | | label: '申请日期', |
| | | label: '评价时间', |
| | | component: 'el-bus-date-range', |
| | | id: 'createDateBeginStr', |
| | | id: 'commentStartDate', |
| | | commonFormat: true, |
| | | commonFormatProps: ['createDateBeginStr', 'createDateEndStr'], |
| | | commonFormatProps: ['commentStartDate', 'commentEndDate'], |
| | | customClass: 'in-bus-form', |
| | | }, |
| | | ], |
| | |
| | | { |
| | | label: '评价星级:', |
| | | id: 'commentGrade', |
| | | type: 'input', |
| | | component: 'simple-text', |
| | | readonly: true, |
| | | el: { |
| | | type: 'primary', |
| | | }, |
| | | forceDisabled: true, |
| | | }, |
| | | { |
| | | label: '评论显示状态:', |
| | |
| | | ) |
| | | 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) |
| | | } |
| | | }, |