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