|
@@ -1,5 +1,10 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <ele-modal :visible.sync="visible" title="物品信息" width="80vw" :maxable="true">
|
|
|
|
|
|
|
+ <ele-modal
|
|
|
|
|
+ :visible.sync="visible"
|
|
|
|
|
+ title="物品信息"
|
|
|
|
|
+ width="80vw"
|
|
|
|
|
+ :maxable="true"
|
|
|
|
|
+ >
|
|
|
<el-form :model="searchForm" label-width="100px">
|
|
<el-form :model="searchForm" label-width="100px">
|
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
@@ -119,6 +124,17 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
+ <el-col :span="6">
|
|
|
|
|
+ <el-form-item label="关键字">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ clearable
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ v-model="searchForm.keyWord"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+
|
|
|
<el-col>
|
|
<el-col>
|
|
|
<div style="float: right">
|
|
<div style="float: right">
|
|
|
<el-button type="primary" @click="doSearch">搜索</el-button>
|
|
<el-button type="primary" @click="doSearch">搜索</el-button>
|
|
@@ -545,11 +561,9 @@
|
|
|
const isSelection = this.selectionList.find(
|
|
const isSelection = this.selectionList.find(
|
|
|
(product) => product.categoryId === item.categoryId
|
|
(product) => product.categoryId === item.categoryId
|
|
|
);
|
|
);
|
|
|
- if(isSelection){
|
|
|
|
|
|
|
+ if (isSelection) {
|
|
|
this.$set(item, 'outboundNum', isSelection.outboundNum);
|
|
this.$set(item, 'outboundNum', isSelection.outboundNum);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
for (let i = 0; i < list.length; i++) {
|
|
for (let i = 0; i < list.length; i++) {
|
|
@@ -564,12 +578,11 @@
|
|
|
const isSelection = this.selectionList.find(
|
|
const isSelection = this.selectionList.find(
|
|
|
(product) => product.id === item.id
|
|
(product) => product.id === item.id
|
|
|
);
|
|
);
|
|
|
- if(isSelection){
|
|
|
|
|
|
|
+ if (isSelection) {
|
|
|
this.$set(item, 'outboundNum', isSelection.outboundNum);
|
|
this.$set(item, 'outboundNum', isSelection.outboundNum);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
},
|
|
},
|
|
|
open(val) {
|
|
open(val) {
|
|
|
this.productLists = val || [];
|
|
this.productLists = val || [];
|