dev
张同海 2 years ago
commit 27255e2613

@ -203,6 +203,15 @@ export default {
ediAttnMail: ''
}
}
if (data.ctnInputs.length > 0) {
data.ctnInputs.map((item, index) => {
delete item.id
})
}
if (data.hbList.length > 0) {
delete data.hbList
}
debugger
this.editDetails = data
this.editIndex = this.sedOrderList.length
this.sedOrderList.push(data)
@ -242,7 +251,6 @@ export default {
// this.init()
},
saveFun() {
// debugger
if (this.editDetails.id !== 0 && Number(this.editDetails.id) !== Number(this.$route.query.id)) {
this.bookingOrderUpdate()
} else {

@ -736,6 +736,11 @@ export default {
data.shipper = ''
data.consignee = ''
data.notifyparty = ''
if (data.ctnInputs.length > 0) {
data.ctnInputs.map((item, index) => {
delete item.id
})
}
this.bookingDetails.hbList = [data]
this.tabActiveKey = '2'
this.Showtabs = true

Loading…
Cancel
Save