设置预付和到付地点

szh_zidingyibiaoti
lilu 2 years ago
parent d7e7afe39a
commit b60c099704

@ -450,7 +450,7 @@ export default {
} else { } else {
// prepardat // prepardat
this.details.prepardat = this.details.prepardat ? this.details.prepardat : this.details.portload || '' 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.prepardatid = this.details.prepardatid ? this.details.prepardatid : this.details.portloadid || ''
} }
} }
} else if (['issueplace', 'prepardat', 'payableat'].includes(type)) { } else if (['issueplace', 'prepardat', 'payableat'].includes(type)) {

@ -1433,12 +1433,12 @@ export default {
if (type === 'portloadid') { // if (type === 'portloadid') { //
this.details.issueplace = res['enName'] || '' this.details.issueplace = res['enName'] || ''
this.details.issueplaceid = res['ediCode'] || '' this.details.issueplaceid = res['ediCode'] || ''
this.details.prepardat = this.details.prepardat ? this.details.prepardat : res['enName'] || '' // this.details.prepardat = this.details.prepardat ? this.details.prepardat : res['enName'] || ''
this.details.placereceiptid = this.details.placereceiptid ? this.details.placereceiptid : res['ediCode'] || '' this.details.placereceiptid = this.details.placereceiptid ? this.details.placereceiptid : res['ediCode'] || ''
this.details.placereceipt = this.details.placereceipt ? this.details.placereceipt : res['enName'] || '' this.details.placereceipt = this.details.placereceipt ? this.details.placereceipt : res['enName'] || ''
} else if (type === 'portdischargeid') { // } else if (type === 'portdischargeid') { //
this.details.payableat = this.details.payableat ? this.details.payableat : res['enName'] || '' // this.details.payableat = this.details.payableat ? this.details.payableat : res['enName'] || ''
this.details.payableatid = this.details.payableatid ? this.details.payableatid : res['ediCode'] || '' // this.details.payableatid = this.details.payableatid ? this.details.payableatid : res['ediCode'] || ''
} else if (type === 'placereceiptid') { } else if (type === 'placereceiptid') {
this.details.portloadid = this.details.portloadid ? this.details.portloadid : res['ediCode'] || '' this.details.portloadid = this.details.portloadid ? this.details.portloadid : res['ediCode'] || ''
this.details.portload = this.details.portload ? this.details.portload : res['enName'] || '' this.details.portload = this.details.portload ? this.details.portload : res['enName'] || ''

Loading…
Cancel
Save