From 358c8ecd0642c16980cb8c6d340d4b9c49b7ca33 Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期二, 10 十二月 2024 15:46:32 +0800
Subject: [PATCH] 煤质管理前端代码

---
 src/views/xmcpms/coal-quality/detection/quick/QuickForm.vue |   33 ++++++++++++++-------------------
 1 files changed, 14 insertions(+), 19 deletions(-)

diff --git a/src/views/xmcpms/coal-quality/detection/quick/QuickForm.vue b/src/views/xmcpms/coal-quality/detection/quick/QuickForm.vue
index 1f01500..626503e 100644
--- a/src/views/xmcpms/coal-quality/detection/quick/QuickForm.vue
+++ b/src/views/xmcpms/coal-quality/detection/quick/QuickForm.vue
@@ -58,7 +58,6 @@
           :model="formData"
           :rules="dataRule"
           ref="formDataDet"
-          @keyup.enter.native="formDataSubmitHandle()"
           label-width="120px"
         >
           <el-table
@@ -74,7 +73,7 @@
               align="center"
               min-width="150"
             >
-              <template slot-scope="scope">
+              <template #default="scope">
                 <dict-select-tag
                 style="width: 100%"
                 size="mini"
@@ -92,7 +91,7 @@
               align="center"
               min-width="100"
             >
-              <template slot-scope="scope">
+              <template #default="scope">
                 <el-input-number
                   v-model="scope.row.yl"
                   size="mini"
@@ -112,7 +111,7 @@
               align="center"
               min-width="100"
             >
-              <template slot-scope="scope">
+              <template #default="scope">
                 <el-input-number
                   v-model="scope.row.md"
                   size="mini"
@@ -132,7 +131,7 @@
               align="center"
               min-width="100"
             >
-              <template slot-scope="scope">
+              <template #default="scope">
                 <el-input-number
                   v-model="scope.row.hf"
                   size="mini"
@@ -152,7 +151,7 @@
               align="center"
               min-width="100"
             >
-              <template slot-scope="scope">
+              <template #default="scope">
                 <el-input-number
                   v-model="scope.row.lf"
                   size="mini"
@@ -173,7 +172,7 @@
                 align="center"
                 min-width="100"
               >
-                <template slot-scope="scope">
+                <template #default="scope">
                   <el-input-number
                     v-model="scope.row.cl1"
                     size="mini"
@@ -193,7 +192,7 @@
                 align="center"
                 min-width="100"
               >
-                <template slot-scope="scope">
+                <template #default="scope">
                   <el-input-number
                     v-model="scope.row.hf1"
                     size="mini"
@@ -215,7 +214,7 @@
                 align="center"
                 min-width="100"
               >
-                <template slot-scope="scope">
+                <template #default="scope">
                   <el-input-number
                     v-model="scope.row.cl2"
                     size="mini"
@@ -235,7 +234,7 @@
                 align="center"
                 min-width="100"
               >
-                <template slot-scope="scope">
+                <template #default="scope">
                   <el-input-number
                     v-model="scope.row.hf2"
                     size="mini"
@@ -257,7 +256,7 @@
                 align="center"
                 min-width="100"
               >
-                <template slot-scope="scope">
+                <template #default="scope">
                   <el-input-number
                     v-model="scope.row.cl3"
                     size="mini"
@@ -277,7 +276,7 @@
                 align="center"
                 min-width="100"
               >
-                <template slot-scope="scope">
+                <template #default="scope">
                   <el-input-number
                     v-model="scope.row.hf3"
                     size="mini"
@@ -297,20 +296,16 @@
               min-width="100"
               align="center"
             >
-              <template slot-scope="scope">
+              <template #default="scope">
                 <el-button
-                  @click.native.prevent="
-                    addExpressionRow(scope.$index, formData.itemList)
-                  "
+                  @click="addExpressionRow(scope.$index, formData.itemList)"
                   type="text"
                   size="small"
                 >
                   添加
                 </el-button>
                 <el-button
-                  @click.native.prevent="
-                    deleteExpressionRow(scope.$index, formData.itemList)
-                  "
+                  @click="deleteExpressionRow(scope.$index, formData.itemList)"
                   type="text"
                   size="small"
                 >

--
Gitblit v1.9.3