|
|
@ -172,11 +172,26 @@
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="12">
|
|
|
|
<a-col :span="12">
|
|
|
|
<a-form-item label="默认码头" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
<a-form-item label="默认场站" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
<a-input
|
|
|
|
<!-- <a-input
|
|
|
|
placeholder="请输入默认码头"
|
|
|
|
placeholder="请输入默认场站"
|
|
|
|
v-decorator="['wharf', { rules: [{ required: true, message: '请输入默认码头!' }] }]"
|
|
|
|
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-form-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="12">
|
|
|
|
<a-col :span="12">
|
|
|
@ -203,7 +218,8 @@ import {
|
|
|
|
GetPortloadlist,
|
|
|
|
GetPortloadlist,
|
|
|
|
GetPortlist,
|
|
|
|
GetPortlist,
|
|
|
|
GetCarrierlist,
|
|
|
|
GetCarrierlist,
|
|
|
|
GetVessellist
|
|
|
|
GetVessellist,
|
|
|
|
|
|
|
|
GetYardlist
|
|
|
|
} from '@/api/modular/main/vesselinfo'
|
|
|
|
} from '@/api/modular/main/vesselinfo'
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
@ -233,7 +249,8 @@ export default {
|
|
|
|
portTransitData: [],
|
|
|
|
portTransitData: [],
|
|
|
|
portDischargeData: [],
|
|
|
|
portDischargeData: [],
|
|
|
|
carrierData: [],
|
|
|
|
carrierData: [],
|
|
|
|
vesselData: []
|
|
|
|
vesselData: [],
|
|
|
|
|
|
|
|
wharfData: []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {},
|
|
|
|
mounted() {},
|
|
|
@ -272,6 +289,11 @@ export default {
|
|
|
|
this.vesselData = res.data
|
|
|
|
this.vesselData = res.data
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
wharfSearch(data) {
|
|
|
|
|
|
|
|
GetYardlist({ KeyWord: data }).then(res => {
|
|
|
|
|
|
|
|
this.wharfData = res.data
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 提交表单
|
|
|
|
* 提交表单
|
|
|
|