复制单号,去掉箱信息id

szh_zidingyibiaoti
lilu 2 years ago
parent cc42103c48
commit d95e89c661

@ -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) => {
delete item.id
})
}
data.parentId = this.$route.query.id
if (this.editDetails.id !== 0 && Number(this.editDetails.id) !== Number(this.$route.query.id)) {
// this.bookingOrderUpdate()

Loading…
Cancel
Save