前端-胡立永 2 weeks ago
parent
commit
b3312675f8
3 changed files with 5 additions and 5 deletions
  1. +1
    -1
      config.js
  2. +1
    -1
      pages/manager/order-detail.vue
  3. +3
    -3
      pages/manager/order.vue

+ 1
- 1
config.js View File

@ -1,5 +1,5 @@
// config.js
const type = 'dev'
const type = 'prod'
const config = {
local: {


+ 1
- 1
pages/manager/order-detail.vue View File

@ -187,7 +187,7 @@
<button class="btn-outline" @tap="rejectOrderAction">驳回</button>
<button class="btn-main" @tap="passOrderAction">通过</button>
</view>
<view v-else-if="order.status === 2&&order.state === 1" class="footer-btns">
<view v-else-if="order.status === 2 && order.state === 1" class="footer-btns">
<button class="btn-main" @tap="goToInspect">开始质检</button>
</view>
</view>


+ 3
- 3
pages/manager/order.vue View File

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


Loading…
Cancel
Save