From 8d6b574a04d1cba911465aabb042c093ab2f646c Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 10 七月 2026 16:56:42 +0800
Subject: [PATCH] mes基础参数/参数模版接口调用

---
 src/views/mes/process-design/template/modules/parameter-select-dialog.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/views/mes/process-design/template/modules/parameter-select-dialog.vue b/src/views/mes/process-design/template/modules/parameter-select-dialog.vue
index b4f87c6..3fb2869 100644
--- a/src/views/mes/process-design/template/modules/parameter-select-dialog.vue
+++ b/src/views/mes/process-design/template/modules/parameter-select-dialog.vue
@@ -57,7 +57,7 @@
   formOptions: {
     schema: [
       {
-        fieldName: 'code',
+        fieldName: 'paramCode',
         label: '鍙傛暟缂栫爜',
         component: 'Input',
         componentProps: {
@@ -66,7 +66,7 @@
         },
       },
       {
-        fieldName: 'name',
+        fieldName: 'paramName',
         label: '鍙傛暟鍚嶇О',
         component: 'Input',
         componentProps: {
@@ -79,10 +79,10 @@
   gridOptions: {
     columns: [
       { type: 'checkbox', width: 50 },
-      { field: 'code', title: '鍙傛暟缂栫爜', minWidth: 150 },
-      { field: 'name', title: '鍙傛暟鍚嶇О', minWidth: 180 },
+      { field: 'paramCode', title: '鍙傛暟缂栫爜', minWidth: 150 },
+      { field: 'paramName', title: '鍙傛暟鍚嶇О', minWidth: 180 },
       {
-        field: 'type',
+        field: 'paramType',
         title: '鍙傛暟绫诲瀷',
         width: 120,
         cellRender: {
@@ -90,9 +90,9 @@
           props: { type: DICT_TYPE.MES_PD_PARAM_TYPE },
         },
       },
-      { field: 'unit', title: '鍗曚綅', width: 80 },
+      { field: 'unitMeasureName', title: '鍗曚綅', width: 80 },
       {
-        field: 'requiredFlag',
+        field: 'required',
         title: '鏄惁蹇呭~',
         width: 90,
         cellRender: {

--
Gitblit v1.9.3