Commit be254514 by LJM

订单追踪/已采购订单:新增发货单报错

parent b00e3e11
Showing with 7 additions and 6 deletions
<template> <template>
<div id="app"> <div id="app">
<keep-alive exclude="InquireDetail,ListDetail,orderTrackGoodsDetail"> <keep-alive exclude="InquireDetail,ListDetail,orderTrackGoodsDetail,orderTrackPurAdd">
<router-view class="router-view"></router-view> <router-view class="router-view"></router-view>
</keep-alive> </keep-alive>
</div> </div>
......
<template> <template>
<section class="goods pagex"> <section class="goods pagex">
<div class="goods-con"> <div class="goods-con">
<el-form :inline="true" :model="formParam" label-width="95px" ref="ruleForm"> <el-form :inline="true" :model="formParam" label-width="95px" ref="ruleForm">
<el-form-item> <el-form-item>
<el-button type="primary" @click="submit('ruleForm')">提交</el-button> <el-button type="primary" @click="submit('ruleForm')">提交</el-button>
<el-button @click="canel">取消</el-button> <el-button @click="canel">取消</el-button>
...@@ -139,11 +139,12 @@ export default { ...@@ -139,11 +139,12 @@ export default {
}); });
return false; return false;
} }
let filterArr = []; let filterArr = [];
for (let i = 0; i < this.multipleSelection.length; i++) { for (let i = 0; i < this.itemlist.length; i++) {
if (this.multipleSelection[i].purchase_item_id == this.itemlist[i].purchase_item_id) { for (let j = 0; j < this.multipleSelection.length; j++) {
filterArr.push(this.itemlist[i]) if (this.multipleSelection[j].purchase_item_id == this.itemlist[i].purchase_item_id) {
filterArr.push(this.itemlist[i])
}
} }
} }
this.formParam.itemlist = filterArr; this.formParam.itemlist = filterArr;
......
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 sign in to comment