|
|
|
@ -386,6 +386,7 @@ export default {
|
|
|
|
|
excuteRulesType: '',
|
|
|
|
|
isAdd: false,
|
|
|
|
|
moreStr: '',
|
|
|
|
|
saveBtnFlag: false,
|
|
|
|
|
tabActiveKey: '1',
|
|
|
|
|
historyData: {},
|
|
|
|
|
Showtabs: false,
|
|
|
|
@ -1313,6 +1314,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
this.saveBtnFlag = true
|
|
|
|
|
BookingOrderSave(_data)
|
|
|
|
|
.then(res => {
|
|
|
|
|
if (res.success) {
|
|
|
|
@ -1394,10 +1396,12 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
that.setInBookingDetailsSave(false)
|
|
|
|
|
this.saveBtnFlag = false
|
|
|
|
|
that.$forceUpdate()
|
|
|
|
|
} else {
|
|
|
|
|
that.setInBookingDetailsSave(false)
|
|
|
|
|
this.setSET_SAVEFLAG(false)
|
|
|
|
|
this.saveBtnFlag = false
|
|
|
|
|
if (typeof res.message === 'string') {
|
|
|
|
|
that.$message.error(res.message)
|
|
|
|
|
} else {
|
|
|
|
@ -1406,6 +1410,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(err => {
|
|
|
|
|
this.saveBtnFlag = false
|
|
|
|
|
console.log(err)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -1555,10 +1560,12 @@ export default {
|
|
|
|
|
this.reload()
|
|
|
|
|
},
|
|
|
|
|
copyBookingFun() {
|
|
|
|
|
this.$router.push({
|
|
|
|
|
if (!this.saveBtnFlag) {
|
|
|
|
|
this.$router.push({
|
|
|
|
|
name: 'BookingDetail',
|
|
|
|
|
query: { id: this.id, isCopy: true, type: this.bookingDetails.carrierid }
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
changeTab(e) {
|
|
|
|
|
const _this = this
|
|
|
|
|