页面问题修改

This commit is contained in:
zzyuan 2025-08-21 09:30:59 +08:00
parent cc6ef0ce4c
commit 6757122d6e
3 changed files with 13 additions and 6 deletions

View File

@ -143,7 +143,7 @@
<el-input v-model="typeForm.parentName" placeholder="请输入父节点名称" maxlength="30" disabled/>
</el-form-item>
<el-form-item label="类别名称" prop="nutritionTypeName">
<el-input v-model="typeForm.nutritionTypeName" placeholder="请输入类别名称" maxlength="30"/>
<el-input v-model="typeForm.nutritionTypeName" placeholder="请输入类别名称" maxlength="15"/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
@ -840,7 +840,7 @@ export default {
},
//
form: {
categoryId: undefined, //
nutritionTypeId: undefined, //
nutritionName: undefined, //
nutritionCode: undefined, //
processingTime: undefined, //
@ -874,7 +874,7 @@ export default {
formTable:[],
//
rules: {
categoryId: [
nutritionTypeId: [
{ required: true, message: "请选择营养信息类别", trigger: "change" }
],
nutritionName: [
@ -1058,7 +1058,7 @@ export default {
//
reset() {
this.form = {
categoryId: undefined, //
nutritionTypeId: undefined, //
nutritionName: undefined, //
nutritionCode: undefined, //
processingTime: undefined, //

View File

@ -316,6 +316,12 @@ export default {
},
handleUpdate(row) {
this.form = Object.assign({}, row);
let param= {
areaId:row.areaId
}
getCanteenByAreaApi(param).then((response) => {
this.canteenOptions=response.rows||[]
});
this.open = true;
this.title = "修改";
},

View File

@ -599,7 +599,8 @@ export default {
"pageSize": this.queryParams2.pageSize,
"pageNum": this.queryParams2.pageNum,
"areaId": this.baseInfo.areaId,
"warehouseId": this.baseInfo.warehouseId
"warehouseId": this.baseInfo.warehouseId,
"fetchStatus":2 //1,2
}
fetchMaterialPageApi(param).then(response => {
this.tableListData2 = response.rows;