Browse Source

花束订单 开单优化

shish 3 years ago
parent
commit
31e804ef20
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hdApp/src/admin/order/workOrder.vue

+ 2 - 0
hdApp/src/admin/order/workOrder.vue

@@ -227,7 +227,9 @@ export default {
       //   return false       
       //   return false       
       // }
       // }
       that.$util.confirmModal({content:'确认提交?'},() => {
       that.$util.confirmModal({content:'确认提交?'},() => {
+          uni.showLoading({mask:true})
           createOrder({...that.form,unitGoodsPrice:this.goodsPrice,modifyPrice:modifyPrice,dj:this.dj}).then((res) => {
           createOrder({...that.form,unitGoodsPrice:this.goodsPrice,modifyPrice:modifyPrice,dj:this.dj}).then((res) => {
+            uni.hideLoading()
             that.pageTo({url: '/admin/order/workOrderResult',type:2,query:{id:res.data.id}})
             that.pageTo({url: '/admin/order/workOrderResult',type:2,query:{id:res.data.id}})
           })
           })
       })
       })