|
|
@@ -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)
|