|
|
|
@ -225,25 +225,8 @@
|
|
|
|
|
</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-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" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</template>
|
|
|
|
|
<template
|
|
|
|
|
v-if="['VOLTA', 'WHL', 'CSL', 'MSC', 'VOL', 'MSCFD', 'REL', 'FCS', 'YML'].includes(details.carrierid)">
|
|
|
|
|
v-if="['VOLTA', 'WHL', 'CSL', 'MSC', 'VOL', 'MSCFD', 'REL', 'FCS', 'YML','ESL','ESL-NEW'].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"
|
|
|
|
@ -1167,10 +1150,6 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
inputChange({ type, value }) {
|
|
|
|
|
this.details[type] = value
|
|
|
|
|
// debugger
|
|
|
|
|
// if (type === 'voyno' && this.details.carrierid === 'ESL') {
|
|
|
|
|
// this.details.voynoinner = this.details[type]
|
|
|
|
|
// }
|
|
|
|
|
if (type === 'voynoinner' && this.details.voyno == '') {
|
|
|
|
|
this.details.voyno = this.details[type]
|
|
|
|
|
}
|
|
|
|
@ -1182,8 +1161,8 @@ export default {
|
|
|
|
|
this.details.voynoinner = ''
|
|
|
|
|
this.details.vessel = ''
|
|
|
|
|
}
|
|
|
|
|
if (type === 'epCode' && this.details.carrierid === 'ESL') {
|
|
|
|
|
this.details.tmblno = this.details[type]
|
|
|
|
|
if (this.details.carrierid === 'ESL' || this.details.carrierid === 'ESL-NEW') {
|
|
|
|
|
this.details.epCode = this.details[type]
|
|
|
|
|
}
|
|
|
|
|
this.$forceUpdate()
|
|
|
|
|
},
|
|
|
|
|