|
@ -296,7 +296,7 @@ export default { |
|
|
phone: order.phone, |
|
|
phone: order.phone, |
|
|
appointTime: order.goTime, |
|
|
appointTime: order.goTime, |
|
|
cancelTime: order.state === 3 ? order.updateTime : '', |
|
|
cancelTime: order.state === 3 ? order.updateTime : '', |
|
|
qualityTime: order.status === 2 && order.state === 1 ? order.updateTime : '', |
|
|
|
|
|
|
|
|
qualityTime: order.testingTime, |
|
|
statusText: order.isBy === 'Y' ? statusInfo.label : '不包邮', |
|
|
statusText: order.isBy === 'Y' ? statusInfo.label : '不包邮', |
|
|
statusClass: statusInfo.class, |
|
|
statusClass: statusInfo.class, |
|
|
statusLabel: statusInfo.label, |
|
|
statusLabel: statusInfo.label, |
|
@ -373,8 +373,8 @@ export default { |
|
|
}, |
|
|
}, |
|
|
getOrderActions(status, state) { |
|
|
getOrderActions(status, state) { |
|
|
const actions = [] |
|
|
const actions = [] |
|
|
// 只有待质检状态显示操作按钮 |
|
|
|
|
|
if (status === 2 && state === 1) { |
|
|
|
|
|
|
|
|
// 只有待审核状态显示操作按钮 |
|
|
|
|
|
if (status == 0 && state == 0) { |
|
|
actions.push({ icon: 'undo', text: '驳回' }) |
|
|
actions.push({ icon: 'undo', text: '驳回' }) |
|
|
actions.push({ icon: 'person', text: '审批' }) |
|
|
actions.push({ icon: 'person', text: '审批' }) |
|
|
} |
|
|
} |
|
|