提交测试问题修改

This commit is contained in:
lizhenhua 2025-08-06 18:18:17 +08:00
parent 79c559abb3
commit cc20ccc560
1 changed files with 80 additions and 75 deletions

View File

@ -67,7 +67,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="原料单位" prop="unitId">
<el-select v-model="form.unitId" filterable placeholder="请选择原料单位" style="width: 100%">
<el-select v-model="form.unitId" placeholder="请选择原料单位" style="width: 100%">
<el-option v-for="item in this.unitOptions"
:key="item.unitId"
:label="item.unitName"
@ -242,7 +242,7 @@ export default {
materialName: '',//
areaId: null,//
materialTypeId: null,//
salesMode: '2',//
salesMode: '1',//
unitId: '',//
unitPrice: '',//()
barCode: '',//
@ -417,6 +417,11 @@ export default {
//
chosenNutrition(){
console.log("选中营养信息",this.form.nutritionId)
if (!this.form.nutritionId) {
//
this.resetNutritionTable();
return;
}
getNutritionInfo({nutritionId: this.form.nutritionId}).then((response) => {
if(response.data){
this.form.menuMaterialNutritionDTO = response.data
@ -560,7 +565,7 @@ export default {
materialName: '',//
areaId: null,//
materialTypeId: null,//
salesMode: '2',//
salesMode: '1',//
unitId: '',//
unitPrice: '',//()
barCode: '',//