zhengjinyi 1 год назад
Родитель
Сommit
aed80255f6
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      src/main/resources/static/js/supplier-center/order/order-create.js

+ 5 - 2
src/main/resources/static/js/supplier-center/order/order-create.js

@@ -267,8 +267,11 @@ const seeDetail = new Vue({
                             window.location.href = '/supplier/order/detail.html?shopOrderId='+data.shopOrderId
                             window.location.href = '/supplier/order/detail.html?shopOrderId='+data.shopOrderId
                         },2000)
                         },2000)
                     }else{
                     }else{
-                        _this.$message.error(response.msg)
-                        _this.formatConfirmParam()
+                        setTimeout(()=>{
+                            _this.$message.error(response.msg)
+                            _this.submitLoading = false
+                            _this.formatConfirmParam()
+                        },2000)
                     }
                     }
                 })
                 })
             },1000)
             },1000)