|
|
|
@ -47,6 +47,7 @@
|
|
|
|
|
:searchQuery="{ TemplateName: '', Type: this.enmuType('shipper') }"
|
|
|
|
|
:showLabel="['title']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
:disabled="BookingLockOrder['shipper'] && isLockBooking"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
style="flex: 1"></selectView>
|
|
|
|
|
<a-button class="save-btn" type="link" size="small" icon="save" @click="saveModel('shipper')">
|
|
|
|
@ -65,6 +66,7 @@
|
|
|
|
|
:parentVal="details.shipper"
|
|
|
|
|
type="shipper"
|
|
|
|
|
:openToCDB="true"
|
|
|
|
|
:disabled="BookingLockOrder['shipper'] && isLockBooking"
|
|
|
|
|
@getTextareaChange="getTextareaChange" />
|
|
|
|
|
<div
|
|
|
|
|
class="line-count"
|
|
|
|
@ -90,6 +92,7 @@
|
|
|
|
|
:searchQuery="{ TemplateName: '', Type: this.enmuType('consignee') }"
|
|
|
|
|
:showLabel="['title']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
:disabled="BookingLockOrder['consignee'] && isLockBooking"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
style="flex: 1"></selectView>
|
|
|
|
|
<a-button
|
|
|
|
@ -111,6 +114,7 @@
|
|
|
|
|
:parentVal="details.consignee"
|
|
|
|
|
type="consignee"
|
|
|
|
|
:openToCDB="true"
|
|
|
|
|
:disabled="BookingLockOrder['consignee'] && isLockBooking"
|
|
|
|
|
@getTextareaChange="getTextareaChange" />
|
|
|
|
|
<div
|
|
|
|
|
class="line-count"
|
|
|
|
@ -143,6 +147,7 @@
|
|
|
|
|
:searchQuery="{ TemplateName: '', Type: this.enmuType('notifyparty') }"
|
|
|
|
|
:showLabel="['title']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
:disabled="BookingLockOrder['notifyparty'] && isLockBooking"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
style="flex: 1"></selectView>
|
|
|
|
|
<a-button
|
|
|
|
@ -164,6 +169,7 @@
|
|
|
|
|
:parentVal="details.notifyparty"
|
|
|
|
|
type="notifyparty"
|
|
|
|
|
:openToCDB="true"
|
|
|
|
|
:disabled="BookingLockOrder['notifyparty'] && isLockBooking"
|
|
|
|
|
@getTextareaChange="getTextareaChange" />
|
|
|
|
|
<div
|
|
|
|
|
class="line-count"
|
|
|
|
@ -195,6 +201,7 @@
|
|
|
|
|
type="placereceiptid"
|
|
|
|
|
:defaultVal="details.placereceiptid"
|
|
|
|
|
searchApi="GetPortloadlist"
|
|
|
|
|
:disabled="BookingLockOrder['placereceiptid'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['ediCode', 'enName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
@ -212,6 +219,7 @@
|
|
|
|
|
<inputView
|
|
|
|
|
type="placereceipt"
|
|
|
|
|
size="small"
|
|
|
|
|
:ishd="BookingLockOrder['placereceipt'] && isLockBooking"
|
|
|
|
|
:parentVal="details.placereceipt"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
@ -235,6 +243,7 @@
|
|
|
|
|
:defaultVal="details.yard"
|
|
|
|
|
searchApi="GetYardlist"
|
|
|
|
|
:searchQuery="{ keyword: '' }"
|
|
|
|
|
:disabled="BookingLockOrder['yard'] && isLockBooking"
|
|
|
|
|
:showLabel="['name', 'showCode']"
|
|
|
|
|
:openSearch="false"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
@ -252,7 +261,7 @@
|
|
|
|
|
:wrapperCol="wrapperColCode"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="feeself">
|
|
|
|
|
<a-radio-group size="small" v-model="details.feeself">
|
|
|
|
|
<a-radio-group :disabled="BookingLockOrder['feeself'] && isLockBooking" size="small" v-model="details.feeself">
|
|
|
|
|
<a-radio size="small" :value="true"> 是 </a-radio>
|
|
|
|
|
<a-radio size="small" :value="false"> 否 </a-radio>
|
|
|
|
|
</a-radio-group>
|
|
|
|
@ -273,6 +282,7 @@
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['ediCode', 'enName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
:disabled="BookingLockOrder['portloadid'] && isLockBooking"
|
|
|
|
|
:isCopy="true"
|
|
|
|
|
@change="getSelectViewRes"></selectView>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
@ -285,7 +295,7 @@
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="portload">
|
|
|
|
|
<inputView type="portload" size="small" :parentVal="details.portload" @getInputChange="inputChange" />
|
|
|
|
|
<inputView :ishd="BookingLockOrder['portloadid'] && isLockBooking" type="portload" size="small" :parentVal="details.portload" @getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
@ -300,6 +310,7 @@
|
|
|
|
|
class="date-picker"
|
|
|
|
|
style="min-width: 100px"
|
|
|
|
|
:showTime="true"
|
|
|
|
|
:disabled="BookingLockOrder['closingdate'] && isLockBooking"
|
|
|
|
|
:parentVal="details.closingdate"
|
|
|
|
|
type="closingdate"
|
|
|
|
|
format="YYYY-MM-DD HH:00"
|
|
|
|
@ -320,6 +331,7 @@
|
|
|
|
|
type="shipagency"
|
|
|
|
|
:defaultVal="details.shipagency"
|
|
|
|
|
searchApi="GetForwarderlist"
|
|
|
|
|
:disabled="BookingLockOrder['shipagency'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['name', 'showCode']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
@ -339,6 +351,7 @@
|
|
|
|
|
type="transportid"
|
|
|
|
|
:defaultVal="details.transportid"
|
|
|
|
|
searchApi="GetPortlist"
|
|
|
|
|
:disabled="BookingLockOrder['transportid'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['ediCode', 'enName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
@ -356,6 +369,7 @@
|
|
|
|
|
<inputView
|
|
|
|
|
type="transport"
|
|
|
|
|
size="small"
|
|
|
|
|
:ishd="BookingLockOrder['transport'] && isLockBooking"
|
|
|
|
|
:parentVal="details.transport"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
@ -372,6 +386,7 @@
|
|
|
|
|
class="date-picker"
|
|
|
|
|
style="min-width: 100px"
|
|
|
|
|
:showTime="true"
|
|
|
|
|
:disabled="BookingLockOrder['closedocdate'] && isLockBooking"
|
|
|
|
|
:parentVal="details.closedocdate"
|
|
|
|
|
type="closedocdate"
|
|
|
|
|
format="YYYY-MM-DD HH:00"
|
|
|
|
@ -390,6 +405,7 @@
|
|
|
|
|
type="customser"
|
|
|
|
|
:defaultVal="details.customser"
|
|
|
|
|
searchApi="DjyCustomerpage"
|
|
|
|
|
:disabled="BookingLockOrder['customser'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ SearchValue: '', PropString: 'customs_broker' }"
|
|
|
|
|
:showLabel="['shortName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
@ -408,6 +424,7 @@
|
|
|
|
|
type="portdischargeid"
|
|
|
|
|
:defaultVal="details.portdischargeid"
|
|
|
|
|
searchApi="GetPortlist"
|
|
|
|
|
:disabled="BookingLockOrder['portdischargeid'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['ediCode', 'enName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
@ -425,6 +442,7 @@
|
|
|
|
|
<inputView
|
|
|
|
|
type="portdischarge"
|
|
|
|
|
size="small"
|
|
|
|
|
:ishd="BookingLockOrder['portdischarge'] && isLockBooking"
|
|
|
|
|
:parentVal="details.portdischarge"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
@ -441,6 +459,7 @@
|
|
|
|
|
class="date-picker"
|
|
|
|
|
style="min-width: 100px"
|
|
|
|
|
:showTime="true"
|
|
|
|
|
:disabled="BookingLockOrder['closevgmdate'] && isLockBooking"
|
|
|
|
|
:parentVal="details.closevgmdate"
|
|
|
|
|
type="closevgmdate"
|
|
|
|
|
format="YYYY-MM-DD HH:00"
|
|
|
|
@ -459,6 +478,7 @@
|
|
|
|
|
type="trucker"
|
|
|
|
|
:defaultVal="details.trucker"
|
|
|
|
|
searchApi="DjyCustomerpage"
|
|
|
|
|
:disabled="BookingLockOrder['trucker'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ SearchValue: '', PropString: 'fleet' }"
|
|
|
|
|
:showLabel="['shortName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
@ -476,6 +496,7 @@
|
|
|
|
|
<selectView
|
|
|
|
|
type="destinationid"
|
|
|
|
|
:defaultVal="details.destinationid"
|
|
|
|
|
:disabled="BookingLockOrder['destinationid'] && isLockBooking"
|
|
|
|
|
searchApi="GetPortlist"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['ediCode', 'enName']"
|
|
|
|
@ -493,6 +514,7 @@
|
|
|
|
|
prop="destination">
|
|
|
|
|
<inputView
|
|
|
|
|
type="destination"
|
|
|
|
|
:ishd="BookingLockOrder['destination'] && isLockBooking"
|
|
|
|
|
size="small"
|
|
|
|
|
:parentVal="details.destination"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
@ -512,6 +534,7 @@
|
|
|
|
|
:defaultVal="details.lineName"
|
|
|
|
|
searchApi="GetTenantLineList"
|
|
|
|
|
:searchQuery="{ LineName: '' }"
|
|
|
|
|
:disabled="BookingLockOrder['lineName'] && isLockBooking"
|
|
|
|
|
:showLabel="['name']"
|
|
|
|
|
:openSearch="false"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
@ -531,6 +554,7 @@
|
|
|
|
|
type="agentname"
|
|
|
|
|
:defaultVal="details.agentname"
|
|
|
|
|
searchApi="DjyCustomerpage"
|
|
|
|
|
:disabled="BookingLockOrder['agentname'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ SearchValue: '', PropString: 'out_agent' }"
|
|
|
|
|
:showLabel="['shortName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
@ -557,6 +581,7 @@
|
|
|
|
|
type="placedeliveryid"
|
|
|
|
|
:defaultVal="details.placedeliveryid"
|
|
|
|
|
searchApi="GetPortlist"
|
|
|
|
|
:disabled="BookingLockOrder['placedeliveryid'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['ediCode', 'enName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
@ -574,6 +599,7 @@
|
|
|
|
|
<inputView
|
|
|
|
|
type="placedelivery"
|
|
|
|
|
size="small"
|
|
|
|
|
:ishd="BookingLockOrder['placedelivery'] && isLockBooking"
|
|
|
|
|
:parentVal="details.placedelivery"
|
|
|
|
|
@getInputChange="inputChange" />
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.placedelivery" /> -->
|
|
|
|
@ -591,6 +617,7 @@
|
|
|
|
|
type="shippingMethod"
|
|
|
|
|
:defaultVal="details.shippingMethod"
|
|
|
|
|
searchApi="ShippingMethod"
|
|
|
|
|
:disabled="BookingLockOrder['shippingMethod'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ name: '' }"
|
|
|
|
|
:showLabel="['name']"
|
|
|
|
|
:openSearch="false"
|
|
|
|
@ -610,6 +637,7 @@
|
|
|
|
|
type="warehouse"
|
|
|
|
|
:defaultVal="details.warehouse"
|
|
|
|
|
searchApi="DjyCustomerpage"
|
|
|
|
|
:disabled="BookingLockOrder['warehouse'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ SearchValue: '', PropString: 'warehouse' }"
|
|
|
|
|
:showLabel="['shortName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
@ -632,6 +660,7 @@
|
|
|
|
|
type="issuetype"
|
|
|
|
|
:defaultVal="details.issuetype"
|
|
|
|
|
searchApi="Codeissuetypelist"
|
|
|
|
|
:disabled="BookingLockOrder['issuetype'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['enName', 'cnName']"
|
|
|
|
|
:openSearch="false"
|
|
|
|
@ -652,6 +681,7 @@
|
|
|
|
|
class="date-picker"
|
|
|
|
|
:parentVal="details.issuedate"
|
|
|
|
|
type="issuedate"
|
|
|
|
|
:disabled="BookingLockOrder['issuedate'] && isLockBooking"
|
|
|
|
|
format="YYYY-MM-DD"
|
|
|
|
|
@dateChange="dateChangeFun"
|
|
|
|
|
></datePickerView>
|
|
|
|
@ -673,6 +703,7 @@
|
|
|
|
|
searchApi="GetPortloadlist"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['enName']"
|
|
|
|
|
:disabled="BookingLockOrder['issueplace'] && isLockBooking"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
:isCopy="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
@ -688,7 +719,7 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="issueplaceid"
|
|
|
|
|
>
|
|
|
|
|
<inputView type="issueplaceid" size="small" :parentVal="details.issueplaceid" @getInputChange="inputChange"/>
|
|
|
|
|
<inputView :ishd="BookingLockOrder['issueplaceid'] && isLockBooking" type="issueplaceid" size="small" :parentVal="details.issueplaceid" @getInputChange="inputChange"/>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
@ -706,6 +737,7 @@
|
|
|
|
|
searchApi="GetFrt"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['enName']"
|
|
|
|
|
:disabled="BookingLockOrder['blfrt'] && isLockBooking"
|
|
|
|
|
:openSearch="false"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
@ -727,6 +759,7 @@
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['enName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
:disabled="BookingLockOrder['prepardat'] && isLockBooking"
|
|
|
|
|
:isCopy="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
@ -745,6 +778,7 @@
|
|
|
|
|
type="payableat"
|
|
|
|
|
:defaultVal="details.payableat"
|
|
|
|
|
searchApi="GetPortlist"
|
|
|
|
|
:disabled="BookingLockOrder['payableat'] && isLockBooking"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['enName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
@ -761,7 +795,7 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
prop="thirdpayaddr"
|
|
|
|
|
>
|
|
|
|
|
<inputView type="thirdpayaddr" size="small" :parentVal="details.thirdpayaddr" @getInputChange="inputChange"/>
|
|
|
|
|
<inputView :ishd="BookingLockOrder['thirdpayaddr'] && isLockBooking" type="thirdpayaddr" size="small" :parentVal="details.thirdpayaddr" @getInputChange="inputChange"/>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
@ -779,6 +813,7 @@
|
|
|
|
|
searchApi="GetService"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['name']"
|
|
|
|
|
:disabled="BookingLockOrder['service'] && isLockBooking"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
@ -798,6 +833,7 @@
|
|
|
|
|
:defaultVal="details.nobill"
|
|
|
|
|
searchApi="nobillData"
|
|
|
|
|
:searchQuery="{ name: '' }"
|
|
|
|
|
:disabled="BookingLockOrder['nobill'] && isLockBooking"
|
|
|
|
|
:showLabel="['name']"
|
|
|
|
|
:openSearch="false"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
@ -818,6 +854,7 @@
|
|
|
|
|
:defaultVal="details.copynobill"
|
|
|
|
|
searchApi="copynobilllData"
|
|
|
|
|
:searchQuery="{ name: '' }"
|
|
|
|
|
:disabled="BookingLockOrder['copynobill'] && isLockBooking"
|
|
|
|
|
:showLabel="['name']"
|
|
|
|
|
:openSearch="false"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
@ -830,13 +867,13 @@
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-model-item prop="soremark">
|
|
|
|
|
<div class="tit" :class="{'required':rules['soremark'] && rules['soremark'][0].required}"><span @click="markVisible=true" style="cursor: pointer;" class="iconfont icon-bianji"></span>订舱备注</div>
|
|
|
|
|
<a-textarea style="height: 120px !important;line-height: 20px;" class="input-box" v-model="details.soremark" />
|
|
|
|
|
<a-textarea :disabled="BookingLockOrder['soremark'] && isLockBooking" style="height: 120px !important;line-height: 20px;" class="input-box" v-model="details.soremark" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-model-item prop="siremark">
|
|
|
|
|
<div class="tit" :class="{'required':rules['siremark'] && rules['siremark'][0].required}"><span @click="markVisible1=true" style="cursor: pointer;" class="iconfont icon-bianji"></span>截单备注</div>
|
|
|
|
|
<a-textarea style="height: 120px !important;line-height: 20px;" class="input-box" v-model="details.siremark" data-next="box-ctnall"/>
|
|
|
|
|
<a-textarea :disabled="BookingLockOrder['siremark'] && isLockBooking" style="height: 120px !important;line-height: 20px;" class="input-box" v-model="details.siremark" data-next="box-ctnall"/>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -1157,6 +1194,10 @@ export default {
|
|
|
|
|
isParent: {
|
|
|
|
|
type: String,
|
|
|
|
|
default: ''
|
|
|
|
|
},
|
|
|
|
|
isLockBooking: {
|
|
|
|
|
type: Boolean,
|
|
|
|
|
default: false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -1165,6 +1206,7 @@ export default {
|
|
|
|
|
frompre: {},
|
|
|
|
|
visibleJW: false,
|
|
|
|
|
modalType: 0,
|
|
|
|
|
BookingLockOrder: {},
|
|
|
|
|
markVisible: false,
|
|
|
|
|
markVisible1: false,
|
|
|
|
|
visibleTwo: false,
|
|
|
|
@ -1251,7 +1293,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() { },
|
|
|
|
|
created() {},
|
|
|
|
|
mounted() {
|
|
|
|
|
const shipperScroll = document.getElementById('shipper-scroll')
|
|
|
|
|
if (shipperScroll) {
|
|
|
|
@ -1267,6 +1309,12 @@ export default {
|
|
|
|
|
notifypartyScroll.addEventListener('scroll', () => {
|
|
|
|
|
document.getElementById('notifyparty-scroll-right').scrollTop = notifypartyScroll.scrollTop
|
|
|
|
|
})
|
|
|
|
|
const obj = {}
|
|
|
|
|
this.$options.filters['dictData']('BookingLockOrder').forEach(item => {
|
|
|
|
|
obj[item.code] = true
|
|
|
|
|
})
|
|
|
|
|
this.BookingLockOrder = obj
|
|
|
|
|
console.log(this.BookingLockOrder,this.details,123123123131)
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.changePkgs()
|
|
|
|
|
}, 2000)
|
|
|
|
|