|
|
|
|
@ -62,7 +62,7 @@ |
|
|
|
|
> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.goodNo" |
|
|
|
|
placeholder="请输入商品编码" |
|
|
|
|
placeholder="请输入物料编码" |
|
|
|
|
clearable |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -71,7 +71,7 @@ |
|
|
|
|
> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.goodName" |
|
|
|
|
placeholder="请输入商品名称" |
|
|
|
|
placeholder="请输入物料名称" |
|
|
|
|
clearable |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -151,13 +151,13 @@ export default { |
|
|
|
|
// 表头数据 |
|
|
|
|
{ label: "复选框", type: "selection", prop: "selection", istrue: true }, |
|
|
|
|
{ |
|
|
|
|
label: '商品编号', |
|
|
|
|
label: '物料编号', |
|
|
|
|
prop: 'goodNo', |
|
|
|
|
width: 160, |
|
|
|
|
istrue: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '商品名称', |
|
|
|
|
label: '物料名称', |
|
|
|
|
prop: 'goodName', |
|
|
|
|
width: 150, |
|
|
|
|
istrue: true |
|
|
|
|
@ -215,7 +215,7 @@ export default { |
|
|
|
|
this.queryTable() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
//商品分类点击某个(树) |
|
|
|
|
//物料分类点击某个(树) |
|
|
|
|
handleNodeClick(data) { |
|
|
|
|
this.searchForm.classify=data.value |
|
|
|
|
this.paging.page=1 |
|
|
|
|
@ -227,7 +227,7 @@ export default { |
|
|
|
|
this.WarehousingList=res.rows |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 商品列表 |
|
|
|
|
// 物料列表 |
|
|
|
|
async queryTable() { |
|
|
|
|
this.loading = true |
|
|
|
|
const request = { |
|
|
|
|
@ -285,7 +285,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
this.dialogVisible = true |
|
|
|
|
}, |
|
|
|
|
// 选择商品 |
|
|
|
|
// 选择物料 |
|
|
|
|
choose(){ |
|
|
|
|
this.chooselist=[] |
|
|
|
|
this.handleSelect.forEach((item)=>{ |
|
|
|
|
@ -306,7 +306,7 @@ export default { |
|
|
|
|
this.searchForm={} |
|
|
|
|
this.dialogVisible = false |
|
|
|
|
}, |
|
|
|
|
// 商品列表条件查询 |
|
|
|
|
// 物料列表条件查询 |
|
|
|
|
searchList(){ |
|
|
|
|
this.paging.page=1 |
|
|
|
|
this.queryTable() |
|
|
|
|
|