From 2df883fcbed176f83d8d144fd007e7f72fcb54d6 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期四, 01 二月 2024 17:21:24 +0800
Subject: [PATCH] 修改

---
 web/src/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate.vue |   44 ++++++++++++++++++++++++++++++++++++--------
 1 files changed, 36 insertions(+), 8 deletions(-)

diff --git a/web/src/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate.vue b/web/src/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate.vue
index 47181d0..f580989 100644
--- a/web/src/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate.vue
+++ b/web/src/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate.vue
@@ -43,7 +43,8 @@
                   </el-table-column>
                   <el-table-column prop="infoName" min-width="180" label="鎶�鏈祫鏂欏悕绉�">
                     <template v-slot="{ row }">
-                      <el-input :disabled="stepMarker!=='wplz_first'" v-model="row.name" placeholder="鎶�鏈祫鏂欏悕绉�"></el-input>
+                      <el-input :disabled="stepMarker!=='wplz_first'" v-model="row.name"
+                                placeholder="鎶�鏈祫鏂欏悕绉�"></el-input>
                     </template>
                   </el-table-column>
                   <el-table-column prop="identify" align="center" width="150" label="鏍囪瘑">
@@ -53,13 +54,15 @@
                   </el-table-column>
                   <el-table-column prop="version" align="center" width="120" label="鐗堟湰">
                     <template v-slot="{ row }">
-                      <el-input :disabled="stepMarker!=='wplz_first'" v-model="row.identify" placeholder="鐗堟湰"></el-input>
+                      <el-input :disabled="stepMarker!=='wplz_first'" v-model="row.identify"
+                                placeholder="鐗堟湰"></el-input>
                     </template>
                   </el-table-column>
                   <el-table-column prop="secretClass" label="瀵嗙骇" width="100" align="center">
                     <template v-slot="{ row }">
                       <!--                    <el-input v-model="row.secretClass" placeholder="瀵嗙骇"></el-input>-->
-                      <zt-dict :disabled="stepMarker!=='wplz_first'" v-model="row.secretClass" dict="secret_class"></zt-dict>
+                      <zt-dict :disabled="stepMarker!=='wplz_first'" v-model="row.secretClass"
+                               dict="secret_class"></zt-dict>
                     </template>
                   </el-table-column>
                   <el-table-column prop="medium" label="浠嬭川" width="100" align="center">
@@ -74,10 +77,10 @@
                   </el-table-column>
                   <el-table-column prop="remark" label="澶囨敞" width="100" align="center">
                     <template v-slot="{ row }">
-                      <el-input  :disabled="stepMarker!=='wplz_first'" v-model="row.remark" placeholder="澶囨敞"></el-input>
+                      <el-input :disabled="stepMarker!=='wplz_first'" v-model="row.remark" placeholder="澶囨敞"></el-input>
                     </template>
                   </el-table-column>
-                  <el-table-column  fixed="right" prop="files" label="涓婁紶闄勪欢" width="300" align="center">
+                  <el-table-column fixed="right" prop="files" label="涓婁紶闄勪欢" width="300" align="center">
                     <template v-slot="{ row }">
                       <table-uploader busi-type="circulat_order" model-name="row" :dataForm="row"
                                       v-model="row.files"/>
@@ -414,13 +417,37 @@
         this.dataForm.technicalList.forEach(item => {
           if (parseInt(item.secretClass) > localStorage.getItem('userSecretClass')) {
             this.$alert("褰撳墠椤圭洰璁剧疆鐨勫瘑绾ч珮浜庡綋鍓嶇敤鎴风殑瀵嗙骇锛岃閲嶆柊璁剧疆")
-            flag =false
+            flag = false
           }
         })
-        if (!flag){
+        if (!flag) {
           return
         }
         if (submitType === 'tj' || submitType === 'bl') {
+          if (this.stepMarker === 'wplz_wpjs') {
+            if (this.dataForm.circulatOrder.acceptSituation == null || this.dataForm.circulatOrder.virusLibraryVersion == null) {
+              this.$alert("褰撳墠鏈夋湭濉啓鐨勬儏鍐佃鏄�")
+              return
+            }
+          }
+          if (this.stepMarker === 'wplz_jcjs') {
+            if (this.dataForm.circulatOrder.detectAcceptSituation == null) {
+              this.$alert("褰撳墠鏈夋湭濉啓鐨勬儏鍐佃鏄�")
+              return
+            }
+          }
+          if (this.stepMarker === 'wplz_xzjc') {
+            if (this.dataForm.circulatOrder.detectSituation == null) {
+              this.$alert("褰撳墠鏈夋湭濉啓鐨勬儏鍐佃鏄�")
+              return
+            }
+          }
+          if (this.stepMarker === 'wplz_wprk') {
+            if (this.dataForm.circulatOrder.depositSituation == null) {
+              this.$alert("褰撳墠鏈夋湭濉啓鐨勬儏鍐佃鏄�")
+              return
+            }
+          }
           this.dataForm.technicalList.forEach(item => {
             item.files.groups.forEach(groups => {
               groups.fields.forEach(files => {
@@ -432,9 +459,10 @@
               })
             })
           })
-          if (!isFiles){
+          if (!isFiles) {
             return
           }
+
           let flowInfo = {
             flowCode: 'wplz',
             stepIdMark: this.stepMarker,

--
Gitblit v1.9.1