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

修改订单

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