|
|
@ -99,6 +99,16 @@
|
|
|
|
<div class="nav" @click="copyBookingMore"><i class="iconfont icon-fuzhi1"></i>复制多票</div>
|
|
|
|
<div class="nav" @click="copyBookingMore"><i class="iconfont icon-fuzhi1"></i>复制多票</div>
|
|
|
|
<div class="nav" @click="batchEditing"><i class="iconfont icon-bianjiwenjian"></i>批量编辑</div>
|
|
|
|
<div class="nav" @click="batchEditing"><i class="iconfont icon-bianjiwenjian"></i>批量编辑</div>
|
|
|
|
<div class="nav"><i class="iconfont icon-shujushangchuan-shixin"></i>批量VGM</div>
|
|
|
|
<div class="nav"><i class="iconfont icon-shujushangchuan-shixin"></i>批量VGM</div>
|
|
|
|
|
|
|
|
<!-- <div class="nav" @click="excuteShippingOrderCompareBatch"><i class="iconfont icon-weibiaoti--"></i>下货纸比对</div> -->
|
|
|
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
|
|
|
title="确定进行下货纸比对?"
|
|
|
|
|
|
|
|
ok-text="是"
|
|
|
|
|
|
|
|
cancel-text="否"
|
|
|
|
|
|
|
|
@confirm="excuteShippingOrderCompareBatch"
|
|
|
|
|
|
|
|
@cancel="cancelRemove"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div class="nav"><i class="iconfont icon-shanchu2"></i>下货纸比对</div>
|
|
|
|
|
|
|
|
</a-popconfirm>
|
|
|
|
<a-popconfirm
|
|
|
|
<a-popconfirm
|
|
|
|
title="确定删除当前选中订舱?"
|
|
|
|
title="确定删除当前选中订舱?"
|
|
|
|
ok-text="是"
|
|
|
|
ok-text="是"
|
|
|
@ -582,7 +592,8 @@ import {
|
|
|
|
GetService,
|
|
|
|
GetService,
|
|
|
|
GetForwarderlist,
|
|
|
|
GetForwarderlist,
|
|
|
|
DjyUserConfigMulti,
|
|
|
|
DjyUserConfigMulti,
|
|
|
|
DeleteBookingOrder
|
|
|
|
DeleteBookingOrder,
|
|
|
|
|
|
|
|
ExcuteShippingOrderCompareBatch
|
|
|
|
} from '@/api/modular/main/BookingLedger'
|
|
|
|
} from '@/api/modular/main/BookingLedger'
|
|
|
|
|
|
|
|
|
|
|
|
import initData from './modules/initData'
|
|
|
|
import initData from './modules/initData'
|
|
|
@ -1784,6 +1795,27 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
checkboxChangeEvent () {
|
|
|
|
checkboxChangeEvent () {
|
|
|
|
console.log('== 选中,取消选中 ==', this.$refs.xGrid.getCheckboxRecords())
|
|
|
|
console.log('== 选中,取消选中 ==', this.$refs.xGrid.getCheckboxRecords())
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
excuteShippingOrderCompareBatch () {
|
|
|
|
|
|
|
|
const select = this.$refs.xGrid.getCheckboxRecords()
|
|
|
|
|
|
|
|
const arr = select.map((item, index) => { return item.id })
|
|
|
|
|
|
|
|
if (arr.length === 0) {
|
|
|
|
|
|
|
|
this.$message.error('请选择操作订单')
|
|
|
|
|
|
|
|
return false
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ExcuteShippingOrderCompareBatch({
|
|
|
|
|
|
|
|
bookingIds: arr
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.then(res => {
|
|
|
|
|
|
|
|
if (res.success) {
|
|
|
|
|
|
|
|
this.$message.success(res.data.msg)
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.$message.error(res.data.msg)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch(err => {
|
|
|
|
|
|
|
|
console.log(err)
|
|
|
|
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|