|
|
@@ -82,7 +82,10 @@
|
|
|
<view class="unit"></view>
|
|
|
</div>
|
|
|
<div class="info-line">
|
|
|
- <div class="info-line-title">MMSI</div>
|
|
|
+ <div class="info-line-title">
|
|
|
+ <span class="red">*</span>
|
|
|
+ MMSI
|
|
|
+ </div>
|
|
|
<el-input
|
|
|
class="info-line-text"
|
|
|
v-model="shipInfos[currentIndex].mmsi"
|
|
|
@@ -439,6 +442,13 @@ async function submit() {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
+ if (!props.shipInfos[currentIndex.value].mmsi) {
|
|
|
+ ElMessage({
|
|
|
+ type: "warning",
|
|
|
+ message: "请填写船舶MMSI",
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (!props.shipInfos[currentIndex.value].contentShipOwnerName) {
|
|
|
ElMessage({
|
|
|
type: "warning",
|