| | |
| | | style="width: 100%" |
| | | :size="isMobile ? 'mini' : 'medium'" |
| | | class="responsive-table"> |
| | | <el-table-column prop="paymentNo" label="收款流水" min-width="120" /> |
| | | <el-table-column prop="paymentTime" label="收款时间" min-width="140" /> |
| | | <el-table-column prop="amount" label="金额" min-width="100" /> |
| | | <el-table-column prop="method" label="方式" min-width="100" /> |
| | | <el-table-column prop="remark" label="备注" min-width="120" /> |
| | | <el-table-column prop="id" label="收款流水" min-width="120" /> |
| | | <el-table-column |
| | | prop="paidMoneyTime" |
| | | label="收款时间" |
| | | min-width="140" |
| | | :formatter="(row, column, cellValue) => formatDateTime(cellValue)" |
| | | /> |
| | | <el-table-column prop="paidMoney" label="金额(元)" min-width="100" /> |
| | | <el-table-column prop="vtext" label="方式" min-width="100" /> |
| | | <el-table-column prop="paidMoneyMono" label="备注" min-width="120" /> |
| | | </el-table> |
| | | </el-card> |
| | | </el-col> |
| | |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <!-- 订单情况 --> |
| | | <el-row :gutter="20"> |
| | | <!-- 调度信息 --> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12"> |
| | | <el-card class="inner-card"> |
| | | <div slot="header"><b>调度信息</b></div> |
| | | <el-descriptions :column="isMobile ? 1 : 2" border> |
| | | <el-descriptions-item label="服务评价">{{ dispatchInfo.dispatchTime }}</el-descriptions-item> |
| | | <el-descriptions-item label="发票状态">{{ dispatchInfo.dispatchStatus }}</el-descriptions-item> |
| | | <el-descriptions-item label="支付状态">{{ dispatchInfo.driver }}</el-descriptions-item> |
| | | <el-descriptions-item label="车牌">{{ dispatchInfo.carLicense }}</el-descriptions-item> |
| | | <el-descriptions-item label="医生">{{ dispatchInfo.doctor }}</el-descriptions-item> |
| | | <!-- <el-descriptions-item label="职位">{{ dispatchInfo.doctorPosition }}</el-descriptions-item> --> |
| | | <el-descriptions-item label="护士">{{ dispatchInfo.nurse }}</el-descriptions-item> |
| | | </el-descriptions> |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | </el-card> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getOrderDetail } from '@/api/system/order' |
| | | import { parseTime } from '@/utils/ruoyi' |
| | | |
| | | export default { |
| | | name: 'OrderDetail', |
| | |
| | | // 处理窗口大小变化 |
| | | handleResize() { |
| | | this.screenWidth = document.documentElement.clientWidth |
| | | }, |
| | | formatDateTime(time) { |
| | | if (!time) { |
| | | return ''; |
| | | } |
| | | return parseTime(time, '{y}-{m}-{d} {h}:{i}:{s}'); |
| | | } |
| | | } |
| | | } |