mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 09:35:29 +08:00
病人报餐修改弹出层正餐类型回显
This commit is contained in:
parent
5d15dc37ec
commit
b99ab862ef
@ -197,6 +197,7 @@ export default {
|
|||||||
components: {},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
foodList:[],
|
||||||
flagOptions: [{
|
flagOptions: [{
|
||||||
value: 1,
|
value: 1,
|
||||||
label: '启用'
|
label: '启用'
|
||||||
@ -375,7 +376,7 @@ export default {
|
|||||||
getFoodDemand(id).then(response => {
|
getFoodDemand(id).then(response => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.form.foods = this.form.foods.split(",").map(Number);
|
this.form.foods = this.form.foods.split(",").map(Number);
|
||||||
|
this.form.type = this.selectDictLabel(this.typeOptions, row.type);
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "修改病人报餐";
|
this.title = "修改病人报餐";
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user