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