diff --git a/anrui-buscenter/anrui-buscenter-ui/src/router/index.js b/anrui-buscenter/anrui-buscenter-ui/src/router/index.js index 513e091ec5..b4f1d7b9d7 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/router/index.js +++ b/anrui-buscenter/anrui-buscenter-ui/src/router/index.js @@ -232,10 +232,8 @@ export const constantRoutes = [ path: '/xiaoshouguanli/cheliangjiaofu', component: () => import('@/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue'), - name: 'cheliangjiaofu', - meta: { - title: '车辆交付' - } + name: 'CheLiangJiaoFu', + meta: { title: '车辆交付', noCache: true } }, // 客户登记单 { diff --git a/anrui-buscenter/anrui-buscenter-ui/src/utils/request.js b/anrui-buscenter/anrui-buscenter-ui/src/utils/request.js index 7457e25ad6..f7d576f0f8 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/utils/request.js +++ b/anrui-buscenter/anrui-buscenter-ui/src/utils/request.js @@ -77,7 +77,7 @@ service.interceptors.response.use( } return Promise.reject(new Error(res.message || 'Error')) } else { - if (!res.success) { + if (!res.success && res.success !== null && res.success !== undefined) { Message({ message: res.msg || 'Error', type: 'error', diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue index 278174a277..00f4a7d9c3 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue @@ -1,528 +1,329 @@