Commit 2588ae45 authored by 李驰骋's avatar 李驰骋

投料校验请求添加taskId参数

parent 1da593d9
...@@ -1115,9 +1115,10 @@ export default { ...@@ -1115,9 +1115,10 @@ export default {
}, },
feedingInspectionScan(){ feedingInspectionScan(){
const t = this; const t = this;
const taskInfo = this.tableSelectData[0];
uni.scanCode({ uni.scanCode({
success: function (res) { success: function (res) {
t.$u.api.validateFeedingInspection({"plnr":res.result}).then(res2=>{ t.$u.api.validateFeedingInspection({"plnr":res.result,"taskId":taskInfo.taskId}).then(res2=>{
if (res2.code === 200) { if (res2.code === 200) {
t.feedingInspectionLoadAndScan(); t.feedingInspectionLoadAndScan();
} }
......
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