Commit be254514 by LJM

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

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