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