|
|
|
@ -100,7 +100,7 @@ import basicItem from './components/basicItem'
|
|
|
|
|
import ediMore from './components/ediMore'
|
|
|
|
|
import sedOrder from './components/sedOrder'
|
|
|
|
|
|
|
|
|
|
import { BookingOrderGet, BookingOrderUpdate, BookingOrderAdd } from '@/api/modular/main/BookingLedger'
|
|
|
|
|
import { BookingOrderGet, BookingOrderUpdate, BookingOrderAdd, BookingOrderAddOrUpdate } from '@/api/modular/main/BookingLedger'
|
|
|
|
|
import { mapGetters } from 'vuex'
|
|
|
|
|
export default {
|
|
|
|
|
name: 'BookingDetail',
|
|
|
|
@ -414,7 +414,7 @@ export default {
|
|
|
|
|
const _data = JSON.parse(JSON.stringify(this.bookingDetails))
|
|
|
|
|
delete _data.hbList
|
|
|
|
|
console.log(JSON.stringify(_data))
|
|
|
|
|
BookingOrderUpdate(_data)
|
|
|
|
|
BookingOrderAddOrUpdate(_data)
|
|
|
|
|
.then(res => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|
this.isCopy = false
|
|
|
|
@ -439,7 +439,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
const _data = JSON.parse(JSON.stringify(this.bookingDetails))
|
|
|
|
|
delete _data.hbList
|
|
|
|
|
BookingOrderAdd(_data)
|
|
|
|
|
BookingOrderAddOrUpdate(_data)
|
|
|
|
|
.then(res => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|
this.isAdd = false
|
|
|
|
|