shish %!s(int64=4) %!d(string=hai) anos
pai
achega
09c3843ceb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hdPad/src/pages/home/components/createWork.vue

+ 1 - 1
hdPad/src/pages/home/components/createWork.vue

@@ -121,7 +121,7 @@ export default {
             let that = this
             let product = this.selectList.map(i=>({ productId:i.id, unitType: i.unitType, num: i.currentNum}))
 			uni.showLoading({mask:true})
-			createWorkFn({...this.form,product:JSON.stringify(product)}).then(res=>{
+			createWorkFn({...this.form,product:JSON.stringify(product),complete:1}).then(res=>{
 				uni.hideLoading()
 				if(res.code == 1){
 					that.$msg(res.msg)