From e06313b6dba4774aef0924f342f13e8433f8d6f6 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 01 十二月 2023 15:32:37 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/technology/operation/operation-form.vue |   40 ++++++++++++++++++++--------------------
 1 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/src/views/technology/operation/operation-form.vue b/src/views/technology/operation/operation-form.vue
index b510c9a..282dcc6 100644
--- a/src/views/technology/operation/operation-form.vue
+++ b/src/views/technology/operation/operation-form.vue
@@ -120,12 +120,12 @@
                   />
                 </el-select>
               </el-form-item> -->
-              <el-form-item label="鐝粍浜哄憳" prop="crewSize">
+              <!-- <el-form-item label="鐝粍浜哄憳" prop="crewSize">
                 <el-input
                   v-model="dataForm.crewSize"
                   placeholder="鐝粍浜哄憳"
                 ></el-input>
-              </el-form-item>
+              </el-form-item> -->
               <!-- <el-form-item label="澶栭儴宸ュ簭椤圭洰" prop="outsideOpItem">
                 <el-select
                   v-model="dataForm.outsideOpItem"
@@ -188,7 +188,7 @@
 
       <div class="operation-detail">
         <el-tabs type="card" style="width: 100%;height: 100%">
-          <el-tab-pane label="鍩虹" style="height: 100%">
+          <!-- <el-tab-pane label="鍩虹" style="height: 100%">
             <el-card class="operation-capacity" header="宸ュ簭鑳藉姏">
               <el-transfer
                 filterable
@@ -226,7 +226,7 @@
                 </div>
               </el-upload>
             </el-card>
-          </el-tab-pane>
+          </el-tab-pane> -->
           <el-tab-pane label="鍙傛暟" style="height: 100%">
             <el-card class="operation-capacity" header="宸ュ簭鍙傛暟闆嗘ā鏉�">
               <div slot="header">
@@ -448,7 +448,7 @@
         laborRunFactor: 0,
         laborSetupTime: 0,
         runTimeCodeDb: '2',
-        crewSize: 1,
+        crewSize: null,
         outsideOpItem:null
       },
       operationTemplateList: [],
@@ -592,8 +592,8 @@
       // }
     },
     init() {
-      this.operationId = this.dataForm.id
-      this.fetchCapabilityForOperation()
+      // this.operationId = this.dataForm.id
+      // this.fetchCapabilityForOperation()
       if (this.dataForm.id) {
         getObj(this.dataForm.id).then((response) => {
           this.dataForm = response.data.data
@@ -724,7 +724,7 @@
       this.dataForm.laborRunFactor = 0
       this.dataForm.laborSetupTime = 0
       this.dataForm.runTimeCodeDb = '2'
-      this.dataForm.crewSize = 1
+      this.dataForm.crewSize = null
       this.fileList = []
       this.operationTemplateList = []
       this.stepList = []
@@ -751,17 +751,17 @@
       this.$refs.dataForm.validate((valid) => {
         if (valid) {
           // 鏍¢獙銆愭満鍣ㄨ繍杞洜绱犮�戙�併�愭満鍣ㄨ缃椂闂淬�戙�併�愬姵鍔涜繍杞洜绱犮�戙�併�愬姵鍔涜缃椂闂淬�戜腑鑷冲皯鏈変竴涓瓧娈电殑鍊奸』澶т簬0
-          if (
-            this.dataForm.machRunFactor == 0 &&
-            this.dataForm.machSetupTime == 0 &&
-            this.dataForm.laborRunFactor == 0 &&
-            this.dataForm.laborSetupTime == 0
-          ) {
-            this.$message.error(
-              '銆愭満鍣ㄨ繍杞洜绱犮�戙�併�愭満鍣ㄨ缃椂闂淬�戙�併�愬姵鍔涜繍杞洜绱犮�戙�併�愬姵鍔涜缃椂闂淬�戜腑鑷冲皯鏈変竴涓瓧娈电殑鍊奸』澶т簬0'
-            )
-            this.isSubmit = false
-          } else {
+          // if (
+          //   this.dataForm.machRunFactor == 0 &&
+          //   this.dataForm.machSetupTime == 0 &&
+          //   this.dataForm.laborRunFactor == 0 &&
+          //   this.dataForm.laborSetupTime == 0
+          // ) {
+          //   this.$message.error(
+          //     '銆愭満鍣ㄨ繍杞洜绱犮�戙�併�愭満鍣ㄨ缃椂闂淬�戙�併�愬姵鍔涜繍杞洜绱犮�戙�併�愬姵鍔涜缃椂闂淬�戜腑鑷冲皯鏈変竴涓瓧娈电殑鍊奸』澶т簬0'
+          //   )
+          //   this.isSubmit = false
+          // } else {
             // 銆愪汉宸ョ被鍒�戜负绌烘椂銆愮彮缁勪汉鍛樸�戝繀椤讳负绌猴紝鍚﹀垯蹇呴』澶т簬0
             let remindInfo = ''
             let remindFlag = false
@@ -828,7 +828,7 @@
                   })
               }
             }
-          }
+          // }
         } else {
           this.isSubmit = false
         }

--
Gitblit v1.9.3