lijingjia 4 months ago
commit 58c90dec45

@ -2,12 +2,13 @@ import { router } from "/@/router"
import { useMultipleTabStore } from '/@/store/modules/multipleTab'
import { useMessage } from '/@/hooks/web/useMessage'
import * as XLSX from 'xlsx'
import dayjs from 'dayjs'
const { createMessage } = useMessage()
// 格式表格时间
export function formatTableData(v) {
if (v) {
v = v.split(' ')[0]
if ( v.includes('1900')) v = ''
if (v.includes('1900')) v = ''
return v
} else {
return ''
@ -118,7 +119,7 @@ function toBlob(fileData, name) {
}, 0)
}
// 返回表格查询的参数
// 返回表格查询的参数 multipleList(需要多选查询的字段名数组)
export function formatParams(params = {}) {
const postData = {
queryCondition: '',
@ -128,7 +129,7 @@ export function formatParams(params = {}) {
sortConditions: []
}
}
const conditions = []
const conditions = [] as any
for (let key in params) {
if (key != 'page' && key != 'pageSize' && key != 'order' && key != 'field') {
if (key == 'advancedSearchParams') {
@ -137,8 +138,8 @@ export function formatParams(params = {}) {
} else {
// 其他查询
if (Array.isArray(params[key])) {
if (params[key][0].length && params[key][0].length > 3) {
// 判定成日期
// 判定为日期
if (isValidDate(params[key][0])) {
conditions.push({
FieldName: key,
FieldValue: params[key][0],
@ -183,4 +184,8 @@ export function formatParams(params = {}) {
}
postData.queryCondition = JSON.stringify(conditions)
return postData
}
function isValidDate(dateString) {
return dayjs(dateString,'YYYY-MM-DD hh:mm:ss', true).isValid();
}

@ -56,7 +56,7 @@ const { createMessage } = useMessage()
return new Promise((resolve) => {
resolve({
data: res.data,
total: 10,
total: res.count,
})
})
},

@ -94,8 +94,9 @@ export function BookingLabelList(parameter) {
export function BookingSlotDelete(parameter) {
return request<DataResult>({
url: '/opApi/BookingSlotService/delete?ids=' + parameter,
method: 'post'
url: '/opApi/BookingSlotService/Delete',
method: 'post',
data: parameter
})
}

@ -36,7 +36,7 @@ const sharedOnCell1 = (_, index) => {
};
export const searchFormSchema: FormSchema[] = [
{
field: 'SlotBookingNo',
field: 'slotBookingNo',
label: '舱位提单号',
component: 'Input',
colProps: { span: 4 },
@ -311,15 +311,16 @@ export const columns: BasicColumn[] = [
{
title: '标签',
align: 'center',
width: 100,
width: 200,
dataIndex: 'labelList',
slots: { default: 'labelList' },
customCell: sharedOnCell,
},
{
title: '舱位提单号',
align: 'center',
width: 160,
dataIndex: 'SlotBookingNo',
dataIndex: 'slotBookingNo',
customCell: sharedOnCell,
},
{
@ -334,6 +335,8 @@ export const columns: BasicColumn[] = [
align: 'center',
width: 150,
dataIndex: 'vessel',
showHeaderOverflow: true,
sortable: true,
customCell: sharedOnCell,
},
{
@ -463,14 +466,14 @@ export const columns: BasicColumn[] = [
title: '收货地',
align: 'center',
width: 180,
dataIndex: 'placereceipt',
dataIndex: 'placeReceipt',
customCell: sharedOnCell,
},
{
title: '交货地',
align: 'center',
width: 180,
dataIndex: 'placedelivery',
dataIndex: 'placeDelivery',
customCell: sharedOnCell,
},
{
@ -547,7 +550,7 @@ export const columns: BasicColumn[] = [
title: '航线',
align: 'center',
width: 100,
dataIndex: 'lanename',
dataIndex: 'laneName',
customCell: sharedOnCell,
},
{
@ -665,7 +668,7 @@ export const columns: BasicColumn[] = [
{
title: '操作',
align: 'center',
width: 130,
width: 100,
dataIndex: 'action',
customCell: sharedOnCell,
fixed: 'right'
@ -855,10 +858,10 @@ export const detialForm: FormSchema[] = [
],
onChange: (e, obj) => {
if (obj) {
formModel.bookingSlotTypeName = obj.label
formModel.carriageTypeName = obj.label
}
if (!obj && !e) {
formModel.bookingSlotTypeName = ''
formModel.carriageTypeName = ''
}
},
}

@ -3,22 +3,22 @@
<BasicTable class="ds-table" @register="registerTable" @row-dbClick="handledbclick">
<template #tableTitle>
<a-button type="link" size="mini" @click="handleLabel">
<span class="iconfont icon-jiahao2fill"></span>
<span class="iconfont icon-cengji"></span>
分配标签
</a-button>
<a-button :loading="sumload" type="link" size="mini" @click="handleSum">
<span class="iconfont icon-jiahao2fill"></span>
<span class="iconfont icon-shujuyingshe"></span>
合票
</a-button>
<a-upload :customRequest="customRequest" :multiple="false"
accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
:showUploadList="false" name="file">
<a-button size="mini" type="link">
<span class="iconfont icon-jiahao2fill"></span>
<span class="iconfont icon-a-17Fdaoru"></span>
导入</a-button>
</a-upload>
<a-button type="link" @click="handleSuport" :loading="loadingExport" size="mini">
<span class="iconfont icon-jiahao2fill"></span>
<span class="iconfont icon-jiantouxia"></span>
导出
</a-button>
</template>
@ -27,6 +27,12 @@
<span class="iconfont icon-jiahao2fill"></span>
新增
</a-button>
<a-popconfirm title="确定删除吗?" ok-text="" cancel-text="" @confirm="handleDeleteAll">
<a-button type="link" size="mini">
<span class="iconfont icon-shanchu2"></span>
删除
</a-button>
</a-popconfirm>
</template>
<template v-slot:bodyCell="{ column, record }">
<template v-if="column.dataIndex == 'vessel'">
@ -50,6 +56,13 @@
<template v-if="column.dataIndex == 'isRecvBC'">
<BulbFilled style="color: green; font-size: 16px" :title="record.lstRecvBCDate" v-if="record.isRecvBC" />
</template>
<template v-if="column.dataIndex == 'labelList'">
<div>
<a-tag style="color: black !important;font-weight: bold;cursor: pointer;" :color="item.color"
@click="handleLabelBind(record)" v-for="(item, index) in record.labelList" :key="index">{{ item.name
}}</a-tag>
</div>
</template>
<template v-if="column.dataIndex == 'isRecvBKCancel'">
<BulbFilled style="color: red; font-size: 16px" :title="record.lstRecvBCDate" v-if="record.isRecvBKCancel" />
</template>
@ -108,7 +121,7 @@
</template>
<script lang="ts" setup>
import { BasicTable, useTable, TableAction } from '/@/components/Table'
import { BookingSlotPage, BookingLabelList, BookingLabelBind, GetMergeList, ImportSlotFromFile, PrintOrder } from './api'
import { BookingSlotPage, BookingLabelList, BookingLabelBind, GetMergeList, ImportSlotFromFile, PrintOrder, BookingSlotDelete } from './api'
import { reactive, ref, h, onMounted } from 'vue';
import { columns, searchFormSchema, FeeStatus } from './columns'
import { BulbFilled, CheckCircleFilled, BulbOutlined } from '@ant-design/icons-vue';
@ -122,7 +135,7 @@ const { createMessage } = useMessage()
const optionsStore = useOptionsStore()
const go = useGo()
const [registerModal, { openModal }] = useModal()
const [registerTable, { reload, setLoading, getForm, getSelectRows, setProps }] = useTable({
const [registerTable, { reload, setLoading, getForm, getSelectRows, setProps, setSelectedRowKeys }] = useTable({
title: '',
api: async (p) => {
const res: API.DataResult = await BookingSlotPage(p)
@ -152,7 +165,7 @@ const [registerTable, { reload, setLoading, getForm, getSelectRows, setProps }]
setProps({
showIndexColumn: false,
}),
resolve({ data: arr, total: 10 })
resolve({ data: arr, total: res.count })
optionsStore.getOptionsByCode('GetClientPortSelectList')
})
},
@ -172,6 +185,7 @@ const [registerTable, { reload, setLoading, getForm, getSelectRows, setProps }]
showTableSetting: true,
bordered: true,
showIndexColumn: true,
rowKey: 'id',
indexColumnProps: {
width: 60,
},
@ -188,14 +202,14 @@ function handledbclick(record) {
}
function handleDelete(row) {
setLoading(true);
// mskDelete({ id: row.id }).then(res => {
// if (res.succeeded) {
// reload()
// } else {
// createMessage.error(res.message)
// }
// setLoading(false);
// })
BookingSlotDelete([row.id]).then(res => {
if (res.succeeded) {
reload()
} else {
createMessage.error(res.message)
}
setLoading(false);
})
}
const labelIdArray = ref([])
const labelList = ref([]) as any
@ -221,6 +235,45 @@ function handleLabel() {
labelLoad.value = false
})
}
function handleDeleteAll() {
const select = getSelectRows()
const pkIdArr = select.map((item, index) => {
return item.id
})
if (pkIdArr.length === 0) {
createMessage.error('请选择要删除的数据')
return false
}
setLoading(true);
BookingSlotDelete(pkIdArr).then(res => {
if (res.succeeded) {
reload()
} else {
createMessage.error(res.message)
}
setLoading(false);
})
}
function handleLabelBind(row) {
visible.value = true
labelIdArray.value = []
labelLoad.value = true
setSelectedRowKeys([row.id])
BookingLabelList({ scope: 1 }).then(res => {
res.data.forEach(item => {
item.isActive = false
if (row.labelList) {
row.labelList.forEach(ite => {
if (ite.id === item.id) {
item.isActive = true
}
})
}
})
labelList.value = res.data
labelLoad.value = false
})
}
function customRequest(data) {
const formData = new FormData()
formData.append('file', data.file)
@ -439,4 +492,8 @@ function handleSuport() {
}
}
}
/deep/ .vben-basic-table-action button {
padding: 0 3px !important;
}
</style>

@ -51,7 +51,7 @@ const [registerTable, { reload, getForm, getPaginationRef, getSelectRows, setPro
const res: API.DataResult = await GetParaContractNoPage(p)
return new Promise((resolve) => {
resolve({
data: res.data, total: 10
data: res.data, total: res.count
})
})
},

@ -104,7 +104,7 @@ const [registerTable, { reload, getSelectRows, setLoading }] = useTable({
const res: API.DataResult = await mskGetPage(p)
return new Promise((resolve) => {
resolve({
data: res.data, total: 10
data: res.data, total: res.count
})
})
},

@ -1,7 +1,7 @@
// @ts-ignore
import { request } from '/@/utils/request'
import { DataResult, PageRequest } from '/@/api/model/baseModel'
// 获取舱位生成时的箱型箱量
export function getAvailableCtnsBySlot(parameter) {
return request<DataResult>({
url: '/opApi/BookingSlotService/GetAvailableSlots',
@ -9,3 +9,11 @@ export function getAvailableCtnsBySlot(parameter) {
data: parameter
})
}
// 获取客户详情的联系人等信息
export function GetClientInfoWithContact(parameter) {
return request<DataResult>({
url: '/mainApi/ClientInfo/GetClientInfoWithContact',
method: 'post',
data: parameter
})
}

@ -6,8 +6,9 @@ import { GetCtnSelectList } from '/@/api/common'
import { getDictOption } from '/@/utils/dictUtil'
import { useOptionsStore } from '/@/store/modules/options'
import { getOptions } from '/@/hooks/dict'
import { GetClientInfoWithContact } from './api'
import dayjs from 'dayjs';
const customerContactList = ref([])
const customerContactAllList = ref([]) //接口获取的联系人信息
//详情表单
export const formSchema: FormSchema[] = [
{
@ -53,7 +54,13 @@ export const formSchema: FormSchema[] = [
onChange: (e, obj) => {
if (obj) {
formModel.customerName = obj.label
const data = {
"clientId": obj.id,
"isController": true
}
GetClientInfoWithContact(data).then(res=>{
customerContactAllList.value = res.data.clientContactList
})
}
if (!obj && !e) {
formModel.customerName = ''
@ -69,11 +76,36 @@ export const formSchema: FormSchema[] = [
componentProps: ({ formModel }) => {
return {
mode: "multiple",
options:customerContactList.value
fieldNames:{
label:'shortName',
value: 'id',
},
options:customerContactAllList.value,
onChange: (e, obj) => {
if (obj) {
formModel.customerContactList = obj
}
if (!obj && !e) {
formModel.customerContactList = []
}
},
}
},
colProps: { span: 12 },
},
{
field: 'customerContactList',
label: '联系人信息',
slot: 'customerContactList',
component: 'Input',
show: ({ values }) => {
console.log(values)
if(values.customerContactList && values.customerContactList.length>0){
return true
}
},
colProps: { span: 24 },
},
{
label: '销售',
field: 'saleId',
@ -91,7 +123,6 @@ export const formSchema: FormSchema[] = [
onChange: (e, obj) => {
if (obj) {
formModel.saleName = obj.label
}
if (!obj && !e) {
formModel.saleName = ''

@ -1,9 +1,14 @@
<template>
<BasicModal width="800px" v-bind="$attrs" :use-wrapper="true" title="标签详情" @register="registerModal" @ok="handleSave">
<BasicModal width="800px" v-bind="$attrs" :use-wrapper="true" title="生成方式选择" @register="registerModal" @ok="handleSave">
<BasicForm @register="registerForm">
<template #slotNo="{ model, field }">
<span>{{ model[field] }}</span>
</template>
<template #customerContactList="{ model, field }">
<span v-for="item in model.customerContactList" :key="item.id" style="margin-right: 10px;" >
{{ item.shortName }}{{ item.email }}
</span>
</template>
</BasicForm>
<template #footer>
<a-button pre-icon="ant-design:close-outlined" type="warning" :loading="loading" ghost
@ -26,46 +31,41 @@ const [registerForm, { resetFields, setFieldsValue, getFieldsValue }] = useForm(
schemas: formSchema,
showActionButtonGroup: false,
})
const [registerModal, { closeModal }] = useModalInner((data) => {
const [registerModal, { setModalProps,closeModal }] = useModalInner((data) => {
console.log(data)
console.log(data.row)
setFieldsValue(data.row)
})
defineExpose({
init
if(data.type==='init'){
init(data.row)
}
})
const type = ref('')
const CtnList = ref([])
const ctnListCopy = ref([])
const slotEdit = ref({})
const loading = ref(false)
function init(row) {
type.value = 'cabin'
// this.userInfoList = []
// this.$forceUpdate()
// this.CreateData = {}
// this.CreateData.SALE_TIME = moment().format('YYYY-MM-DD HH:mm:ss')
// this.SlotVisible = true
// this.spinning = true
// getAvailableCtnsBySlot({ slotId: row.id }).then(res => {
// if (res.success) {
// this.slotEdit = row
// if (res.data.length > 0) {
// res.data.forEach(item => {
// item.maxnum = item.ctnnum
// })
// this.$set(this.CreateData, 'CtnList', res.data)
// this.ctnListCopy = JSON.parse(JSON.stringify(res.data))
// } else {
// this.$message.error('')
// this.$set(this.CreateData, 'CtnList', [])
// }
// this.$forceUpdate()
// } else {
// this.$message.error(res.message)
// }
// this.spinning = false
// })
setModalProps({ loading: true })
getAvailableCtnsBySlot({ slotId: row.id }).then(res => {
if (res.successed) {
slotEdit.value = row
if (res.data.length > 0) {
res.data.forEach(item => {
item.maxnum = item.ctnnum
})
CtnList.value = res.data
ctnListCopy.value = JSON.parse(JSON.stringify(res.data))
} else {
createMessage.error('可用箱子为空,请选择其它舱位生成订舱')
CtnList.value = []
}
} else {
createMessage.error(res.message)
}
setModalProps({ loading: false })
})
}
function handleSave() {
console.log(getFieldsValue())
}
</script>

@ -23,8 +23,8 @@ import { useMessage } from '/@/hooks/web/useMessage'
const { createMessage } = useMessage()
const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => {
setModalProps({ loading: false })
resetFields()
if (data.type === 'edit') {
setFieldsValue({
...data.row
})

@ -57,7 +57,7 @@ const [registerTable, { reload, setLoading, getPaginationRef, getSelectRows, set
const res: API.DataResult = await BookingLabelPageList(p)
return new Promise((resolve) => {
resolve({
data: res.data, total: 10
data: res.data, total: res.count
})
})
},

@ -61,7 +61,7 @@
<a-button type="link"><i class="iconfont icon-duibi"></i>重新比对</a-button>
</a-popconfirm>
</template>
<template v-if="taskType === 'DRAFT' || taskType === 'SEAWAY BILL'">
<template v-if="taskType === 'DRAFT' || taskType === 'SEAWAY BILL'">
<a-popconfirm title="确定批量转发当前选择项?" ok-text="" cancel-text="" @confirm="SendEmailFun"
@cancel="cancelFun">
<a-button type="link"><i class="iconfont icon-31zhuanfa"></i>批量转发</a-button>
@ -71,13 +71,13 @@
<a-button type="link">批量下载</a-button>
</a-popconfirm>
</template>
<template v-if="taskType === 'DRAFT'">
<template v-if="taskType === 'DRAFT'">
<a-popconfirm title="确定计算当前选择项?" ok-text="" cancel-text="" @confirm="laraPaperCalc"
@cancel="cancelFun">
<a-button type="link"><i class="iconfont icon-52"></i>页数计算</a-button>
</a-popconfirm>
</template>
<template v-if="taskType === 'ORIGINAL_DOWN'">
<template v-if="taskType === 'ORIGINAL_DOWN'">
<a-popconfirm title="确定COPY打印当前选择项" ok-text="" cancel-text="" @confirm="copyPrintFun"
@cancel="cancelFun">
<a-button type="link"><i class="iconfont icon-weibiaoti--"></i>COPY打印</a-button>
@ -97,8 +97,8 @@
<a-button type="link" @click="laraRecordFun"><i
class="iconfont icon-touzijilu"></i>LARA记录</a-button>
</template>
</template>
<template #toolbar>
</template>
<template #toolbar>
</template> -->
<template v-slot:bodyCell="{ column, record }">
<template v-if="column.key === 'action'">
@ -134,6 +134,8 @@ import { formatParams } from '/@/hooks/web/common'
import { searchFormSchema } from './columns'
import { BasicTable, useTable, TableAction } from '/@/components/Table'
import { GetCurrentTotalStat, mskGetPage } from './api'
import { useGo } from '/@/hooks/web/usePage'
const go = useGo()
const data = {
"levelTop": [
{
@ -418,6 +420,7 @@ const taskType = ref('') //任务类型
const activeTopKey = ref('') //tab key
const activeNextKey = ref('') //tab key
const activeTreeKey = ref([]) // key
// key
function getCurrentTotalStat() {
levelreLoading.value = true
levelLoading.value = true
@ -463,7 +466,7 @@ function selectNextLevel(list, key) {
})
return arr
}
//
function changeTopLevel() {
levelNext.value = selectNextLevel(levelNextAll.value, activeTopKey.value)
activeNextKey.value = levelNext.value[0].key
@ -479,7 +482,7 @@ function handleAdd() {
function init() {
}
//
function changeNextLevel() {
// this.getList({ status: this.activeNextKey })
// this.$set(this.gridOptions, 'loading', true)
@ -522,223 +525,223 @@ const [registerTable, { reload, setLoading, getPaginationRef, getSelectRows, set
return new Promise((resolve) => {
resolve({
data: [
{
"pK_ID": "08dc4a56-2332-4137-8423-1f45ce1fc933",
"tasK_NO": "TSK202403220081",
"tasK_TYPE": "BC",
"tasK_SOURCE": "MAIL_PARSE",
"status": "Complete",
"statuS_NAME": "已完成",
"tasK_TITLE": "邮件-BC DUMMY BARGE/1234 ETD:2024-03-30 BLNo:237663466",
"tasK_DESP": "邮件-BC DUMMY BARGE/1234 ETD:2024-03-30 BLNo:237663466",
"ouT_BUSI_NO": "MailParseReceive_08dc4a56-22dc-4e1d-8f1b-a3a36050e394",
"ouT_BUSI_TYPE": null,
"tasK_BASE_TYPE": "BC",
"carrieR_ID": "MSK",
"mbL_NO": "237663466",
"remark": null,
"iS_EXCEPT": 0,
"iS_PUBLIC": 0,
"iS_COMPLETE": 1,
"begiN_DATE": null,
"completE_DATE": "2024-03-22 18:04:15",
"booK_ORDER_NO": null,
"resulT_NOTE": null,
"etd": "2024-03-30 00:00:00",
"completE_DEAL": "手工完成",
"completE_DEAL_NAME": null,
"issuE_TYPE": null,
"issuE_TYPE_NAME": null,
"sendeR_CODE": null,
"sendeR_NAME": null,
"tasK_REQ_USERID": 0,
"tasK_REQ_USERNAME": null,
"contA_INFO": "40HC*1",
"vesseL_VOYNO": "DUMMY BARGE/1234",
"yarD_NAME": null,
"trucK_NAME": null,
"customeR_ID": null,
"customeR_NAME": null,
"needArriveTime": null,
"createdTime": "2024-03-22 17:55:00",
"updatedTime": "2024-03-22 18:01:34",
"createdUserId": 527361102848069,
"createdUserName": "邮箱操作",
"updatedUserId": 524224711450693,
"updatedUserName": "石慧",
"realUserId": 524224711450693,
"realUserName": "石慧",
"isDeleted": 0,
"tenantId": 524224710131781,
"tenantName": "青岛康乾国际物流有限公司",
"batcH_STATIC": null,
"djyUserId": null,
"systeM_CODE": null,
"systeM_NAME": null
},
{
"pK_ID": "08dc4a4d-30b9-4d3c-811e-7c95ecd7328c",
"tasK_NO": "TSK202403220064",
"tasK_TYPE": "CUT_MODIFY",
"tasK_SOURCE": "MAIL_PARSE",
"status": "Complete",
"statuS_NAME": "已完成",
"tasK_TITLE": "邮件-CUT_MODIFY Vessel Voyno:ADAMS/413S",
"tasK_DESP": "邮件-CUT_MODIFY Vessel Voyno:ADAMS/413S",
"ouT_BUSI_NO": "MailParseReceive_08dc4a4d-306e-4e4e-8a21-7435a2a0678b",
"ouT_BUSI_TYPE": null,
"tasK_BASE_TYPE": "CUT_MODIFY",
"carrieR_ID": "MSK",
"mbL_NO": "237493699",
"remark": null,
"iS_EXCEPT": 0,
"iS_PUBLIC": 1,
"iS_COMPLETE": 1,
"begiN_DATE": null,
"completE_DATE": "2024-03-22 17:53:53",
"booK_ORDER_NO": null,
"resulT_NOTE": null,
"etd": null,
"completE_DEAL": "手工完成",
"completE_DEAL_NAME": null,
"issuE_TYPE": null,
"issuE_TYPE_NAME": null,
"sendeR_CODE": null,
"sendeR_NAME": null,
"tasK_REQ_USERID": 0,
"tasK_REQ_USERNAME": null,
"contA_INFO": "",
"vesseL_VOYNO": null,
"yarD_NAME": null,
"trucK_NAME": null,
"customeR_ID": null,
"customeR_NAME": null,
"needArriveTime": null,
"createdTime": "2024-03-22 16:50:57",
"updatedTime": "2024-03-22 16:50:57",
"createdUserId": 527361102848069,
"createdUserName": "邮箱操作",
"updatedUserId": 0,
"updatedUserName": null,
"realUserId": null,
"realUserName": null,
"isDeleted": 0,
"tenantId": 524224710131781,
"tenantName": "青岛康乾国际物流有限公司",
"batcH_STATIC": null,
"djyUserId": null,
"systeM_CODE": null,
"systeM_NAME": null
},
{
"pK_ID": "08dc4a4b-953d-43a2-88ea-e50860ec16b9",
"tasK_NO": "TSK202403220063",
"tasK_TYPE": "CUT_MODIFY",
"tasK_SOURCE": "MAIL_PARSE",
"status": "Complete",
"statuS_NAME": "已完成",
"tasK_TITLE": "邮件-CUT_MODIFY Vessel Voyno:ADAMS/413S",
"tasK_DESP": "邮件-CUT_MODIFY Vessel Voyno:ADAMS/413S",
"ouT_BUSI_NO": "MailParseReceive_08dc4a4b-94f1-471b-8afe-0b86f589d2d0",
"ouT_BUSI_TYPE": null,
"tasK_BASE_TYPE": "CUT_MODIFY",
"carrieR_ID": "MSK",
"mbL_NO": "237493699",
"remark": null,
"iS_EXCEPT": 0,
"iS_PUBLIC": 1,
"iS_COMPLETE": 1,
"begiN_DATE": null,
"completE_DATE": "2024-03-22 17:57:12",
"booK_ORDER_NO": null,
"resulT_NOTE": null,
"etd": null,
"completE_DEAL": "手工完成",
"completE_DEAL_NAME": null,
"issuE_TYPE": null,
"issuE_TYPE_NAME": null,
"sendeR_CODE": null,
"sendeR_NAME": null,
"tasK_REQ_USERID": 0,
"tasK_REQ_USERNAME": null,
"contA_INFO": "",
"vesseL_VOYNO": null,
"yarD_NAME": null,
"trucK_NAME": null,
"customeR_ID": null,
"customeR_NAME": null,
"needArriveTime": null,
"createdTime": "2024-03-22 16:39:27",
"updatedTime": "2024-03-22 16:39:27",
"createdUserId": 527361102848069,
"createdUserName": "邮箱操作",
"updatedUserId": 0,
"updatedUserName": null,
"realUserId": null,
"realUserName": null,
"isDeleted": 0,
"tenantId": 524224710131781,
"tenantName": "青岛康乾国际物流有限公司",
"batcH_STATIC": null,
"djyUserId": null,
"systeM_CODE": null,
"systeM_NAME": null
},
{
"pK_ID": "08dc4a1e-2f72-499b-883e-11a9f12677b8",
"tasK_NO": "TSK202403220014",
"tasK_TYPE": "VGM_FEEDBACK",
"tasK_SOURCE": "MAIL_PARSE",
"status": "Complete",
"statuS_NAME": "已完成",
"tasK_TITLE": "邮件-VGM_FEEDBACK BLNo:237492643",
"tasK_DESP": "邮件-VGM_FEEDBACK BLNo:237492643",
"ouT_BUSI_NO": "MailParseReceive_08dc4a1e-2e68-42e1-8f7e-7b30aa7d65f3",
"ouT_BUSI_TYPE": null,
"tasK_BASE_TYPE": "VGM_FEEDBACK",
"carrieR_ID": "MSK",
"mbL_NO": "237492643",
"remark": null,
"iS_EXCEPT": 0,
"iS_PUBLIC": 1,
"iS_COMPLETE": 1,
"begiN_DATE": null,
"completE_DATE": "2024-03-22 11:24:21",
"booK_ORDER_NO": null,
"resulT_NOTE": null,
"etd": null,
"completE_DEAL": "手工完成",
"completE_DEAL_NAME": null,
"issuE_TYPE": null,
"issuE_TYPE_NAME": null,
"sendeR_CODE": null,
"sendeR_NAME": null,
"tasK_REQ_USERID": 0,
"tasK_REQ_USERNAME": null,
"contA_INFO": "",
"vesseL_VOYNO": null,
"yarD_NAME": null,
"trucK_NAME": null,
"customeR_ID": null,
"customeR_NAME": null,
"needArriveTime": null,
"createdTime": "2024-03-22 11:14:29",
"updatedTime": "2024-03-22 11:14:29",
"createdUserId": 527361102848069,
"createdUserName": "邮箱操作",
"updatedUserId": 0,
"updatedUserName": null,
"realUserId": null,
"realUserName": null,
"isDeleted": 0,
"tenantId": 524224710131781,
"tenantName": "青岛康乾国际物流有限公司",
"batcH_STATIC": null,
"djyUserId": null,
"systeM_CODE": null,
"systeM_NAME": null
}
], total: 10
{
"pK_ID": "08dc4a56-2332-4137-8423-1f45ce1fc933",
"tasK_NO": "TSK202403220081",
"tasK_TYPE": "BC",
"tasK_SOURCE": "MAIL_PARSE",
"status": "Complete",
"statuS_NAME": "已完成",
"tasK_TITLE": "邮件-BC DUMMY BARGE/1234 ETD:2024-03-30 BLNo:237663466",
"tasK_DESP": "邮件-BC DUMMY BARGE/1234 ETD:2024-03-30 BLNo:237663466",
"ouT_BUSI_NO": "MailParseReceive_08dc4a56-22dc-4e1d-8f1b-a3a36050e394",
"ouT_BUSI_TYPE": null,
"tasK_BASE_TYPE": "BC",
"carrieR_ID": "MSK",
"mbL_NO": "237663466",
"remark": null,
"iS_EXCEPT": 0,
"iS_PUBLIC": 0,
"iS_COMPLETE": 1,
"begiN_DATE": null,
"completE_DATE": "2024-03-22 18:04:15",
"booK_ORDER_NO": null,
"resulT_NOTE": null,
"etd": "2024-03-30 00:00:00",
"completE_DEAL": "手工完成",
"completE_DEAL_NAME": null,
"issuE_TYPE": null,
"issuE_TYPE_NAME": null,
"sendeR_CODE": null,
"sendeR_NAME": null,
"tasK_REQ_USERID": 0,
"tasK_REQ_USERNAME": null,
"contA_INFO": "40HC*1",
"vesseL_VOYNO": "DUMMY BARGE/1234",
"yarD_NAME": null,
"trucK_NAME": null,
"customeR_ID": null,
"customeR_NAME": null,
"needArriveTime": null,
"createdTime": "2024-03-22 17:55:00",
"updatedTime": "2024-03-22 18:01:34",
"createdUserId": 527361102848069,
"createdUserName": "邮箱操作",
"updatedUserId": 524224711450693,
"updatedUserName": "石慧",
"realUserId": 524224711450693,
"realUserName": "石慧",
"isDeleted": 0,
"tenantId": 524224710131781,
"tenantName": "青岛康乾国际物流有限公司",
"batcH_STATIC": null,
"djyUserId": null,
"systeM_CODE": null,
"systeM_NAME": null
},
{
"pK_ID": "08dc4a4d-30b9-4d3c-811e-7c95ecd7328c",
"tasK_NO": "TSK202403220064",
"tasK_TYPE": "CUT_MODIFY",
"tasK_SOURCE": "MAIL_PARSE",
"status": "Complete",
"statuS_NAME": "已完成",
"tasK_TITLE": "邮件-CUT_MODIFY Vessel Voyno:ADAMS/413S",
"tasK_DESP": "邮件-CUT_MODIFY Vessel Voyno:ADAMS/413S",
"ouT_BUSI_NO": "MailParseReceive_08dc4a4d-306e-4e4e-8a21-7435a2a0678b",
"ouT_BUSI_TYPE": null,
"tasK_BASE_TYPE": "CUT_MODIFY",
"carrieR_ID": "MSK",
"mbL_NO": "237493699",
"remark": null,
"iS_EXCEPT": 0,
"iS_PUBLIC": 1,
"iS_COMPLETE": 1,
"begiN_DATE": null,
"completE_DATE": "2024-03-22 17:53:53",
"booK_ORDER_NO": null,
"resulT_NOTE": null,
"etd": null,
"completE_DEAL": "手工完成",
"completE_DEAL_NAME": null,
"issuE_TYPE": null,
"issuE_TYPE_NAME": null,
"sendeR_CODE": null,
"sendeR_NAME": null,
"tasK_REQ_USERID": 0,
"tasK_REQ_USERNAME": null,
"contA_INFO": "",
"vesseL_VOYNO": null,
"yarD_NAME": null,
"trucK_NAME": null,
"customeR_ID": null,
"customeR_NAME": null,
"needArriveTime": null,
"createdTime": "2024-03-22 16:50:57",
"updatedTime": "2024-03-22 16:50:57",
"createdUserId": 527361102848069,
"createdUserName": "邮箱操作",
"updatedUserId": 0,
"updatedUserName": null,
"realUserId": null,
"realUserName": null,
"isDeleted": 0,
"tenantId": 524224710131781,
"tenantName": "青岛康乾国际物流有限公司",
"batcH_STATIC": null,
"djyUserId": null,
"systeM_CODE": null,
"systeM_NAME": null
},
{
"pK_ID": "08dc4a4b-953d-43a2-88ea-e50860ec16b9",
"tasK_NO": "TSK202403220063",
"tasK_TYPE": "CUT_MODIFY",
"tasK_SOURCE": "MAIL_PARSE",
"status": "Complete",
"statuS_NAME": "已完成",
"tasK_TITLE": "邮件-CUT_MODIFY Vessel Voyno:ADAMS/413S",
"tasK_DESP": "邮件-CUT_MODIFY Vessel Voyno:ADAMS/413S",
"ouT_BUSI_NO": "MailParseReceive_08dc4a4b-94f1-471b-8afe-0b86f589d2d0",
"ouT_BUSI_TYPE": null,
"tasK_BASE_TYPE": "CUT_MODIFY",
"carrieR_ID": "MSK",
"mbL_NO": "237493699",
"remark": null,
"iS_EXCEPT": 0,
"iS_PUBLIC": 1,
"iS_COMPLETE": 1,
"begiN_DATE": null,
"completE_DATE": "2024-03-22 17:57:12",
"booK_ORDER_NO": null,
"resulT_NOTE": null,
"etd": null,
"completE_DEAL": "手工完成",
"completE_DEAL_NAME": null,
"issuE_TYPE": null,
"issuE_TYPE_NAME": null,
"sendeR_CODE": null,
"sendeR_NAME": null,
"tasK_REQ_USERID": 0,
"tasK_REQ_USERNAME": null,
"contA_INFO": "",
"vesseL_VOYNO": null,
"yarD_NAME": null,
"trucK_NAME": null,
"customeR_ID": null,
"customeR_NAME": null,
"needArriveTime": null,
"createdTime": "2024-03-22 16:39:27",
"updatedTime": "2024-03-22 16:39:27",
"createdUserId": 527361102848069,
"createdUserName": "邮箱操作",
"updatedUserId": 0,
"updatedUserName": null,
"realUserId": null,
"realUserName": null,
"isDeleted": 0,
"tenantId": 524224710131781,
"tenantName": "青岛康乾国际物流有限公司",
"batcH_STATIC": null,
"djyUserId": null,
"systeM_CODE": null,
"systeM_NAME": null
},
{
"pK_ID": "08dc4a1e-2f72-499b-883e-11a9f12677b8",
"tasK_NO": "TSK202403220014",
"tasK_TYPE": "VGM_FEEDBACK",
"tasK_SOURCE": "MAIL_PARSE",
"status": "Complete",
"statuS_NAME": "已完成",
"tasK_TITLE": "邮件-VGM_FEEDBACK BLNo:237492643",
"tasK_DESP": "邮件-VGM_FEEDBACK BLNo:237492643",
"ouT_BUSI_NO": "MailParseReceive_08dc4a1e-2e68-42e1-8f7e-7b30aa7d65f3",
"ouT_BUSI_TYPE": null,
"tasK_BASE_TYPE": "VGM_FEEDBACK",
"carrieR_ID": "MSK",
"mbL_NO": "237492643",
"remark": null,
"iS_EXCEPT": 0,
"iS_PUBLIC": 1,
"iS_COMPLETE": 1,
"begiN_DATE": null,
"completE_DATE": "2024-03-22 11:24:21",
"booK_ORDER_NO": null,
"resulT_NOTE": null,
"etd": null,
"completE_DEAL": "手工完成",
"completE_DEAL_NAME": null,
"issuE_TYPE": null,
"issuE_TYPE_NAME": null,
"sendeR_CODE": null,
"sendeR_NAME": null,
"tasK_REQ_USERID": 0,
"tasK_REQ_USERNAME": null,
"contA_INFO": "",
"vesseL_VOYNO": null,
"yarD_NAME": null,
"trucK_NAME": null,
"customeR_ID": null,
"customeR_NAME": null,
"needArriveTime": null,
"createdTime": "2024-03-22 11:14:29",
"updatedTime": "2024-03-22 11:14:29",
"createdUserId": 527361102848069,
"createdUserName": "邮箱操作",
"updatedUserId": 0,
"updatedUserName": null,
"realUserId": null,
"realUserName": null,
"isDeleted": 0,
"tenantId": 524224710131781,
"tenantName": "青岛康乾国际物流有限公司",
"batcH_STATIC": null,
"djyUserId": null,
"systeM_CODE": null,
"systeM_NAME": null
}
], total: 10
})
})
},
@ -775,12 +778,179 @@ const [registerTable, { reload, setLoading, getPaginationRef, getSelectRows, set
function handledbclick() {
}
function handleEdit(){
import { useRouter } from 'vue-router'
const router = useRouter();
function handleEdit(data) {
switch (data.tasK_TYPE) {
case 'VGM_COMPARE':
// VGM
router.push({
path: '/commontaskmanage/TaskVgmContrast',
query: { taskPKId: data.pK_ID, type: data.status }
});
break;
case 'INVOICE_BILL_MAIL':
//
router.push({
path: '/commontaskmanage/VoyageBill',
query: { taskPKId: data.pK_ID }
});
break;
case 'PER_BILL':
//
router.push({
path: '/commontaskmanage/singleTicket',
query: { taskPKId: data.pK_ID }
});
break;
case 'CHANGE_SHIP':
//
router.push({
path: '/commontaskmanage/TaskChangeShip',
query: { taskPKId: data.pK_ID, type: 'change' }
});
break;
case 'ABORT_CHANGE_SHIP':
//
router.push({
path: '/commontaskmanage/TaskChangeShip',
query: { taskPKId: data.pK_ID, type: 'abortChange' }
});
break;
case 'ORIGINAL_LOST':
//
router.push({
path: '/commontaskmanage/TaskOriginalLost',
query: { taskPKId: data.pK_ID }
});
break;
case 'SHIPPING_ORDER':
//
router.push({
path: '/commontaskmanage/BookingDetails',
query: { taskPKId: data.pK_ID }
});
break;
case 'SI_FEEDBACK':
//
router.push({
path: '/commontaskmanage/TaskmanageDetail',
query: { taskPKId: data.pK_ID }
});
break;
case 'TRUCK_DISPATCH':
//
router.push({
name: 'SendCarAdd',
query: { type: 'Edit', taskPKId: data.pK_ID }
});
break;
case 'BC':
// BC
router.push({
path: '/commontaskmanage/BcEditing',
query: { taskPKId: data.pK_ID }
});
break;
case 'BC_MODIFY':
// BC
router.push({
path: '/commontaskmanage/BCModify',
query: { taskPKId: data.pK_ID }
});
break;
case 'CANCELLATION':
// Cancellation
router.push({
path: '/commontaskmanage/Cancellation',
query: { taskPKId: data.pK_ID }
});
break;
case 'ROLLING_NOMINATION':
// ROLLING_NOMINATION
router.push({
path: '/commontaskmanage/rollingNomination',
query: { taskPKId: data.pK_ID }
});
break;
case 'VGM_FEEDBACK':
// VGM_FEEDBACK
router.push({
path: '/commontaskmanage/vgmDetail',
query: { taskPKId: data.pK_ID, type: 'VGM_FEEDBACK' }
});
break;
case 'CAUTION_NOTICE':
// CAUTION_NOTICE
router.push({
path: '/commontaskmanage/cautionNotice',
query: { taskPKId: data.pK_ID }
});
break;
case 'VGM_MISSING':
// VGM_MISSING
router.push({
path: '/commontaskmanage/vgmDetail',
query: { taskPKId: data.pK_ID, type: 'VGM_MISSING' }
});
break;
case 'CUT_MODIFY':
// CUT_MODIFY
router.push({
path: '/commontaskmanage/cutTime',
query: { taskPKId: data.pK_ID }
});
break;
case 'POD_DISCHARGE_FULL':
// POD_DISCHARGE_FULL
router.push({
path: '/commontaskmanage/POD_DISCHARGE_FULL',
query: { taskPKId: data.pK_ID }
});
break;
case 'TRNAS_PLAN_HAS_CHANGE':
// TRNAS_PLAN_HAS_CHANGE
router.push({
path: '/commontaskmanage/trnasPlan',
query: { taskPKId: data.pK_ID }
});
break;
case 'DRAFT':
// DRAFT
router.push({
path: '/commontaskmanage/draft',
query: { taskPKId: data.pK_ID }
});
break;
case 'ROUTE_CUT_CHANGE':
// ROUTE_CUT_CHANGE
router.push({
path: '/commontaskmanage/cutChange',
query: { taskPKId: data.pK_ID }
});
break;
case 'POD_GATEOUT_FULL':
// POD_GATEOUT_FULL
router.push({
path: '/commontaskmanage/POD_GATEOUT_FULL',
query: { taskPKId: data.pK_ID }
});
break;
default:
//
router.push({
path: '/commontaskmanage/BookingDetails',
query: { taskPKId: data.pK_ID }
});
break;
}
}
function handleDelete(){
function handleDelete() {
}
//
function handleClickTree(row, index) {
levelTree.value.map((item, index) => {
item.active = false

@ -0,0 +1,6 @@
<template>
123
</template>
<script lang="ts" setup >
</script>
Loading…
Cancel
Save