|
|
|
@ -443,10 +443,15 @@ export default {
|
|
|
|
|
if (['issuetype', 'blfrt'].includes(type)) {
|
|
|
|
|
this.details[type] = res.enName || ''
|
|
|
|
|
if (type === 'blfrt') {
|
|
|
|
|
this.details.prepardat = this.details.prepardat ? this.details.prepardat : this.details.portload || ''
|
|
|
|
|
this.details.placereceiptid = this.details.placereceiptid ? this.details.placereceiptid : this.details.portloadid || ''
|
|
|
|
|
this.details.payableat = this.details.payableat ? this.details.payableat : this.details.portdischarge || ''
|
|
|
|
|
this.details.payableatid = this.details.payableatid ? this.details.payableatid : this.details.portdischargeid || ''
|
|
|
|
|
if (this.details.blfrt === 'FREIGHT COLLECT') {
|
|
|
|
|
// 到付 payableat
|
|
|
|
|
this.details.payableat = this.details.payableat ? this.details.payableat : this.details.portdischarge || ''
|
|
|
|
|
this.details.payableatid = this.details.payableatid ? this.details.payableatid : this.details.portdischargeid || ''
|
|
|
|
|
} else {
|
|
|
|
|
// 预付 prepardat
|
|
|
|
|
this.details.prepardat = this.details.prepardat ? this.details.prepardat : this.details.portload || ''
|
|
|
|
|
this.details.placereceiptid = this.details.placereceiptid ? this.details.placereceiptid : this.details.portloadid || ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} else if (['issueplace', 'prepardat', 'payableat'].includes(type)) {
|
|
|
|
|
this.details[type] = res.enName || ''
|
|
|
|
|