From 14891f8ddb5f04e086e133ceaac0cee5e21f7593 Mon Sep 17 00:00:00 2001
From: kkk-ops <1050738955@qq.com>
Date: Tue, 6 Jan 2026 15:13:28 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=B7=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/mes/plan/index.ts | 4 ++++
src/locales/zh-CN.ts | 4 ++--
.../mes/feedingrecord/FeedingRecordForm.vue | 23 +++++++++++++++++--
.../components/FeedingRecordDetailForm.vue | 8 +++----
src/views/mes/itemrequisition/index.vue | 18 +++++++++++----
src/views/mes/plan/index.vue | 19 +++++++++++----
6 files changed, 59 insertions(+), 17 deletions(-)
diff --git a/src/api/mes/plan/index.ts b/src/api/mes/plan/index.ts
index 5478fd5f..9225484f 100644
--- a/src/api/mes/plan/index.ts
+++ b/src/api/mes/plan/index.ts
@@ -84,4 +84,8 @@ export const PlanApi = {
updatePlanZjStatus: async (data: PlanVO) => {
return await request.put({ url: `/mes/plan/updatePlanZjStatus`, data })
},
+ // 根据状态查询生产计划详情
+ getPlanByStatus: async (status: number) => {
+ return await request.get({ url: `/mes/plan/getByStatus?status=` + status })
+ },
}
diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts
index 271cdf04..3bc473da 100644
--- a/src/locales/zh-CN.ts
+++ b/src/locales/zh-CN.ts
@@ -114,8 +114,8 @@ export default {
small: '小'
},
login: {
- welcome: '欢迎使用本系统',
- message: '开箱即用的中后台管理系统',
+ welcome: '欢迎使用必硕生产运营管理系统',
+ message: '必硕智能“纸”为绿色生活',
tenantname: '租户名称',
username: '用户名',
password: '密码',
diff --git a/src/views/mes/feedingrecord/FeedingRecordForm.vue b/src/views/mes/feedingrecord/FeedingRecordForm.vue
index bdab575f..64af09e4 100644
--- a/src/views/mes/feedingrecord/FeedingRecordForm.vue
+++ b/src/views/mes/feedingrecord/FeedingRecordForm.vue
@@ -10,7 +10,7 @@
-
+
+
+
+
+
+
@@ -91,6 +107,8 @@ import FeedingRecordDetailForm from './components/FeedingRecordDetailForm.vue'
import {ProductApi, ProductVO} from "@/api/erp/product/product";
import { OrganizationApi, OrganizationVO } from '@/api/mes/organization'
import { defaultProps, handleTree } from '@/utils/tree'
+import {PlanApi, PlanVO} from "@/api/mes/plan";
+const planList = ref([]) // 列表
/** 投料记录 表单 */
defineOptions({ name: 'FeedingRecordForm' })
@@ -148,6 +166,7 @@ const open = async (type: string, id?: number) => {
productList.value = await ProductApi.getMesProductSimpleList()
// 加载组织
await getOrganizationTree()
+ planList.value = await PlanApi.getPlanByStatus(1)
}
defineExpose({ open }) // 提供 open 方法,用于打开弹窗
diff --git a/src/views/mes/feedingrecord/components/FeedingRecordDetailForm.vue b/src/views/mes/feedingrecord/components/FeedingRecordDetailForm.vue
index 0a9db05a..f431e608 100644
--- a/src/views/mes/feedingrecord/components/FeedingRecordDetailForm.vue
+++ b/src/views/mes/feedingrecord/components/FeedingRecordDetailForm.vue
@@ -55,18 +55,18 @@
-
+
-
+