货品供应商
This commit is contained in:
parent
4d5d6bfceb
commit
aab65ce7c1
|
|
@ -11,9 +11,9 @@
|
||||||
style="width: 240px"
|
style="width: 240px"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="货品类别" prop="categoryIdList">
|
<el-form-item label="货品类别" prop="materialTypeIds">
|
||||||
<el-cascader
|
<el-cascader
|
||||||
v-model="queryParams.categoryIdList"
|
v-model="queryParams.materialTypeIds"
|
||||||
:options="treeTypeOptions"
|
:options="treeTypeOptions"
|
||||||
:props="{
|
:props="{
|
||||||
multiple:true,
|
multiple:true,
|
||||||
|
|
@ -102,11 +102,11 @@
|
||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/>
|
/>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="货品类别" name="category">
|
<!-- <el-tab-pane label="货品类别" name="category">
|
||||||
<el-form :model="queryParams2" ref="queryForm2" size="small" :inline="true" v-show="showSearch" label-width="90px">
|
<el-form :model="queryParams2" ref="queryForm2" size="small" :inline="true" v-show="showSearch" label-width="90px">
|
||||||
<el-form-item label="货品类别" prop="categoryIdList">
|
<el-form-item label="货品类别" prop="materialTypeIds">
|
||||||
<el-cascader
|
<el-cascader
|
||||||
v-model="queryParams2.categoryIdList"
|
v-model="queryParams2.materialTypeIds"
|
||||||
:options="treeTypeOptions"
|
:options="treeTypeOptions"
|
||||||
:props="{
|
:props="{
|
||||||
multiple:true,
|
multiple:true,
|
||||||
|
|
@ -124,15 +124,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<!-- <el-col :span="1.5">
|
|
||||||
<el-button
|
|
||||||
type="primary"
|
|
||||||
plain
|
|
||||||
icon="el-icon-plus"
|
|
||||||
size="mini"
|
|
||||||
@click="handleAdd"
|
|
||||||
>新增</el-button>
|
|
||||||
</el-col> -->
|
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList2"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList2"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-table v-loading="loading" :data="tableListData2" height="800">
|
<el-table v-loading="loading" :data="tableListData2" height="800">
|
||||||
|
|
@ -169,7 +160,7 @@
|
||||||
:limit.sync="queryParams2.pageSize"
|
:limit.sync="queryParams2.pageSize"
|
||||||
@pagination="getList2"
|
@pagination="getList2"
|
||||||
/>
|
/>
|
||||||
</el-tab-pane>
|
</el-tab-pane> -->
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -278,7 +269,7 @@ export default {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
supplierName: undefined,
|
supplierName: undefined,
|
||||||
categoryIdList:[]
|
materialTypeIds:[]
|
||||||
},
|
},
|
||||||
//-----货品类别------
|
//-----货品类别------
|
||||||
// 总条数
|
// 总条数
|
||||||
|
|
@ -290,7 +281,7 @@ export default {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
canteenId: undefined,
|
canteenId: undefined,
|
||||||
categoryIdList:[]
|
materialTypeIds:[]
|
||||||
},
|
},
|
||||||
// 是否显示弹出层
|
// 是否显示弹出层
|
||||||
open: false,
|
open: false,
|
||||||
|
|
@ -345,7 +336,7 @@ export default {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
supplierName: undefined,
|
supplierName: undefined,
|
||||||
categoryIdList:[]
|
materialTypeIds:[]
|
||||||
}
|
}
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.handleQuery()
|
this.handleQuery()
|
||||||
|
|
@ -354,7 +345,7 @@ export default {
|
||||||
this.queryParams2={
|
this.queryParams2={
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
categoryIdList:[]
|
materialTypeIds:[]
|
||||||
}
|
}
|
||||||
this.resetForm("queryForm2");
|
this.resetForm("queryForm2");
|
||||||
this.handleQuery2()
|
this.handleQuery2()
|
||||||
|
|
@ -379,7 +370,7 @@ export default {
|
||||||
"pageNum": this.queryParams.pageNum,
|
"pageNum": this.queryParams.pageNum,
|
||||||
"pageSize": this.queryParams.pageSize,
|
"pageSize": this.queryParams.pageSize,
|
||||||
"supplierName": this.queryParams.supplierName,
|
"supplierName": this.queryParams.supplierName,
|
||||||
"categoryIdList": this.queryParams.categoryIdList,
|
"materialTypeIds": this.queryParams.materialTypeIds,
|
||||||
}
|
}
|
||||||
supplierBindMaterialListApi(param).then(response => {
|
supplierBindMaterialListApi(param).then(response => {
|
||||||
this.tableListData = response.rows;
|
this.tableListData = response.rows;
|
||||||
|
|
@ -499,7 +490,7 @@ export default {
|
||||||
let param = {
|
let param = {
|
||||||
"pageNum": this.queryParams2.pageNum,
|
"pageNum": this.queryParams2.pageNum,
|
||||||
"pageSize": this.queryParams2.pageSize,
|
"pageSize": this.queryParams2.pageSize,
|
||||||
"categoryIdList": this.queryParams2.categoryIdList,
|
"materialTypeIds": this.queryParams2.materialTypeIds,
|
||||||
}
|
}
|
||||||
// supplierBindMaterialListApi(param).then(response => {
|
// supplierBindMaterialListApi(param).then(response => {
|
||||||
// this.tableListData2 = response.rows;
|
// this.tableListData2 = response.rows;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue