|
|
|
@ -1,244 +1,243 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="ds-sea-export-table">
|
|
|
|
|
<BasicTable class="ds-table" @register="registerTable" @rowDbClick="handledbclick">
|
|
|
|
|
<template #tableTitle>
|
|
|
|
|
<div>
|
|
|
|
|
<TableActionBar :selectRow="getVxeSelectRows" :reload="reload">
|
|
|
|
|
<tableActionBarRight :selectRow="getVxeSelectRows" :reload="reload"></tableActionBarRight>
|
|
|
|
|
<Divider type="vertical" style="margin-top: 11px; background-color: #CED5D9;" />
|
|
|
|
|
</TableActionBar>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:bodyCell="{ column, record }">
|
|
|
|
|
<!-- 订单状态 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'businessStatusName'">
|
|
|
|
|
<span v-if="record.businessStatusName == '已提交'" class="TIJIAO">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.businessStatusName == '已审单'" class="YSDAN">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.businessStatusName == '已放单'" class="YFD">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.businessStatusName == '已放舱'" class="YFC">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.businessStatusName == '已收到BC'" class="YSDBC">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.businessStatusName == '已订舱'" class="YDC">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else class="WTJ">{{ record.businessStatusName || '未提交' }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 委托编号 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'customerNo'">
|
|
|
|
|
<div class="customerNo">
|
|
|
|
|
<span v-if="record.customerNo" @click="FnCopy(record.customerNo)" class="iconfont icon-fuzhi3"></span>
|
|
|
|
|
<span>{{ record.customerNo }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 应收费用 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'arFeeStatus'">
|
|
|
|
|
<span v-if="record.arFeeStatus == 0" class="ds-green-tag">
|
|
|
|
|
{{ record.arFeeStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.arFeeStatus == 1" class="ds-blue-tag">{{
|
|
|
|
|
record.arFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="/^2|3|4|5|6$/.test(record.arFeeStatus)" class="ds-orange-tag">{{
|
|
|
|
|
record.arFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="/^7|8$/.test(record.arFeeStatus)" class="ds-red-tag">{{
|
|
|
|
|
record.arFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else class="ds-purple-tag">{{ record.arFeeStatusName }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 应付费用 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'apFeeStatus'">
|
|
|
|
|
<span v-if="record.apFeeStatus == 0" class="ds-green-tag">{{
|
|
|
|
|
record.apFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="record.apFeeStatus == 1" class="ds-blue-tag">{{
|
|
|
|
|
record.apFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="/^2|3|4|5|6$/.test(record.apFeeStatus)" class="ds-orange-tag">{{
|
|
|
|
|
record.apFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="/^7|8$/.test(record.apFeeStatus)" class="ds-red-tag">{{
|
|
|
|
|
record.apFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else class="ds-purple-tag">{{ record.apFeeStatusName }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 主题单号 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'mblno'">
|
|
|
|
|
<div class="mblno">
|
|
|
|
|
<span v-if="record.mblno" @click="FnCopy(record.mblno)" class="iconfont icon-fuzhi3"></span>
|
|
|
|
|
<!-- <span @click="editColumns(record.mblno)">{{ record.mblno }}</span> -->
|
|
|
|
|
<span>{{ record.mblno }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 应收开票 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'arInvoiceStatus'">
|
|
|
|
|
<a-tooltip>
|
|
|
|
|
<template #title>{{ record.arInvoiceStatusName }}</template>
|
|
|
|
|
<i v-if="record.arInvoiceStatus == 2" class="iconfont icon-bingtu3"></i>
|
|
|
|
|
<i v-else-if="record.arInvoiceStatus == 1" class="iconfont icon-duihao1"></i>
|
|
|
|
|
<i v-else class="iconfont icon-chahao"></i>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 应付开票 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'apInvoiceStatus'">
|
|
|
|
|
<a-tooltip>
|
|
|
|
|
<template #title>{{ record.apInvoiceStatusName }}</template>
|
|
|
|
|
<i v-if="record.apInvoiceStatus == 2" class="iconfont icon-bingtu3"></i>
|
|
|
|
|
<i v-else-if="record.apInvoiceStatus == 1" class="iconfont icon-duihao1"></i>
|
|
|
|
|
<i v-else class="iconfont icon-chahao"></i>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 应收对账 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'arCheckStatus'">
|
|
|
|
|
<a-tooltip>
|
|
|
|
|
<template #title>{{ record.arCheckStatusName }}</template>
|
|
|
|
|
<i v-if="record.arCheckStatus == 2" class="iconfont icon-bingtu3"></i>
|
|
|
|
|
<i v-else-if="record.arCheckStatus == 1" class="iconfont icon-duihao1"></i>
|
|
|
|
|
<i v-else class="iconfont icon-chahao"></i>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 业务锁定 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'isBusinessLocking'">
|
|
|
|
|
<span v-if="record.isBusinessLocking">
|
|
|
|
|
<i class="iconfont icon-locksuo"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<span v-else> <i class="iconfont icon-a-jiesuo1_jiesuo"></i> </span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 费用锁定 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'isFeeLocking'">
|
|
|
|
|
<span v-if="record.isFeeLocking">
|
|
|
|
|
<i class="iconfont icon-locksuo"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<span v-else> <i class="iconfont icon-a-jiesuo1_jiesuo"></i> </span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 运踪 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'bookStatus'">
|
|
|
|
|
<div class="ds-table">
|
|
|
|
|
<BasicTable @register="registerTable" @rowDbClick="handledbclick">
|
|
|
|
|
<template #tableTitle>
|
|
|
|
|
<div>
|
|
|
|
|
<span v-if="record.isBookingYZ !== '0'" @click="checkBookStatus(record.id)" style="cursor: pointer; color: rgb(7, 231, 56);"
|
|
|
|
|
class="iconfont icon-refresh-1-copy"></span>
|
|
|
|
|
<span v-for="(item, index) in record.bookingStatus" :key="item.id">
|
|
|
|
|
<a-tooltip placement="top" v-if="item.statusTime">
|
|
|
|
|
<template #title>{{ item.statusTime }}</template>
|
|
|
|
|
<span @click="handleGetWebDataYZ(record, item.statusCode)" :class="{ yzActive: item.isChecked }">
|
|
|
|
|
{{ item.statusName }}
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<span style="cursor: pointer" @click="handleGetWebDataYZ(record, record.statusCode)"
|
|
|
|
|
:class="{ active: item.isChecked }" v-else>{{ item.statusName }}</span>
|
|
|
|
|
<span v-if="index != record.bookingStatus?.length - 1">-</span>
|
|
|
|
|
</span>
|
|
|
|
|
<TableActionBar :selectRow="getVxeSelectRows" :reload="reload">
|
|
|
|
|
<tableActionBarRight :selectRow="getVxeSelectRows" :reload="reload"></tableActionBarRight>
|
|
|
|
|
<Divider type="vertical" style="margin-top: 11px; background-color: #CED5D9;" />
|
|
|
|
|
</TableActionBar>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 提箱返场 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'statusLog'">
|
|
|
|
|
<div v-if="record.statusLog" class="txfc">
|
|
|
|
|
<div >
|
|
|
|
|
<div class="billtrace-btn1 txfc" style="display: flex; align-items: center">
|
|
|
|
|
<i style="cursor: pointer; color: rgb(7, 231, 56); margin-right: 5px"
|
|
|
|
|
@click="handleRefshYard(record.id)" class="iconfont icon-refresh-1-copy"></i>
|
|
|
|
|
<a-popover v-if="record.statusLog.length > 0">
|
|
|
|
|
<template #content>
|
|
|
|
|
<div>
|
|
|
|
|
<span class="txfcSpan" style="width: 120px">箱号</span>
|
|
|
|
|
<span @click="handleGetWebData(record, 'YARD')" class="txfcSpan">提箱</span>
|
|
|
|
|
<span @click="handleGetWebData(record, 'YARD')" class="txfcSpan">返场</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-for="(item, index) in record.statusLog" :key="index">
|
|
|
|
|
<span class="txfcSpan" style="width: 120px">{{ item.cntrno }}</span>
|
|
|
|
|
<span class="txfcSpan">{{ item.txOpTime }}</span>
|
|
|
|
|
<span class="txfcSpan">{{ item.fcOpTime }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="handleGetWebData(record, 'YARD')" :class="{ active: record.statusLog[0].txOpTime }">
|
|
|
|
|
提箱
|
|
|
|
|
</span>
|
|
|
|
|
<span @click="handleGetWebData(record, 'YARD')" :class="{ active: record.statusLog[0].fcOpTime }">
|
|
|
|
|
返场
|
|
|
|
|
<template v-slot:bodyCell="{ column, record }">
|
|
|
|
|
<!-- 订单状态 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'businessStatusName'">
|
|
|
|
|
<span v-if="record.businessStatusName == '已提交'" class="TIJIAO">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.businessStatusName == '已审单'" class="YSDAN">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.businessStatusName == '已放单'" class="YFD">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.businessStatusName == '已放舱'" class="YFC">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.businessStatusName == '已收到BC'" class="YSDBC">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.businessStatusName == '已订舱'" class="YDC">{{ record.businessStatusName }}</span>
|
|
|
|
|
<span v-else class="WTJ">{{ record.businessStatusName || '未提交' }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 委托编号 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'customerNo'">
|
|
|
|
|
<div class="customerNo">
|
|
|
|
|
<span v-if="record.customerNo" @click="FnCopy(record.customerNo)" class="iconfont icon-fuzhi3"></span>
|
|
|
|
|
<span>{{ record.customerNo }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 应收费用 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'arFeeStatus'">
|
|
|
|
|
<span v-if="record.arFeeStatus == 0" class="ds-green-tag">
|
|
|
|
|
{{ record.arFeeStatusName }}</span>
|
|
|
|
|
<span v-else-if="record.arFeeStatus == 1" class="ds-blue-tag">{{
|
|
|
|
|
record.arFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="/^2|3|4|5|6$/.test(record.arFeeStatus)" class="ds-orange-tag">{{
|
|
|
|
|
record.arFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="/^7|8$/.test(record.arFeeStatus)" class="ds-red-tag">{{
|
|
|
|
|
record.arFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else class="ds-purple-tag">{{ record.arFeeStatusName }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 应付费用 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'apFeeStatus'">
|
|
|
|
|
<span v-if="record.apFeeStatus == 0" class="ds-green-tag">{{
|
|
|
|
|
record.apFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="record.apFeeStatus == 1" class="ds-blue-tag">{{
|
|
|
|
|
record.apFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="/^2|3|4|5|6$/.test(record.apFeeStatus)" class="ds-orange-tag">{{
|
|
|
|
|
record.apFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="/^7|8$/.test(record.apFeeStatus)" class="ds-red-tag">{{
|
|
|
|
|
record.apFeeStatusName
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else class="ds-purple-tag">{{ record.apFeeStatusName }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 主题单号 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'mblno'">
|
|
|
|
|
<div class="mblno">
|
|
|
|
|
<span v-if="record.mblno" @click="FnCopy(record.mblno)" class="iconfont icon-fuzhi3"></span>
|
|
|
|
|
<!-- <span @click="editColumns(record.mblno)">{{ record.mblno }}</span> -->
|
|
|
|
|
<span>{{ record.mblno }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 应收开票 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'arInvoiceStatus'">
|
|
|
|
|
<a-tooltip>
|
|
|
|
|
<template #title>{{ record.arInvoiceStatusName }}</template>
|
|
|
|
|
<i v-if="record.arInvoiceStatus == 2" class="iconfont icon-bingtu3"></i>
|
|
|
|
|
<i v-else-if="record.arInvoiceStatus == 1" class="iconfont icon-duihao1"></i>
|
|
|
|
|
<i v-else class="iconfont icon-chahao"></i>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 应付开票 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'apInvoiceStatus'">
|
|
|
|
|
<a-tooltip>
|
|
|
|
|
<template #title>{{ record.apInvoiceStatusName }}</template>
|
|
|
|
|
<i v-if="record.apInvoiceStatus == 2" class="iconfont icon-bingtu3"></i>
|
|
|
|
|
<i v-else-if="record.apInvoiceStatus == 1" class="iconfont icon-duihao1"></i>
|
|
|
|
|
<i v-else class="iconfont icon-chahao"></i>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 应收对账 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'arCheckStatus'">
|
|
|
|
|
<a-tooltip>
|
|
|
|
|
<template #title>{{ record.arCheckStatusName }}</template>
|
|
|
|
|
<i v-if="record.arCheckStatus == 2" class="iconfont icon-bingtu3"></i>
|
|
|
|
|
<i v-else-if="record.arCheckStatus == 1" class="iconfont icon-duihao1"></i>
|
|
|
|
|
<i v-else class="iconfont icon-chahao"></i>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 业务锁定 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'isBusinessLocking'">
|
|
|
|
|
<span v-if="record.isBusinessLocking">
|
|
|
|
|
<i class="iconfont icon-locksuo"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<span v-else> <i class="iconfont icon-a-jiesuo1_jiesuo"></i> </span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 费用锁定 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'isFeeLocking'">
|
|
|
|
|
<span v-if="record.isFeeLocking">
|
|
|
|
|
<i class="iconfont icon-locksuo"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<span v-else> <i class="iconfont icon-a-jiesuo1_jiesuo"></i> </span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 运踪 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'bookStatus'">
|
|
|
|
|
<div>
|
|
|
|
|
<span v-if="record.isBookingYZ !== '0'" @click="checkBookStatus(record.id)" style="cursor: pointer; color: rgb(7, 231, 56);"
|
|
|
|
|
class="iconfont icon-refresh-1-copy"></span>
|
|
|
|
|
<span v-for="(item, index) in record.bookingStatus" :key="item.id">
|
|
|
|
|
<a-tooltip placement="top" v-if="item.statusTime">
|
|
|
|
|
<template #title>{{ item.statusTime }}</template>
|
|
|
|
|
<span @click="handleGetWebDataYZ(record, item.statusCode)" :class="{ yzActive: item.isChecked }">
|
|
|
|
|
{{ item.statusName }}
|
|
|
|
|
</span>
|
|
|
|
|
</a-popover>
|
|
|
|
|
<span v-if="record.statusLog.length > 0" style="margin-left: 5px">未提:{{ record.txopNumber }}/{{ record.statusLog.length }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<span style="cursor: pointer" @click="handleGetWebDataYZ(record, record.statusCode)"
|
|
|
|
|
:class="{ active: item.isChecked }" v-else>{{ item.statusName }}</span>
|
|
|
|
|
<span v-if="index != record.bookingStatus?.length - 1">-</span>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 格式单比对 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'lstDraftCompareRlt'">
|
|
|
|
|
<div class="goods-status">
|
|
|
|
|
<a-popover>
|
|
|
|
|
<template #content>
|
|
|
|
|
<p>
|
|
|
|
|
比对时间: <span>{{ record.lstDraftCompareDate }}</span>
|
|
|
|
|
</p>
|
|
|
|
|
</template>
|
|
|
|
|
<div>
|
|
|
|
|
<div v-if="record.lstDraftCompareRlt == 'DIFF'">
|
|
|
|
|
<i class="icon-shibai iconfont compareIcon" style="color: red;"></i>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-else-if="record.lstDraftCompareRlt == 'NO DIFF'">
|
|
|
|
|
<i class="icon-chenggong iconfont compareIcon" style="color: green;"></i>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 提箱返场 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'statusLog'">
|
|
|
|
|
<div v-if="record.statusLog" class="txfc">
|
|
|
|
|
<div >
|
|
|
|
|
<div class="billtrace-btn1 txfc" style="display: flex; align-items: center">
|
|
|
|
|
<i style="cursor: pointer; color: rgb(7, 231, 56); margin-right: 5px"
|
|
|
|
|
@click="handleRefshYard(record.id)" class="iconfont icon-refresh-1-copy"></i>
|
|
|
|
|
<a-popover v-if="record.statusLog.length > 0">
|
|
|
|
|
<template #content>
|
|
|
|
|
<div>
|
|
|
|
|
<span class="txfcSpan" style="width: 120px">箱号</span>
|
|
|
|
|
<span @click="handleGetWebData(record, 'YARD')" class="txfcSpan">提箱</span>
|
|
|
|
|
<span @click="handleGetWebData(record, 'YARD')" class="txfcSpan">返场</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-for="(item, index) in record.statusLog" :key="index">
|
|
|
|
|
<span class="txfcSpan" style="width: 120px">{{ item.cntrno }}</span>
|
|
|
|
|
<span class="txfcSpan">{{ item.txOpTime }}</span>
|
|
|
|
|
<span class="txfcSpan">{{ item.fcOpTime }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="handleGetWebData(record, 'YARD')" :class="{ active: record.statusLog[0].txOpTime }">
|
|
|
|
|
提箱
|
|
|
|
|
</span>
|
|
|
|
|
<span @click="handleGetWebData(record, 'YARD')" :class="{ active: record.statusLog[0].fcOpTime }">
|
|
|
|
|
返场
|
|
|
|
|
</span>
|
|
|
|
|
</a-popover>
|
|
|
|
|
<span v-if="record.statusLog.length > 0" style="margin-left: 5px">未提:{{ record.txopNumber }}/{{ record.statusLog.length }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-popover>
|
|
|
|
|
<i v-if="record.lstDraftCompareRlt" title="查看比对结果" style="margin-left: 10px"
|
|
|
|
|
@click="handleFormatContrast(record)" class="icon-shiyongwendang iconfont compareIcon"></i>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 下货纸比对 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'lstShipOrderCompareRlt'">
|
|
|
|
|
<div class="goods-status">
|
|
|
|
|
<RedoOutlined style="margin-left: 10px" @click="excuteShippingOrderCompareBatch(record)" />
|
|
|
|
|
<a-popover>
|
|
|
|
|
<template #content>
|
|
|
|
|
<p>
|
|
|
|
|
比对方式:
|
|
|
|
|
<span>{{
|
|
|
|
|
record.lstShipOrderCompareMode
|
|
|
|
|
? record.lstShipOrderCompareMode == 'MANUAL'
|
|
|
|
|
? '手动'
|
|
|
|
|
: '自动'
|
|
|
|
|
: ''
|
|
|
|
|
}}</span>
|
|
|
|
|
<span>-{{ record.lstShipOrderCompareRltName }}</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
比对时间: <span>{{ record.lstShipOrderCompareDate }}</span>
|
|
|
|
|
</p>
|
|
|
|
|
</template>
|
|
|
|
|
<div style="cursor: pointer" @click="handleOpenResult(record)">
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'DIFF'">
|
|
|
|
|
<CloseCircleFilled :style="{ color: 'red' }" />
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'NO_DIFF'">
|
|
|
|
|
<CheckCircleFilled :style="{ color: '#54bc25' }" />
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'BEFORE_EQUAL'">
|
|
|
|
|
<CheckCircleFilled :style="{ color: 'rgb(187,37,155)' }" />
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'BEFORE_DIFF'">
|
|
|
|
|
<CloseCircleFilled :style="{ color: 'red' }" />
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'NO_DIFF_U'">
|
|
|
|
|
<CheckCircleFilled :style="{ color: '#54bc25' }" />
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 格式单比对 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'lstDraftCompareRlt'">
|
|
|
|
|
<div class="goods-status">
|
|
|
|
|
<a-popover>
|
|
|
|
|
<template #content>
|
|
|
|
|
<p>
|
|
|
|
|
比对时间: <span>{{ record.lstDraftCompareDate }}</span>
|
|
|
|
|
</p>
|
|
|
|
|
</template>
|
|
|
|
|
<div>
|
|
|
|
|
<div v-if="record.lstDraftCompareRlt == 'DIFF'">
|
|
|
|
|
<i class="icon-shibai iconfont compareIcon" style="color: red;"></i>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-else-if="record.lstDraftCompareRlt == 'NO DIFF'">
|
|
|
|
|
<i class="icon-chenggong iconfont compareIcon" style="color: green;"></i>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'DIFF_U'">
|
|
|
|
|
<CloseCircleFilled :style="{ color: 'red' }" />
|
|
|
|
|
</a-popover>
|
|
|
|
|
<i v-if="record.lstDraftCompareRlt" title="查看比对结果" style="margin-left: 10px"
|
|
|
|
|
@click="handleFormatContrast(record)" class="icon-shiyongwendang iconfont compareIcon"></i>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 下货纸比对 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'lstShipOrderCompareRlt'">
|
|
|
|
|
<div class="goods-status">
|
|
|
|
|
<RedoOutlined style="margin-left: 10px" @click="excuteShippingOrderCompareBatch(record)" />
|
|
|
|
|
<a-popover>
|
|
|
|
|
<template #content>
|
|
|
|
|
<p>
|
|
|
|
|
比对方式:
|
|
|
|
|
<span>{{
|
|
|
|
|
record.lstShipOrderCompareMode
|
|
|
|
|
? record.lstShipOrderCompareMode == 'MANUAL'
|
|
|
|
|
? '手动'
|
|
|
|
|
: '自动'
|
|
|
|
|
: ''
|
|
|
|
|
}}</span>
|
|
|
|
|
<span>-{{ record.lstShipOrderCompareRltName }}</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
比对时间: <span>{{ record.lstShipOrderCompareDate }}</span>
|
|
|
|
|
</p>
|
|
|
|
|
</template>
|
|
|
|
|
<div style="cursor: pointer" @click="handleOpenResult(record)">
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'DIFF'">
|
|
|
|
|
<CloseCircleFilled :style="{ color: 'red' }" />
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'NO_DIFF'">
|
|
|
|
|
<CheckCircleFilled :style="{ color: '#54bc25' }" />
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'BEFORE_EQUAL'">
|
|
|
|
|
<CheckCircleFilled :style="{ color: 'rgb(187,37,155)' }" />
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'BEFORE_DIFF'">
|
|
|
|
|
<CloseCircleFilled :style="{ color: 'red' }" />
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'NO_DIFF_U'">
|
|
|
|
|
<CheckCircleFilled :style="{ color: '#54bc25' }" />
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="record.lstShipOrderCompareRlt == 'DIFF_U'">
|
|
|
|
|
<CloseCircleFilled :style="{ color: 'red' }" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-popover>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:tableAction="{ record }">
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>编辑</span>
|
|
|
|
|
</a-popover>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<a-button type="link" @click="handledbclick(record)">
|
|
|
|
|
<span class="iconfont icon-icon_519"></span>
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
</BasicTable>
|
|
|
|
|
<!-- 合计 -->
|
|
|
|
|
<div class="static-box">
|
|
|
|
|
<h5 v-if="calcData.length" style="position: absolute; bottom: 68px; left: 22px">合计</h5>
|
|
|
|
|
<a-table class="ds-table" :columns="calcColumns" :data-source="calcData" :pagination="false"></a-table>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:tableAction="{ record }">
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>编辑</span>
|
|
|
|
|
</template>
|
|
|
|
|
<a-button type="link" @click="handledbclick(record)">
|
|
|
|
|
<span class="iconfont icon-icon_519"></span>
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
</BasicTable>
|
|
|
|
|
<!-- 合计 -->
|
|
|
|
|
<a-table class="static-box" :columns="calcColumns" :data-source="calcData" :pagination="false"></a-table>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 多提单号查询 -->
|
|
|
|
|
<a-modal class="ds-modal-small" title="多提单号查询" :maskClosable="false" :width="400" :visible="moreNumVisible"
|
|
|
|
@ -335,8 +334,6 @@ import { formatParams } from '/@/hooks/web/common'
|
|
|
|
|
const appStore = useAppStore()
|
|
|
|
|
const { createMessage } = useMessage()
|
|
|
|
|
const go = useGo()
|
|
|
|
|
// 空数据表格高度
|
|
|
|
|
const tbHeight = window.innerHeight - 310
|
|
|
|
|
// 合计列
|
|
|
|
|
const calcColumns = [
|
|
|
|
|
{
|
|
|
|
@ -508,10 +505,10 @@ const [registerTable, { reload, getVxeSelectRows, setLoading }] = useTable({
|
|
|
|
|
width: 60,
|
|
|
|
|
},
|
|
|
|
|
canResize: true,
|
|
|
|
|
resizeHeightOffset: 75,
|
|
|
|
|
resizeHeightOffset: 131,
|
|
|
|
|
immediate: false,
|
|
|
|
|
tableComponent: 'vxe',
|
|
|
|
|
autoHeight: tbHeight,
|
|
|
|
|
autoHeight: window.innerHeight - 416.5,
|
|
|
|
|
id: '0',
|
|
|
|
|
actionColumn: {
|
|
|
|
|
width: 60,
|
|
|
|
@ -657,6 +654,7 @@ onActivated(() => {
|
|
|
|
|
|
|
|
|
|
<style lang="less">
|
|
|
|
|
.ds-sea-export-table {
|
|
|
|
|
padding: 20px;
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
|
|
.TIJIAO {
|
|
|
|
@ -699,9 +697,7 @@ onActivated(() => {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.static-box {
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
padding-left: 20px;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.icon-fuzhi3 {
|
|
|
|
|