|
|
@ -249,7 +249,7 @@ const initDetail = {
|
|
|
|
hbList: []
|
|
|
|
hbList: []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: 'BookingDetail',
|
|
|
|
name: 'BookingDetailNew',
|
|
|
|
inject: ['reload'],
|
|
|
|
inject: ['reload'],
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
operationArea,
|
|
|
|
operationArea,
|
|
|
@ -953,7 +953,7 @@ export default {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// console.log('1.2 == 保存成功 - 刷新路由 ==', this.id)
|
|
|
|
// console.log('1.2 == 保存成功 - 刷新路由 ==', this.id)
|
|
|
|
this.$router.replace({
|
|
|
|
this.$router.replace({
|
|
|
|
name: 'BookingDetail',
|
|
|
|
name: 'BookingDetailNew',
|
|
|
|
query: {
|
|
|
|
query: {
|
|
|
|
id: this.id,
|
|
|
|
id: this.id,
|
|
|
|
type: this.bookingDetails.carrierid,
|
|
|
|
type: this.bookingDetails.carrierid,
|
|
|
@ -1058,7 +1058,7 @@ export default {
|
|
|
|
this.$message.success('保存成功')
|
|
|
|
this.$message.success('保存成功')
|
|
|
|
// this.bookingDetails = JSON.parse(JSON.stringify(initDetail))
|
|
|
|
// this.bookingDetails = JSON.parse(JSON.stringify(initDetail))
|
|
|
|
this.$router.replace({
|
|
|
|
this.$router.replace({
|
|
|
|
name: 'BookingDetail',
|
|
|
|
name: 'BookingDetailNew',
|
|
|
|
query: {
|
|
|
|
query: {
|
|
|
|
id: res.data,
|
|
|
|
id: res.data,
|
|
|
|
type: this.bookingDetails.carrierid,
|
|
|
|
type: this.bookingDetails.carrierid,
|
|
|
@ -1146,7 +1146,7 @@ export default {
|
|
|
|
delete $data[this.$route.fullPath]
|
|
|
|
delete $data[this.$route.fullPath]
|
|
|
|
this.setNeedSavePages($data)
|
|
|
|
this.setNeedSavePages($data)
|
|
|
|
this.$router.replace({
|
|
|
|
this.$router.replace({
|
|
|
|
name: 'BookingDetail',
|
|
|
|
name: 'BookingDetailNew',
|
|
|
|
query: { id: prevId, type: prevType, mblno: this.bookingList[prevId].mblno, noOpenTab: true }
|
|
|
|
query: { id: prevId, type: prevType, mblno: this.bookingList[prevId].mblno, noOpenTab: true }
|
|
|
|
})
|
|
|
|
})
|
|
|
|
// this.$route.query.id = 1123
|
|
|
|
// this.$route.query.id = 1123
|
|
|
@ -1161,7 +1161,7 @@ export default {
|
|
|
|
delete $data[this.$route.fullPath]
|
|
|
|
delete $data[this.$route.fullPath]
|
|
|
|
this.setNeedSavePages($data)
|
|
|
|
this.setNeedSavePages($data)
|
|
|
|
this.$router.replace({
|
|
|
|
this.$router.replace({
|
|
|
|
name: 'BookingDetail',
|
|
|
|
name: 'BookingDetailNew',
|
|
|
|
query: { id: nextId, type: nextType, mblno: this.bookingList[nextId].mblno, noOpenTab: true }
|
|
|
|
query: { id: nextId, type: nextType, mblno: this.bookingList[nextId].mblno, noOpenTab: true }
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1171,7 +1171,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
copyBookingFun() {
|
|
|
|
copyBookingFun() {
|
|
|
|
this.$router.push({
|
|
|
|
this.$router.push({
|
|
|
|
name: 'BookingDetail',
|
|
|
|
name: 'BookingDetailNew',
|
|
|
|
query: { id: this.id, isCopy: true, type: this.bookingDetails.carrierid }
|
|
|
|
query: { id: this.id, isCopy: true, type: this.bookingDetails.carrierid }
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|