diff --git a/src/utils/request.ts b/src/utils/request.ts index 748a0696..78870961 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -88,8 +88,11 @@ service.interceptors.response.use( $message.error(error.response.statusText) } } else { - console.log(error) - $message.error(error.message); + if (error.message == 'Bad Gateway' || error.message == 'Service Unavailable') { + $message.error('系统正在升级,请稍后再试...'); + } else { + $message.error(error.message); + } } return Promise.reject(error) } diff --git a/src/views/operation/seaexport/detail/components/ladingInfo.tsx b/src/views/operation/seaexport/detail/components/ladingInfo.tsx index c56a80a2..56ca368b 100644 --- a/src/views/operation/seaexport/detail/components/ladingInfo.tsx +++ b/src/views/operation/seaexport/detail/components/ladingInfo.tsx @@ -60,9 +60,9 @@ export const formSchema1: FormSchema[] = [ formModel.shipperContent = null formModel.shipper = '' } - }, + } } - }, + } }, { label: ' ', @@ -75,15 +75,15 @@ export const formSchema1: FormSchema[] = [ slice: [30, 35, 40], onCut: (v) => { formModel.shipperContent = v - }, + } } - }, + } }, { label: '', field: 'consigneeId', component: 'Input', - show: false, + show: false }, { label: '收货人', @@ -114,9 +114,9 @@ export const formSchema1: FormSchema[] = [ formModel.consignee = null formModel.consigneeContent = '' } - }, + } } - }, + } }, { label: ' ',