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