|
|
|
@ -32,18 +32,15 @@
|
|
|
|
|
ok-text="是"
|
|
|
|
|
cancel-text="否"
|
|
|
|
|
@confirm="removeMoreFun"
|
|
|
|
|
@cancel="cancelRemove"
|
|
|
|
|
>
|
|
|
|
|
<div class="nav"><i class="iconfont icon-shanchu2"></i>删除</div>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
<!-- <div class="nav"><i class="iconfont icon-shishijifei"></i>定时订舱</div>
|
|
|
|
|
<div class="nav"><i class="iconfont icon-shishijifei"></i>定时订舱</div>
|
|
|
|
|
|
|
|
|
|
<div class="nav" @click="handleSearchTxxp">
|
|
|
|
|
<a-spin :spinning="txxpLoading">
|
|
|
|
|
<i class="iconfont icon-xiaopiaodayin"></i>小票状态
|
|
|
|
|
</a-spin>
|
|
|
|
|
<i class="iconfont icon-xiaopiaodayin"></i>小票状态
|
|
|
|
|
</div>
|
|
|
|
|
<div class="nav" @click="openTraceModel"
|
|
|
|
|
<!-- <div class="nav" @click="openTraceModel"
|
|
|
|
|
><i class="iconfont icon-yunshu1"></i>运踪订阅</div
|
|
|
|
|
>
|
|
|
|
|
<div class="nav">
|
|
|
|
@ -104,7 +101,7 @@
|
|
|
|
|
</a-form>
|
|
|
|
|
</a-modal>
|
|
|
|
|
<!-- 批量操作 -->
|
|
|
|
|
<!-- <BatchModification v-if="batchFlag" @register="registerModal" @success="BMSuccess" /> -->
|
|
|
|
|
<BatchModification @register="registerModal" @success="BMSuccess" />
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
@ -113,8 +110,8 @@
|
|
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'
|
|
|
|
|
import { useRouter } from 'vue-router'
|
|
|
|
|
import { useModal } from '/@/components/Modal'
|
|
|
|
|
import { SeaExportBatchDel } from '../api/BookingLedger.js'
|
|
|
|
|
// import BatchModification from '../modules/BatchModification.vue'
|
|
|
|
|
import { SeaExportBatchDel, SaveBookingTxxp } from '../api/BookingLedger.js'
|
|
|
|
|
import BatchModification from '../modules/BatchModification.vue'
|
|
|
|
|
const router = useRouter()
|
|
|
|
|
const { createMessage } = useMessage()
|
|
|
|
|
const go = useGo()
|
|
|
|
@ -190,7 +187,7 @@
|
|
|
|
|
return item.id
|
|
|
|
|
})
|
|
|
|
|
batchFlag.value = true
|
|
|
|
|
openModal(true, { removeArr })
|
|
|
|
|
openModal(true, { removeArr, flag: true })
|
|
|
|
|
}
|
|
|
|
|
function BMSuccess() {
|
|
|
|
|
props.reload()
|
|
|
|
@ -224,6 +221,25 @@
|
|
|
|
|
console.log(err)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const xGrid = ref()
|
|
|
|
|
const txxpForm = ref({})
|
|
|
|
|
// 小票状态
|
|
|
|
|
function handleSearchTxxp() {
|
|
|
|
|
return
|
|
|
|
|
const select = xGrid.value.getCheckboxRecords()
|
|
|
|
|
if (select.length === 0) {
|
|
|
|
|
createMessage.warning('请选择操作订单!')
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
const pkIdArr = select.map((item, index) => {
|
|
|
|
|
return item.id
|
|
|
|
|
})
|
|
|
|
|
SaveBookingTxxp({ Id: pkIdArr[0] }).then((res) => {
|
|
|
|
|
if (res.succeeded) {
|
|
|
|
|
txxpForm.value = res.data
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|