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

投料校验请求添加taskId参数

parent 1da593d9
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
<u-input disabled="true" :border="true" v-model="ExceptionForms.abnormalTime"></u-input> <u-input disabled="true" :border="true" v-model="ExceptionForms.abnormalTime"></u-input>
<!-- <uni-datetime-picker class="times" type="date" :clear-icon="false" v-model="ExceptionForms.abnormalTime" /> --> <!-- <uni-datetime-picker class="times" type="date" :clear-icon="false" v-model="ExceptionForms.abnormalTime" /> -->
</u-form-item> </u-form-item>
<u-row> <u-row>
<u-col span="6"> <u-col span="6">
<u-form-item label="异常类型" prop="abnormalType"> <u-form-item label="异常类型" prop="abnormalType">
...@@ -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