|
|
|
@ -724,7 +724,7 @@
|
|
|
|
|
<autoView
|
|
|
|
|
type="placedeliveryid"
|
|
|
|
|
:defaultVal="orderDetails.placedeliveryid"
|
|
|
|
|
searchApi="GetPortlist"
|
|
|
|
|
searchApi="GetPortloadlist"
|
|
|
|
|
:searchQuery="{ KeyWord: '' }"
|
|
|
|
|
:showLabel="['ediCode', 'enName']"
|
|
|
|
|
@select="getAutoViewRes"
|
|
|
|
@ -1883,6 +1883,14 @@ export default {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
const type = this.enmuType(this.modelType)
|
|
|
|
|
console.log({
|
|
|
|
|
title: this.modelName,
|
|
|
|
|
type: type,
|
|
|
|
|
name: this.orderDetails[`${this.modelType}name`],
|
|
|
|
|
addr: this.orderDetails[`${this.modelType}addR1`],
|
|
|
|
|
country: this.orderDetails[`${this.modelType}countryName`],
|
|
|
|
|
tel: this.orderDetails[`${this.modelType}tel`]
|
|
|
|
|
})
|
|
|
|
|
BookingTemplateAdd({
|
|
|
|
|
title: this.modelName,
|
|
|
|
|
type: type,
|
|
|
|
@ -2029,7 +2037,7 @@ export default {
|
|
|
|
|
notifypartycountry: '',
|
|
|
|
|
notifypartycountryName: '',
|
|
|
|
|
notifypartytel: '',
|
|
|
|
|
portload: $details.portload || 'CNTAO',
|
|
|
|
|
portload: $details.portload || 'QINGDAO,CHINA',
|
|
|
|
|
portloadid: $details.portloadid || 'CNTAO',
|
|
|
|
|
portdischarge: $details.portdischarge,
|
|
|
|
|
portdischargeid: $details.portdischargeid,
|
|
|
|
@ -2045,7 +2053,7 @@ export default {
|
|
|
|
|
dtel: $details.dtel || '',
|
|
|
|
|
kindpkgs: $details.kindpkgs,
|
|
|
|
|
remarks: '',
|
|
|
|
|
placedelivery: $details.placereceipt || 'CNTAO',
|
|
|
|
|
placedelivery: $details.placereceipt || 'QINGDAO,CHINA',
|
|
|
|
|
placedeliveryid: $details.placereceiptid || 'CNTAO',
|
|
|
|
|
sendremark: '',
|
|
|
|
|
yardid: $details.yardid,
|
|
|
|
@ -2329,7 +2337,7 @@ export default {
|
|
|
|
|
this.orderDetails[type.replace('Name', '')] = res.code || '' // 要改的
|
|
|
|
|
} else if (['portloadid', 'portdischargeid', 'placedeliveryid'].includes(type)) {
|
|
|
|
|
this.orderDetails[type] = res['ediCode'] || ''
|
|
|
|
|
this.orderDetails[type.replace('id', '')] = res['code'] || ''
|
|
|
|
|
this.orderDetails[type.replace('id', '')] = res['enName'] || ''
|
|
|
|
|
}
|
|
|
|
|
console.log('== 模糊搜索后的预定舱 ==', this.orderDetails)
|
|
|
|
|
},
|
|
|
|
|