From 2b31fa203f3435a582be51f45899d99164c9917a Mon Sep 17 00:00:00 2001
From: zhuguifei <312353457@qq.com>
Date: 星期四, 09 四月 2026 13:34:59 +0800
Subject: [PATCH] Merge branch 'master' of http://lanpucloud.cn:1111/r/SC/gfzl

---
 ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue |   42 +++++++++++++++++++++++++++++++-----------
 1 files changed, 31 insertions(+), 11 deletions(-)

diff --git a/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue b/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue
index c607874..47ed21d 100644
--- a/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue
+++ b/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue
@@ -56,15 +56,15 @@
 
 function createDefaultModel(): Model {
   return {
-      id: '',
-      instrumentCode: '',
-      instrumentName: '',
-      ifStd: '',
-      isc: null,
-      workShop: '',
-      enable: 1,
-      del: 0,
-      instrumentDes: ''
+    id: '',
+    instrumentCode: '',
+    instrumentName: '',
+    ifStd: '',
+    isc: null,
+    workShop: '',
+    enable: 1,
+    del: 0,
+    instrumentDes: ''
   };
 }
 
@@ -93,12 +93,32 @@
 
   // request
   if (props.operateType === 'add') {
-    const { error } = await fetchCreateInstrument({ id, instrumentCode, instrumentName, ifStd, isc, workShop, enable, del, instrumentDes });
+    const { error } = await fetchCreateInstrument({
+      id,
+      instrumentCode,
+      instrumentName,
+      ifStd,
+      isc,
+      workShop,
+      enable,
+      del,
+      instrumentDes
+    });
     if (error) return;
   }
 
   if (props.operateType === 'edit') {
-    const { error } = await fetchUpdateInstrument({ id, instrumentCode, instrumentName, ifStd, isc, workShop, enable, del, instrumentDes });
+    const { error } = await fetchUpdateInstrument({
+      id,
+      instrumentCode,
+      instrumentName,
+      ifStd,
+      isc,
+      workShop,
+      enable,
+      del,
+      instrumentDes
+    });
     if (error) return;
   }
 

--
Gitblit v1.9.3