From d71436544198b7b051115662fc9cf4b12ce0cda3 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 19 七月 2022 18:32:40 +0800
Subject: [PATCH] 1.修改bug

---
 src/views/sbgl/sbqd.vue |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/views/sbgl/sbqd.vue b/src/views/sbgl/sbqd.vue
index 5ed3550..f4f4875 100644
--- a/src/views/sbgl/sbqd.vue
+++ b/src/views/sbgl/sbqd.vue
@@ -331,7 +331,7 @@
           </el-select>
         </el-form-item>
         <el-form-item label="绋煎姩鐜�" prop="ratio">
-          <el-input v-model="dialogForm.ratio" style="width: 195px" />
+          <el-input v-model="dialogForm.ratio" style="width: 175px" />
           <span style="margin-left: 10px">%</span>
         </el-form-item>
 
@@ -609,10 +609,10 @@
         devicename: '',
         devicetypecode: '',
         devicegroupcode: '',
-        importdate: '',
+        importdate: handleDatetime(new Date()),
         workshopcode: '',
         linecode: '',
-        status: '',
+        status: 'Y',
         ratio: ''
       },
       DeviceGroupDialogArr: [], // 璁惧缁勬暟缁�
@@ -781,10 +781,10 @@
       this.dialogForm.devicename = ''
       this.dialogForm.devicetypecode = ''
       this.dialogForm.devicegroupcode = ''
-      this.dialogForm.importdate = ''
+      this.dialogForm.importdate = handleDatetime(new Date())
       this.dialogForm.workshopcode = ''
       // this.dialogForm.linecode = ''
-      this.dialogForm.status = ''
+      this.dialogForm.status = 'Y'
       this.dialogForm.ratio = ''
       this.$refs.dialogForm.clearValidate()
     },
@@ -912,9 +912,9 @@
       if (row.name.trim().length < 1) {
         return this.$message.info('绫诲瀷鍚嶇О涓嶈兘涓虹┖锛�')
       }
-      if (row.remark.trim().length < 1) {
-        return this.$message.info('绫诲瀷鎻忚堪涓嶈兘涓虹┖锛�')
-      }
+      // if (row.remark.trim().length < 1) {
+      //   return this.$message.info('绫诲瀷鎻忚堪涓嶈兘涓虹┖锛�')
+      // }
       const data = {
         'code': row.code,
         'name': row.name,
@@ -1026,9 +1026,9 @@
       if (row.eqptype_code.trim().length < 1) {
         return this.$message.info('鎵�灞炶澶囩被鍨嬩笉鑳戒负绌猴紒')
       }
-      if (row.remark.trim().length < 1) {
-        return this.$message.info('鍒嗙粍鎻忚堪涓嶈兘涓虹┖锛�')
-      }
+      // if (row.remark.trim().length < 1) {
+      //   return this.$message.info('鍒嗙粍鎻忚堪涓嶈兘涓虹┖锛�')
+      // }
       const data = {
         'code': row.code,
         'name': row.name,

--
Gitblit v1.9.3