Commit 648dba92 authored by 刘威龙's avatar 刘威龙

回单详情确认bug修复

parent b4d1e26f
...@@ -332,18 +332,28 @@ ...@@ -332,18 +332,28 @@
"row": this.formData, "row": this.formData,
}, },
} }
//明细签收 if (this.formData.id==null || this.formData.id=="") {
getAppUpdatePodSign(baseData).then(res => { uni.showToast({
if (res.data.data.messageType === 'success') { title: "未勾选pod信息,不能确认",
uni.showToast({ icon: 'none',
title: '操作成功!', duration: 2000
duration: 1000 })
}) return;
setTimeout(() => { }else{
uni.navigateBack() //明细签收
}, 1500) getAppUpdatePodSign(baseData).then(res => {
} if (res.data.data.messageType === 'success') {
}) uni.showToast({
title: '操作成功!',
duration: 1000
})
setTimeout(() => {
uni.navigateBack()
}, 1500)
}
})
}
}, },
//设置显示枚举 //设置显示枚举
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment