ccjgmwz 4 лет назад
Родитель
Сommit
38cc3fe492
2 измененных файлов с 10 добавлено и 9 удалено
  1. 1 1
      .env.production
  2. 9 8
      src/views/organizationNew/shoreMemberAdd.vue

+ 1 - 1
.env.production

@@ -2,7 +2,7 @@
 ENV = 'production'
 NODE_ENV = 'production'
 # base api
-VUE_APP_BASE_API = 'http://hx-test.winsea.com/pb'
+VUE_APP_BASE_API = 'http://api.eliangeyun.com'
 # 同步工具服务端url
 VUE_APP_TB_SERV_API = 'http://121.42.157.114:86'
 # VUE_APP_BASE_API = 'http://106.15.236.176/eb/'

+ 9 - 8
src/views/organizationNew/shoreMemberAdd.vue

@@ -1358,14 +1358,15 @@ export default {
                 showClose: true
               });
               return false;
-            } else if (this.ruleForm.vessels.length === 0) {
--              this.$message({
--                type: "warning",
--                message: "请先设置关联船舶!",
--                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) {