病人报餐修改弹出层正餐类型回显

This commit is contained in:
ryoeiken 2020-12-07 08:18:48 +08:00
parent 5d15dc37ec
commit b99ab862ef

View File

@ -197,6 +197,7 @@ export default {
components: {},
data() {
return {
foodList:[],
flagOptions: [{
value: 1,
label: '启用'
@ -375,7 +376,7 @@ export default {
getFoodDemand(id).then(response => {
this.form = response.data;
this.form.foods = this.form.foods.split(",").map(Number);
this.form.type = this.selectDictLabel(this.typeOptions, row.type);
this.open = true;
this.title = "修改病人报餐";
});