|
@@ -275,7 +275,6 @@ export default {
|
|
|
this.$message.warning('请输入订单号');
|
|
this.$message.warning('请输入订单号');
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- try {
|
|
|
|
|
const res = await getOrderCodeInfo(orderCode);
|
|
const res = await getOrderCodeInfo(orderCode);
|
|
|
if (res.code !== 200 || !res.data) {
|
|
if (res.code !== 200 || !res.data) {
|
|
|
this.$message.error(res.msg || '订单号无效或不存在');
|
|
this.$message.error(res.msg || '订单号无效或不存在');
|
|
@@ -310,11 +309,6 @@ export default {
|
|
|
this.$message.warning('订单信息不完整');
|
|
this.$message.warning('订单信息不完整');
|
|
|
this.orderInfoVisible = false;
|
|
this.orderInfoVisible = false;
|
|
|
}
|
|
}
|
|
|
- } catch (error) {
|
|
|
|
|
- console.error(error);
|
|
|
|
|
- this.$message.error('请求失败,请稍后重试');
|
|
|
|
|
- this.orderInfoVisible = false;
|
|
|
|
|
- }
|
|
|
|
|
},
|
|
},
|
|
|
async submitForm() {
|
|
async submitForm() {
|
|
|
this.$refs.form.validate(async (valid) => {
|
|
this.$refs.form.validate(async (valid) => {
|