提交 bcf17bc4 编写于 作者: xiaoping.di's avatar xiaoping.di

修改订单

上级 91db5c51
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
onSubmit() { onSubmit() {
if (this.form.orderName && this.submitFlag) { if (this.form.orderName && this.submitFlag) {
this.submitFlag = false; this.submitFlag = false;
getOrderNoFresh(this.form.orderName) getOrderNoFresh(this.form.orderName).then((res) => {
.then((res) => {
let tipText = ''; let tipText = '';
if (res.code === '000000') { if (res.code === '000000') {
tipText = '更新订单成功'; tipText = '更新订单成功';
...@@ -69,14 +68,6 @@ ...@@ -69,14 +68,6 @@
type: 'warning', type: 'warning',
duration: 1000, duration: 1000,
}); });
})
.cache((err) => {
console.log(err);
this.$message({
message: '服务异常',
type: 'warning',
duration: 1000,
});
}); });
} else { } else {
this.$message({ this.$message({
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册