feature-JimuReport-1106-yjl
lijingjia 4 weeks ago
parent a2a72cce5f
commit 7346c0fb09

@ -88,8 +88,11 @@ service.interceptors.response.use(
$message.error(error.response.statusText) $message.error(error.response.statusText)
} }
} else { } else {
console.log(error) if (error.message == 'Bad Gateway' || error.message == 'Service Unavailable') {
$message.error(error.message); $message.error('系统正在升级,请稍后再试...');
} else {
$message.error(error.message);
}
} }
return Promise.reject(error) return Promise.reject(error)
} }

@ -60,9 +60,9 @@ export const formSchema1: FormSchema[] = [
formModel.shipperContent = null formModel.shipperContent = null
formModel.shipper = '' formModel.shipper = ''
} }
}, }
} }
}, }
}, },
{ {
label: ' ', label: ' ',
@ -75,15 +75,15 @@ export const formSchema1: FormSchema[] = [
slice: [30, 35, 40], slice: [30, 35, 40],
onCut: (v) => { onCut: (v) => {
formModel.shipperContent = v formModel.shipperContent = v
}, }
} }
}, }
}, },
{ {
label: '', label: '',
field: 'consigneeId', field: 'consigneeId',
component: 'Input', component: 'Input',
show: false, show: false
}, },
{ {
label: '收货人', label: '收货人',
@ -114,9 +114,9 @@ export const formSchema1: FormSchema[] = [
formModel.consignee = null formModel.consignee = null
formModel.consigneeContent = '' formModel.consigneeContent = ''
} }
}, }
} }
}, }
}, },
{ {
label: ' ', label: ' ',

Loading…
Cancel
Save