Browse Source

前端gjy

gjy 4 năm trước cách đây
mục cha
commit
2db3b3c822
1 tập tin đã thay đổi với 10 bổ sung3 xóa
  1. 10 3
      src/views/organizationNew/shoreMemberAdd.vue

+ 10 - 3
src/views/organizationNew/shoreMemberAdd.vue

@@ -146,7 +146,7 @@
           <span class="operaction"
                 @click="setwork">设置</span>
         </div>
-       <!-- <div class="lastspan">
+       <div class="lastspan">
           <span class="star font">关联船舶</span>
           <div class="ontent"
                style="width: 800px;">
@@ -158,7 +158,7 @@
                   class="operaction shipSelectSet"
                   @click="setChargeShip">设置</span>
           </div>
-        </div> -->
+        </div>
         <div style="display:flex">
           <span class=" font">兼职职务</span>
           <span class="operaction"
@@ -1358,7 +1358,14 @@ export default {
                 showClose: true
               });
               return false;
-            }
+            } else if (this.ruleForm.vessels.length === 0) {
+-              this.$message({
+-                type: "warning",
+-                message: "请先设置关联船舶!",
+-                showClose: true
+-              });
+-              return false;
+             }
           this.loading = true;
           this.getSelectLabel();
           if (this.id) {