|
|
|
@ -8,19 +8,17 @@
|
|
|
|
|
ref="basicFrom"
|
|
|
|
|
:selfUpdate="true"
|
|
|
|
|
:model="details"
|
|
|
|
|
:rules="rules"
|
|
|
|
|
>
|
|
|
|
|
<a-row class="from-box" >
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
:rules="rules">
|
|
|
|
|
<a-row class="from-box">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
prop="customername"
|
|
|
|
|
label="委托单位"
|
|
|
|
|
:labelCol="labelCol4"
|
|
|
|
|
:wrapperCol="wrapperCol4"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<div class="customer-box" >
|
|
|
|
|
has-feedback>
|
|
|
|
|
<div class="customer-box">
|
|
|
|
|
<selectView
|
|
|
|
|
type="customername"
|
|
|
|
|
:defaultVal="details.customername"
|
|
|
|
@ -31,27 +29,24 @@
|
|
|
|
|
:disabled="BookingLockOrder['CUSTOMERNAME'] && isLockBooking"
|
|
|
|
|
:isCopy="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
style="flex: 1; margin-top: -4px"
|
|
|
|
|
></selectView>
|
|
|
|
|
style="flex: 1; margin-top: -4px"></selectView>
|
|
|
|
|
<span
|
|
|
|
|
class="customer-btn iconfont icon-touxiang"
|
|
|
|
|
@click.stop="changeCustomer('select')"
|
|
|
|
|
:style="{ paddingRight: '0px' }"
|
|
|
|
|
></span>
|
|
|
|
|
:style="{ paddingRight: '0px' }"></span>
|
|
|
|
|
<span class="customer-btn iconfont icon-jiahao2fill" @click.stop="changeCustomer('add')"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
prop="thirdPay"
|
|
|
|
|
label="第三方"
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<div class="customer-box" >
|
|
|
|
|
has-feedback>
|
|
|
|
|
<div class="customer-box">
|
|
|
|
|
<selectView
|
|
|
|
|
type="thirdPay"
|
|
|
|
|
:defaultVal="details.thirdPay"
|
|
|
|
@ -62,32 +57,33 @@
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
:isCopy="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
style="flex: 1; margin-top: -4px"
|
|
|
|
|
></selectView>
|
|
|
|
|
style="flex: 1; margin-top: -4px"></selectView>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="PO NO"
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="pono"
|
|
|
|
|
>
|
|
|
|
|
<inputView :ishd="BookingLockOrder['pono'] && isLockBooking" type="pono" :parentVal="details.pono" @getInputChange="inputChange" />
|
|
|
|
|
prop="pono">
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="BookingLockOrder['pono'] && isLockBooking"
|
|
|
|
|
type="pono"
|
|
|
|
|
:parentVal="details.pono"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="船公司"
|
|
|
|
|
prop="carrierid"
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
has-feedback>
|
|
|
|
|
<selectView
|
|
|
|
|
ref="carrierid"
|
|
|
|
|
type="carrierid"
|
|
|
|
@ -98,91 +94,104 @@
|
|
|
|
|
:disabled="BookingLockOrder['carrier'] && isLockBooking"
|
|
|
|
|
:openSearch="false"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
style="flex: 1; margin-top: -4px"
|
|
|
|
|
></selectView>
|
|
|
|
|
style="flex: 1; margin-top: -4px"></selectView>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="是否占舱"
|
|
|
|
|
:labelCol="{ xs: { span: 24 },
|
|
|
|
|
sm: { span: 9 },
|
|
|
|
|
md: { span: 9 }}"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 },
|
|
|
|
|
sm: { span: 12 },
|
|
|
|
|
md: { span: 12 }}"
|
|
|
|
|
:labelCol="{
|
|
|
|
|
xs: { span: 24 },
|
|
|
|
|
sm: { span: 9 },
|
|
|
|
|
md: { span: 9 }
|
|
|
|
|
}"
|
|
|
|
|
:wrapperCol="{
|
|
|
|
|
xs: { span: 24 },
|
|
|
|
|
sm: { span: 12 },
|
|
|
|
|
md: { span: 12 }
|
|
|
|
|
}"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="zhanCangFlag"
|
|
|
|
|
>
|
|
|
|
|
prop="zhanCangFlag">
|
|
|
|
|
<div class="date-box">
|
|
|
|
|
<a-radio-group :disabled="BookingLockOrder['zhanCangFlag'] && isLockBooking" size="small" v-model="details.zhanCangFlag">
|
|
|
|
|
<a-radio-group
|
|
|
|
|
:disabled="BookingLockOrder['zhanCangFlag'] && isLockBooking"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="details.zhanCangFlag">
|
|
|
|
|
<a-radio size="small" value="是"> 是 </a-radio>
|
|
|
|
|
<a-radio size="small" value="否"> 否 </a-radio>
|
|
|
|
|
</a-radio-group>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="订舱编号"
|
|
|
|
|
:labelCol="labelCol4"
|
|
|
|
|
:wrapperCol="wrapperCol4"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="custno"
|
|
|
|
|
>
|
|
|
|
|
<inputView :ishd="BookingLockOrder['custno'] && isLockBooking" type="custno" :parentVal="details.custno" @getInputChange="inputChange" />
|
|
|
|
|
prop="custno">
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="BookingLockOrder['custno'] && isLockBooking"
|
|
|
|
|
type="custno"
|
|
|
|
|
:parentVal="details.custno"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="提单号"
|
|
|
|
|
prop="mblno"
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<inputView type="mblno" :parentVal="details.mblno" :ishd="BookingLockOrder['mblno'] && isLockBooking" @getInputChange="inputChange" />
|
|
|
|
|
has-feedback>
|
|
|
|
|
<inputView
|
|
|
|
|
type="mblno"
|
|
|
|
|
:parentVal="details.mblno"
|
|
|
|
|
:ishd="BookingLockOrder['mblno'] && isLockBooking"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="分提单号"
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="hblno"
|
|
|
|
|
>
|
|
|
|
|
<inputView :ishd="BookingLockOrder['hblno'] && isLockBooking" type="hblno" :parentVal="details.hblno" @getInputChange="inputChange" />
|
|
|
|
|
prop="hblno">
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="BookingLockOrder['hblno'] && isLockBooking"
|
|
|
|
|
type="hblno"
|
|
|
|
|
:parentVal="details.hblno"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="订舱代理"
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="forwarder"
|
|
|
|
|
>
|
|
|
|
|
prop="forwarder">
|
|
|
|
|
<selectView
|
|
|
|
|
type="forwarder"
|
|
|
|
|
:defaultVal="details.forwarder"
|
|
|
|
|
:agentFilter="agentFilter"
|
|
|
|
|
searchApi="DjyCustomerSuggest"
|
|
|
|
|
:disabled="BookingLockOrder['forwarder'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ keyword: '', type: 'booking_agent' }"
|
|
|
|
|
:showLabel="['shortName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
style="flex: 1; margin-top: -4px"
|
|
|
|
|
></selectView>
|
|
|
|
|
style="flex: 1; margin-top: -4px"></selectView>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<template v-if="details.carrierid != 'ESL'">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="运费协议号"
|
|
|
|
@ -197,10 +206,9 @@
|
|
|
|
|
md: { span: 14 }
|
|
|
|
|
}"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="contractno"
|
|
|
|
|
>
|
|
|
|
|
prop="contractno">
|
|
|
|
|
<div class="copy-box">
|
|
|
|
|
<template >
|
|
|
|
|
<template>
|
|
|
|
|
<autoView
|
|
|
|
|
class="copy-input"
|
|
|
|
|
type="contractno"
|
|
|
|
@ -208,17 +216,16 @@
|
|
|
|
|
:defaultVal="details.contractno"
|
|
|
|
|
:dropdownStyle="{ width: '300px' }"
|
|
|
|
|
searchApi="getContractno"
|
|
|
|
|
:searchQuery="{ queryItem: '', top: 50, laneCName: this.details.lineName,carrier: this.details.carrierid,pod: this.details.destinationid }"
|
|
|
|
|
:searchQuery="{ queryItem: '', top: 50, laneCName: this.details.lineName, carrier: this.details.carrierid, pod: this.details.destinationid }"
|
|
|
|
|
:showLabel="['contractNo']"
|
|
|
|
|
@select="getAutoViewRes"
|
|
|
|
|
></autoView>
|
|
|
|
|
@select="getAutoViewRes"></autoView>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="details.carrierid === 'ESL'">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="运费协议号"
|
|
|
|
@ -233,10 +240,9 @@
|
|
|
|
|
md: { span: 12 }
|
|
|
|
|
}"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="contractno"
|
|
|
|
|
>
|
|
|
|
|
prop="contractno">
|
|
|
|
|
<div class="copy-box">
|
|
|
|
|
<template >
|
|
|
|
|
<template>
|
|
|
|
|
<autoView
|
|
|
|
|
class="copy-input"
|
|
|
|
|
type="contractno"
|
|
|
|
@ -244,55 +250,59 @@
|
|
|
|
|
:disabled="BookingLockOrder['contractno'] && isLockBooking"
|
|
|
|
|
:dropdownStyle="{ width: '300px' }"
|
|
|
|
|
searchApi="getContractno"
|
|
|
|
|
:searchQuery="{ queryItem: '', top: 50, laneCName: this.details.lineName,carrier: this.details.carrierid,pod: this.details.destinationid }"
|
|
|
|
|
:searchQuery="{ queryItem: '', top: 50, laneCName: this.details.lineName, carrier: this.details.carrierid, pod: this.details.destinationid }"
|
|
|
|
|
:showLabel="['contractNo']"
|
|
|
|
|
@select="getAutoViewRes"
|
|
|
|
|
></autoView>
|
|
|
|
|
@select="getAutoViewRes"></autoView>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="details.carrierid === 'ESL'">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="EP号"
|
|
|
|
|
:labelCol="labelCol4"
|
|
|
|
|
:wrapperCol="wrapperCol4"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="epCode"
|
|
|
|
|
>
|
|
|
|
|
<inputView :ishd="BookingLockOrder['epCode'] && isLockBooking" type="epCode" :parentVal="details.epCode" @getInputChange="inputChange" />
|
|
|
|
|
prop="epCode">
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="BookingLockOrder['epCode'] && isLockBooking"
|
|
|
|
|
type="epCode"
|
|
|
|
|
:parentVal="details.epCode"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="['VOLTA', 'WHL', 'CSL', 'MSC','VOL'].includes(details.carrierid)">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="{span: '4-8'}">
|
|
|
|
|
<template v-if="['VOLTA', 'WHL', 'CSL', 'MSC', 'VOL'].includes(details.carrierid)">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="{ span: '4-8' }">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="真提单号"
|
|
|
|
|
:labelCol="labelCol4"
|
|
|
|
|
:wrapperCol="wrapperCol4"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="tmblno"
|
|
|
|
|
>
|
|
|
|
|
<inputView :ishd="BookingLockOrder['tmblno'] && isLockBooking" type="tmblno" :parentVal="details.tmblno" @getInputChange="inputChange" />
|
|
|
|
|
prop="tmblno">
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="BookingLockOrder['tmblno'] && isLockBooking"
|
|
|
|
|
type="tmblno"
|
|
|
|
|
:parentVal="details.tmblno"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</template>
|
|
|
|
|
</a-row>
|
|
|
|
|
<div class="from-box2">
|
|
|
|
|
<a-row >
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="5">
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="5">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="开船日期"
|
|
|
|
|
:labelCol="labelCol4"
|
|
|
|
|
:wrapperCol="wrapperCol4"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="etd"
|
|
|
|
|
>
|
|
|
|
|
prop="etd">
|
|
|
|
|
<div class="date-box">
|
|
|
|
|
<datePickerView
|
|
|
|
|
class="date-picker"
|
|
|
|
@ -301,29 +311,27 @@
|
|
|
|
|
type="etd"
|
|
|
|
|
format="YYYY-MM-DD"
|
|
|
|
|
@dateChange="dateChangeFun"
|
|
|
|
|
style="margin-top: -5px"
|
|
|
|
|
></datePickerView>
|
|
|
|
|
style="margin-top: -5px"></datePickerView>
|
|
|
|
|
<span class="week" v-if="etdWeek && etdWeek !== 'NaN'">W{{ etdWeek || '--' }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="6">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="6">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="船名"
|
|
|
|
|
:labelCol=" {
|
|
|
|
|
:labelCol="{
|
|
|
|
|
xs: { span: 24 },
|
|
|
|
|
sm: { span: 4 },
|
|
|
|
|
md: { span: 4 }
|
|
|
|
|
}"
|
|
|
|
|
:wrapperCol=" {
|
|
|
|
|
:wrapperCol="{
|
|
|
|
|
xs: { span: 24 },
|
|
|
|
|
sm: { span: 20 },
|
|
|
|
|
md: { span: 20 }
|
|
|
|
|
}"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="vessel"
|
|
|
|
|
>
|
|
|
|
|
prop="vessel">
|
|
|
|
|
<div class="copy-box">
|
|
|
|
|
<selectView
|
|
|
|
|
class="copy-input"
|
|
|
|
@ -339,80 +347,91 @@
|
|
|
|
|
}"
|
|
|
|
|
:showLabel="['vessel']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
|
@change="getSelectViewRes"></selectView>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<template v-if="details.carrierid === 'ESL'">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="8" :lg="{span: '4-8'}" :xl="4">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="8" :lg="{ span: '4-8' }" :xl="4">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="内部航次"
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="voynoinner"
|
|
|
|
|
>
|
|
|
|
|
prop="voynoinner">
|
|
|
|
|
<!-- 内部航次暂无接口, 暂时改为输入框 -->
|
|
|
|
|
<inputView :ishd="true" type="voynoinner" :parentVal="details.voynoinner" @getInputChange="inputChange" />
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="true"
|
|
|
|
|
type="voynoinner"
|
|
|
|
|
:parentVal="details.voynoinner"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-else>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="8" :lg="{span: '4-8'}" :xl="4">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="8" :lg="{ span: '4-8' }" :xl="4">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="内部航次"
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="voynoinner"
|
|
|
|
|
>
|
|
|
|
|
prop="voynoinner">
|
|
|
|
|
<!-- 内部航次暂无接口, 暂时改为输入框 -->
|
|
|
|
|
<inputView :ishd="true" type="voynoinner" :parentVal="details.voynoinner" @getInputChange="inputChange" />
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="true"
|
|
|
|
|
type="voynoinner"
|
|
|
|
|
:parentVal="details.voynoinner"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="details.carrierid === 'ESL'">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="4">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="4">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="航次"
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="voyno"
|
|
|
|
|
>
|
|
|
|
|
prop="voyno">
|
|
|
|
|
<inputView :ishd="true" type="voyno" :parentVal="details.voyno" @getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-else>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="4">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="4">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="海关航次"
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="voyno"
|
|
|
|
|
>
|
|
|
|
|
<inputView :ishd="true" ref="voyno" type="voyno" :parentVal="details.voyno" @getInputChange="inputChange" />
|
|
|
|
|
prop="voyno">
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="true"
|
|
|
|
|
ref="voyno"
|
|
|
|
|
type="voyno"
|
|
|
|
|
:parentVal="details.voyno"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</template>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{span: '4-8'}" :xl="4">
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="{ span: '4-8' }" :xl="4">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="船司航线"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="lanename"
|
|
|
|
|
>
|
|
|
|
|
prop="lanename">
|
|
|
|
|
<!-- 航线暂无接口, 暂时改为输入框-->
|
|
|
|
|
<inputView :ishd="BookingLockOrder['lanename'] && isLockBooking" type="lanename" :parentVal="details.lanename" @getInputChange="inputChange" />
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="BookingLockOrder['lanename'] && isLockBooking"
|
|
|
|
|
type="lanename"
|
|
|
|
|
:parentVal="details.lanename"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -424,8 +443,7 @@
|
|
|
|
|
:labelCol="userLabelCol"
|
|
|
|
|
:wrapperCol="userWrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="sale"
|
|
|
|
|
>
|
|
|
|
|
prop="sale">
|
|
|
|
|
<selectView
|
|
|
|
|
type="sale"
|
|
|
|
|
:disabled="true"
|
|
|
|
@ -434,8 +452,8 @@
|
|
|
|
|
:searchQuery="{ name: '' }"
|
|
|
|
|
:showLabel="['name']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
|
@change="getSelectViewRes">
|
|
|
|
|
</selectView>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="4">
|
|
|
|
@ -445,8 +463,7 @@
|
|
|
|
|
:labelCol="userLabelCol1"
|
|
|
|
|
:wrapperCol="userWrapperCol1"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="custservice"
|
|
|
|
|
>
|
|
|
|
|
prop="custservice">
|
|
|
|
|
<selectView
|
|
|
|
|
type="custservice"
|
|
|
|
|
:defaultVal="details.custservice"
|
|
|
|
@ -455,8 +472,8 @@
|
|
|
|
|
:searchQuery="{ name: '' }"
|
|
|
|
|
:showLabel="['name']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
|
@change="getSelectViewRes">
|
|
|
|
|
</selectView>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="4">
|
|
|
|
@ -466,8 +483,7 @@
|
|
|
|
|
:labelCol="userLabelCol1"
|
|
|
|
|
:wrapperCol="userWrapperCol1"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="op"
|
|
|
|
|
>
|
|
|
|
|
prop="op">
|
|
|
|
|
<selectView
|
|
|
|
|
type="op"
|
|
|
|
|
:defaultVal="details.op"
|
|
|
|
@ -476,8 +492,7 @@
|
|
|
|
|
:searchQuery="{ name: '' }"
|
|
|
|
|
:showLabel="['name']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
|
@change="getSelectViewRes"></selectView>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="4">
|
|
|
|
@ -487,8 +502,7 @@
|
|
|
|
|
:labelCol="userLabelCol1"
|
|
|
|
|
:wrapperCol="userWrapperCol1"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="doc"
|
|
|
|
|
>
|
|
|
|
|
prop="doc">
|
|
|
|
|
<selectView
|
|
|
|
|
type="doc"
|
|
|
|
|
:defaultVal="details.doc"
|
|
|
|
@ -497,8 +511,7 @@
|
|
|
|
|
:searchQuery="{ name: '' }"
|
|
|
|
|
:showLabel="['name']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
|
@change="getSelectViewRes"></selectView>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="4">
|
|
|
|
@ -508,8 +521,7 @@
|
|
|
|
|
:labelCol="userLabelCol"
|
|
|
|
|
:wrapperCol="userWrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="route"
|
|
|
|
|
>
|
|
|
|
|
prop="route">
|
|
|
|
|
<selectView
|
|
|
|
|
type="route"
|
|
|
|
|
:defaultVal="details.route"
|
|
|
|
@ -519,8 +531,7 @@
|
|
|
|
|
:showLabel="['name']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
:isCopy="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
|
@change="getSelectViewRes"></selectView>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="4">
|
|
|
|
@ -530,8 +541,7 @@
|
|
|
|
|
:labelCol="userLabelCol"
|
|
|
|
|
:wrapperCol="userWrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="lineManage"
|
|
|
|
|
>
|
|
|
|
|
prop="lineManage">
|
|
|
|
|
<selectView
|
|
|
|
|
type="lineManage"
|
|
|
|
|
:defaultVal="details.lineManage"
|
|
|
|
@ -540,8 +550,8 @@
|
|
|
|
|
:searchQuery="{ name: '' }"
|
|
|
|
|
:showLabel="['name']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
|
@change="getSelectViewRes">
|
|
|
|
|
</selectView>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -553,9 +563,12 @@
|
|
|
|
|
:labelCol="labelCol3"
|
|
|
|
|
:wrapperCol="wrapperCol3"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="czRemark"
|
|
|
|
|
>
|
|
|
|
|
<inputView :ishd="BookingLockOrder['czRemark'] && isLockBooking" type="czRemark" :parentVal="details.czRemark" @getInputChange="inputChange" />
|
|
|
|
|
prop="czRemark">
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="BookingLockOrder['czRemark'] && isLockBooking"
|
|
|
|
|
type="czRemark"
|
|
|
|
|
:parentVal="details.czRemark"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="24" :sm="9" :md="9" :lg="9" :xl="8">
|
|
|
|
@ -565,9 +578,12 @@
|
|
|
|
|
:labelCol="labelCol3"
|
|
|
|
|
:wrapperCol="wrapperCol3"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="dzRemark"
|
|
|
|
|
>
|
|
|
|
|
<inputView :ishd="BookingLockOrder['dzRemark'] && isLockBooking" type="dzRemark" :parentVal="details.dzRemark" @getInputChange="inputChange" />
|
|
|
|
|
prop="dzRemark">
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="BookingLockOrder['dzRemark'] && isLockBooking"
|
|
|
|
|
type="dzRemark"
|
|
|
|
|
:parentVal="details.dzRemark"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="24" :sm="6" :md="6" :lg="6" :xl="8">
|
|
|
|
@ -577,9 +593,12 @@
|
|
|
|
|
:labelCol="labelCol3"
|
|
|
|
|
:wrapperCol="wrapperCol3"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="shenQingXiangShi"
|
|
|
|
|
>
|
|
|
|
|
<inputView :ishd="BookingLockOrder['shenQingXiangShi'] && isLockBooking" type="shenQingXiangShi" :parentVal="details.shenQingXiangShi" @getInputChange="inputChange" />
|
|
|
|
|
prop="shenQingXiangShi">
|
|
|
|
|
<inputView
|
|
|
|
|
:ishd="BookingLockOrder['shenQingXiangShi'] && isLockBooking"
|
|
|
|
|
type="shenQingXiangShi"
|
|
|
|
|
:parentVal="details.shenQingXiangShi"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -594,8 +613,7 @@
|
|
|
|
|
:confirmLoading="customerModelconfirm"
|
|
|
|
|
:maskClosable="false"
|
|
|
|
|
@ok="handleModelSubmit"
|
|
|
|
|
@cancel="handleModelCancel"
|
|
|
|
|
>
|
|
|
|
|
@cancel="handleModelCancel">
|
|
|
|
|
<template slot="footer">
|
|
|
|
|
<a-button key="back" @click="handleModelCancel"> 关闭 </a-button>
|
|
|
|
|
</template>
|
|
|
|
@ -618,8 +636,7 @@
|
|
|
|
|
rowKeyFieldName="rowKey"
|
|
|
|
|
:rowStyleOption="rowStyleOption"
|
|
|
|
|
:checkbox-option="checkboxOption"
|
|
|
|
|
:clipboard-option="clipboardOption"
|
|
|
|
|
/>
|
|
|
|
|
:clipboard-option="clipboardOption" />
|
|
|
|
|
<div class="table-no-data" v-if="tableData.length == 0">暂无数据</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
@ -637,7 +654,9 @@ import {
|
|
|
|
|
DjyCustomerdetail,
|
|
|
|
|
BookingOrderContactSavebatch,
|
|
|
|
|
BookingOrderContactPage,
|
|
|
|
|
DjyCustomerContacts
|
|
|
|
|
DjyCustomerContacts,
|
|
|
|
|
listYardBwCarrier,
|
|
|
|
|
ListAgentByCarrier
|
|
|
|
|
} from '@/api/modular/main/BookingLedger'
|
|
|
|
|
import { mapGetters } from 'vuex'
|
|
|
|
|
let timer
|
|
|
|
@ -681,6 +700,12 @@ export default {
|
|
|
|
|
isLockBooking: {
|
|
|
|
|
type: Boolean,
|
|
|
|
|
default: false
|
|
|
|
|
},
|
|
|
|
|
agentFilter: {
|
|
|
|
|
type: Array,
|
|
|
|
|
default: () => {
|
|
|
|
|
return []
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
@ -760,7 +785,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
cellAutofillOption: true,
|
|
|
|
|
editOption: {
|
|
|
|
|
cellValueChange: ({ row, column }) => {}
|
|
|
|
|
cellValueChange: ({ row, column }) => { }
|
|
|
|
|
},
|
|
|
|
|
checkboxOption: {
|
|
|
|
|
hideSelectAll: false,
|
|
|
|
@ -1217,6 +1242,12 @@ export default {
|
|
|
|
|
} else if (type === 'carrierid') {
|
|
|
|
|
this.details.carrier = res.enName || ''
|
|
|
|
|
this.details.carrierid = res.code || ''
|
|
|
|
|
ListAgentByCarrier({ carrierCode: this.details.carrierid }).then(res => {
|
|
|
|
|
this.$store.commit('SET_AgentFilter', res.data)
|
|
|
|
|
})
|
|
|
|
|
listYardBwCarrier({ carrierCode: this.details.carrierid }).then(res => {
|
|
|
|
|
this.$store.commit('SET_YardFilter', res.data)
|
|
|
|
|
})
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.$refs.vesselView.handleSearch('')
|
|
|
|
|
}, 600)
|
|
|
|
@ -1229,21 +1260,23 @@ export default {
|
|
|
|
|
this.details.vessel = res.vessel || ''
|
|
|
|
|
this.details.atd = res.atd || ''
|
|
|
|
|
this.details.etd = res.etd || ''
|
|
|
|
|
this.details.closingdate = res.closingDate || ''
|
|
|
|
|
this.details.closedocdate = res.closeDocTime || ''
|
|
|
|
|
if (Object.keys(res).length == 0) {
|
|
|
|
|
this.details.voyno = ''
|
|
|
|
|
this.details.voynoinner = ''
|
|
|
|
|
}
|
|
|
|
|
if (res.voyno) {
|
|
|
|
|
if (res.voyno.includes('1MA')) {
|
|
|
|
|
this.details.voyno = res.voyno.replace('1MA', '') || ''
|
|
|
|
|
} else {
|
|
|
|
|
if (res.voyno.includes('1NC')) {
|
|
|
|
|
this.details.voyno = res.voyno.replace('1NC', '') || ''
|
|
|
|
|
this.details.voyno = res.voyno.replace('1MA', '') || ''
|
|
|
|
|
} else {
|
|
|
|
|
this.details.voyno = res.voyno || ''
|
|
|
|
|
if (res.voyno.includes('1NC')) {
|
|
|
|
|
this.details.voyno = res.voyno.replace('1NC', '') || ''
|
|
|
|
|
} else {
|
|
|
|
|
this.details.voyno = res.voyno || ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.details.voynoinner = res.voynoInside || ''
|
|
|
|
|
} else if (type === 'shipagency') {
|
|
|
|
|
this.details.shipagency = res.name || ''
|
|
|
|
@ -1289,6 +1322,7 @@ export default {
|
|
|
|
|
/deep/ .ant-form-explain {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/deep/ .ant-form-item-children-icon .anticon-check-circle {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
@ -1296,10 +1330,12 @@ export default {
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
@import url('../index.less');
|
|
|
|
|
@import url('../style/basicInfo.less');
|
|
|
|
|
.ant-col-xl-4-8{
|
|
|
|
|
|
|
|
|
|
.ant-col-xl-4-8 {
|
|
|
|
|
width: 20%;
|
|
|
|
|
}
|
|
|
|
|
/deep/ .ant-card-body{
|
|
|
|
|
padding-left: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/deep/ .ant-card-body {
|
|
|
|
|
padding-left: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|