|
|
@@ -62,7 +62,7 @@
|
|
|
></el-input>
|
|
|
<div class="search-btn" @click="getVoyageList(1)">查询</div>
|
|
|
</div>
|
|
|
- <!-- <div class="df aic">
|
|
|
+ <div class="df aic">
|
|
|
<el-button
|
|
|
@click="FYDIModalVisable = true"
|
|
|
class="mr20"
|
|
|
@@ -78,16 +78,13 @@
|
|
|
>
|
|
|
<template v-slot:default>
|
|
|
<div class="df aic jcsa">
|
|
|
- <RemoteSearch
|
|
|
- api="getUserSelect"
|
|
|
+ <RemoteSelect
|
|
|
+ api="getCargoOwnerSelect"
|
|
|
v-model="cargoOwnerCompanyStr"
|
|
|
placeholder="公司名称/联系人/手机号"
|
|
|
- :params="{
|
|
|
- identity: 2,
|
|
|
- }"
|
|
|
@selectItem="selectCargoOwnerUpload($event)"
|
|
|
class="mb10"
|
|
|
- ></RemoteSearch>
|
|
|
+ ></RemoteSelect>
|
|
|
<el-upload
|
|
|
v-if="FYDIParams.cargoOwnerId"
|
|
|
class="upload-demo"
|
|
|
@@ -115,7 +112,7 @@
|
|
|
@click="voyageAddDialogVisible = true"
|
|
|
>添加航次</el-button
|
|
|
>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<el-dialog
|
|
|
v-model="voyageAddDialogVisible"
|
|
|
@@ -766,7 +763,8 @@ let FYDIParams = ref({
|
|
|
});
|
|
|
let cargoOwnerCompanyStr = ref("");
|
|
|
function selectCargoOwnerUpload(item) {
|
|
|
- FYDIParams.value.cargoOwnerId = item.key;
|
|
|
+ cargoOwnerCompanyStr.value = item.key;
|
|
|
+ FYDIParams.value.cargoOwnerId = item.value;
|
|
|
}
|
|
|
|
|
|
function FYDIModalClose() {
|