@ -1131,6 +1131,9 @@ export default {
delete _data.hbList
if (this.isCopy) {
delete _data.bookingno
_data.ctnInputs.map((item, index) => {
delete item.id
})
}
this.$message.loading({ content: '保存中...' })
@ -696,6 +696,12 @@ export default {
// 自定义必填项验证 - end
const data = JSON.parse(JSON.stringify(this.editDetails))
delete data.isNoSave
if (this.$route.query.isCopy) {
delete data.bookingno
data.ctnInputs.map((item, index) => {
data.parentId = this.$route.query.id
if (this.editDetails.id !== 0 && Number(this.editDetails.id) !== Number(this.$route.query.id)) {
// this.bookingOrderUpdate()