@@ -292,7 +292,11 @@ export default {
this.dataList = response.data.rows;
this.total = response.data.total;
this.loading = false;
- });
+ }).catch(()=>{
+ this.dataList = [];
+ this.total = 0;
+ this.loading = false;
+ })
},
// 取消按钮
cancel() {
@@ -213,7 +213,11 @@ export default {
}
- );
+ ).catch(()=>{
@@ -291,6 +291,13 @@ export default {
delete params.performDate
delete params.time
+ if(params.id && params.id.length > 19) {
+ this.$message.error('订单号不存在!!!');
+ return
+ }
pageList(params)
.then(response => {
@@ -234,7 +234,11 @@ export default {
@@ -161,7 +161,11 @@ export default {