|
|
|
@ -172,11 +172,26 @@
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item label="默认码头" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入默认码头"
|
|
|
|
|
v-decorator="['wharf', { rules: [{ required: true, message: '请输入默认码头!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
<a-form-item label="默认场站" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
|
<!-- <a-input
|
|
|
|
|
placeholder="请输入默认场站"
|
|
|
|
|
v-decorator="['wharf', { rules: [{ required: true, message: '请输入默认场站!' }] }]"
|
|
|
|
|
/> -->
|
|
|
|
|
<a-select
|
|
|
|
|
placeholder="请选择默认场站"
|
|
|
|
|
v-decorator="['wharf', { rules: [{ required: true, message: '请选择默认场站!' }] }]"
|
|
|
|
|
show-search
|
|
|
|
|
@focus="wharfSearch"
|
|
|
|
|
@search="wharfSearch"
|
|
|
|
|
:default-active-first-option="false"
|
|
|
|
|
:show-arrow="false"
|
|
|
|
|
:filter-option="false"
|
|
|
|
|
:not-found-content="null"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option v-for="item in wharfData" :key="item.code" :value="item.name">
|
|
|
|
|
{{ item.name }}
|
|
|
|
|
</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
@ -203,7 +218,8 @@ import {
|
|
|
|
|
GetPortloadlist,
|
|
|
|
|
GetPortlist,
|
|
|
|
|
GetCarrierlist,
|
|
|
|
|
GetVessellist
|
|
|
|
|
GetVessellist,
|
|
|
|
|
GetYardlist
|
|
|
|
|
} from '@/api/modular/main/vesselinfo'
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
@ -233,7 +249,8 @@ export default {
|
|
|
|
|
portTransitData: [],
|
|
|
|
|
portDischargeData: [],
|
|
|
|
|
carrierData: [],
|
|
|
|
|
vesselData: []
|
|
|
|
|
vesselData: [],
|
|
|
|
|
wharfData: []
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {},
|
|
|
|
@ -272,6 +289,11 @@ export default {
|
|
|
|
|
this.vesselData = res.data
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
wharfSearch(data) {
|
|
|
|
|
GetYardlist({ KeyWord: data }).then(res => {
|
|
|
|
|
this.wharfData = res.data
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 提交表单
|
|
|
|
|