接口对接
This commit is contained in:
parent
cbf468d0cb
commit
175d90cb0d
|
|
@ -84,8 +84,8 @@
|
|||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="所属档口" prop="stallId">
|
||||
<el-select v-model="queryParams.stallId" placeholder="请选择所属档口" style="width: 100%;" >
|
||||
<el-form-item label="所属档口" prop="shopstallId">
|
||||
<el-select v-model="queryParams.shopstallId" placeholder="请选择所属档口" style="width: 100%;" >
|
||||
<el-option v-for="item in stallOptions"
|
||||
:key="item.stallId"
|
||||
:label="item.stallName"
|
||||
|
|
@ -311,8 +311,8 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="所属档口" prop="stallId">
|
||||
<el-select v-model="baseForm.stallId" placeholder="请选择所属档口" style="width: 100%;" clearable>
|
||||
<el-form-item label="所属档口" prop="shopstallId">
|
||||
<el-select v-model="baseForm.shopstallId" placeholder="请选择所属档口" style="width: 100%;" clearable>
|
||||
<el-option v-for="item in stallOptions2"
|
||||
:key="item.stallId"
|
||||
:label="item.stallName"
|
||||
|
|
@ -455,7 +455,7 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="质量偏差" prop="weightDeviation" v-if="baseForm.salesMode==1">
|
||||
<el-input v-model="baseForm.weightDeviation" placeholder="份量" maxlength="9" clearable @input="(v)=>(baseForm.weight=v.replace(/[^\d]/g,''))">
|
||||
<el-input v-model="baseForm.weightDeviation" placeholder="份量" maxlength="9" clearable @input="(v)=>(baseForm.weightDeviation=v.replace(/[^\d]/g,''))">
|
||||
<template slot="append">%</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
|
@ -473,8 +473,8 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="餐次" prop="mealtimeTypes">
|
||||
<el-select v-model="baseForm.mealtimeTypes" multiple style="width: 100%;" clearable>
|
||||
<el-form-item label="餐次" prop="mealList">
|
||||
<el-select v-model="baseForm.mealList" multiple style="width: 100%;" clearable>
|
||||
<el-option label="早餐" value="1"></el-option>
|
||||
<el-option label="午餐" value="2"></el-option>
|
||||
<el-option label="下午茶" value="3"></el-option>
|
||||
|
|
@ -987,7 +987,7 @@
|
|||
import Treeselect from "@riophae/vue-treeselect";
|
||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||
import { systemAreaTreeApi,getCanteenByAreaApi,getStallByCanteenApi } from "@/api/base/stall";
|
||||
import { menuDishesTypeAllListApi,addMenuDishesTypeApi, editMenuDishesTypeApi, removeMenuDishesTypeApi} from "@/api/dish/dish";
|
||||
import { menuDishesTypeAllListApi,addMenuDishesTypeApi, editMenuDishesTypeApi, removeMenuDishesTypeApi} from "@/api/dish/dish";//菜品类别
|
||||
import { getMenuDishesListApi,addMenuDishesApi, editMenuDishesApi,menuDishesDetailApi,removeMenuDishesApi } from "@/api/dish/dish";
|
||||
import { getDishesTypeListApi } from "@/api/dish/dish";
|
||||
import { getMenuDishesCookListApi, getMenuDishesLabelListApi, getMenuDishesTasteListApi, getMenuDishesEffectListApi, getMenuDishesStyleListApi, getMenuDishesSuitListApi } from "@/api/dish/type"
|
||||
|
|
@ -1028,7 +1028,7 @@
|
|||
pageSize: 10,
|
||||
areaId: null,
|
||||
canteenId: null,
|
||||
stallId: null,
|
||||
shopstallId: null,
|
||||
dishesName: "",
|
||||
typeIdList: []
|
||||
},
|
||||
|
|
@ -1072,7 +1072,7 @@
|
|||
publicDishes: 2,
|
||||
areaId:null,
|
||||
canteenId:null,
|
||||
stallId:null,
|
||||
shopstallId:null,
|
||||
dishesNum:null,
|
||||
dishesName:null,
|
||||
salesMode:1,
|
||||
|
|
@ -1089,7 +1089,7 @@
|
|||
cookId:null,
|
||||
labelIdList:[],
|
||||
season:[],
|
||||
mealtimeTypes:[],
|
||||
mealList:[],
|
||||
tasteIdList:[],
|
||||
styleId:null,
|
||||
typeId:null,
|
||||
|
|
@ -1256,7 +1256,7 @@
|
|||
this.canteenOptions=response.rows||[]
|
||||
this.queryParams.canteenId=null
|
||||
this.stallOptions = []
|
||||
this.queryParams.stallId=null
|
||||
this.queryParams.shopstallId=null
|
||||
});
|
||||
},
|
||||
handleAreaChange2(e){
|
||||
|
|
@ -1267,7 +1267,7 @@
|
|||
this.canteenOptions2=response.rows||[]
|
||||
this.baseForm.canteenId=null
|
||||
this.stallOptions2 = []
|
||||
this.baseForm.stallId=null
|
||||
this.baseForm.shopstallId=null
|
||||
});
|
||||
},
|
||||
handleCanteenChange(e){
|
||||
|
|
@ -1276,7 +1276,7 @@
|
|||
}
|
||||
getStallByCanteenApi(param).then((response) => {
|
||||
this.stallOptions=response.rows||[]
|
||||
this.queryParams.stallId=null
|
||||
this.queryParams.shopstallId=null
|
||||
});
|
||||
},
|
||||
handleCanteenChange2(e){
|
||||
|
|
@ -1285,7 +1285,7 @@
|
|||
}
|
||||
getStallByCanteenApi(param).then((response) => {
|
||||
this.stallOptions2=response.rows||[]
|
||||
this.baseForm.stallId=null
|
||||
this.baseForm.shopstallId=null
|
||||
});
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
|
@ -1310,7 +1310,7 @@
|
|||
"pageNum": this.queryParams.pageNum,
|
||||
"areaId": this.queryParams.areaId,
|
||||
"canteenId": this.queryParams.canteenId,
|
||||
"shopstallId": this.queryParams.stallId,
|
||||
"shopstallId": this.queryParams.shopstallId,
|
||||
"dishesName": this.queryParams.dishesName,
|
||||
// "typeIdList": this.$refs.typeTree.getCheckedKeys(),
|
||||
}
|
||||
|
|
@ -1353,7 +1353,7 @@
|
|||
publicDishes: 2,
|
||||
areaId:null,
|
||||
canteenId:null,
|
||||
stallId:null,
|
||||
shopstallId:null,
|
||||
dishesNum:null,
|
||||
dishesName:null,
|
||||
salesMode:1,
|
||||
|
|
@ -1370,7 +1370,7 @@
|
|||
cookId:null,
|
||||
labelIdList:[],
|
||||
season:[],
|
||||
mealtimeTypes:[],
|
||||
mealList:[],
|
||||
tasteIdList:[],
|
||||
styleId:null,
|
||||
typeId:null,
|
||||
|
|
|
|||
Loading…
Reference in New Issue