|
|
|
@ -10,17 +10,12 @@
|
|
|
|
|
<span class="iconfont icon-shujuyingshe"></span>
|
|
|
|
|
合票
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-upload
|
|
|
|
|
:customRequest="customRequest"
|
|
|
|
|
:multiple="false"
|
|
|
|
|
<a-upload :customRequest="customRequest" :multiple="false"
|
|
|
|
|
accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
|
|
|
|
:showUploadList="false"
|
|
|
|
|
name="file"
|
|
|
|
|
>
|
|
|
|
|
:showUploadList="false" name="file">
|
|
|
|
|
<a-button size="mini" type="link">
|
|
|
|
|
<span class="iconfont icon-a-17Fdaoru"></span>
|
|
|
|
|
导入</a-button
|
|
|
|
|
>
|
|
|
|
|
导入</a-button>
|
|
|
|
|
</a-upload>
|
|
|
|
|
<a-button type="link" @click="handleSuport" :loading="loadingExport" size="mini">
|
|
|
|
|
<span class="iconfont icon-jiantouxia"></span>
|
|
|
|
@ -36,12 +31,7 @@
|
|
|
|
|
<span class="iconfont icon-jiahao2fill"></span>
|
|
|
|
|
新增
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
title="确定删除吗?"
|
|
|
|
|
ok-text="确定"
|
|
|
|
|
cancel-text="取消"
|
|
|
|
|
@confirm="handleDeleteAll"
|
|
|
|
|
>
|
|
|
|
|
<a-popconfirm title="确定删除吗?" ok-text="确定" cancel-text="取消" @confirm="handleDeleteAll">
|
|
|
|
|
<a-button type="link" size="mini">
|
|
|
|
|
<span class="iconfont icon-shanchu2"></span>
|
|
|
|
|
删除
|
|
|
|
@ -67,44 +57,27 @@
|
|
|
|
|
<span>{{ record.shipRateTotalCurrency }} {{ record.shipRateTotalAmount }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="column.dataIndex == 'iS_CANCELLATION'">
|
|
|
|
|
<BulbOutlined
|
|
|
|
|
v-if="record.iS_CANCELLATION"
|
|
|
|
|
style="color: red; font-size: 16px"
|
|
|
|
|
:title="record.cancellatioN_DATE"
|
|
|
|
|
/>
|
|
|
|
|
<BulbOutlined v-if="record.iS_CANCELLATION" style="color: red; font-size: 16px"
|
|
|
|
|
:title="record.cancellatioN_DATE" />
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="column.dataIndex == 'isRecvBC'">
|
|
|
|
|
<BulbFilled
|
|
|
|
|
style="color: green; font-size: 16px"
|
|
|
|
|
:title="record.lstRecvBCDate"
|
|
|
|
|
v-if="record.isRecvBC"
|
|
|
|
|
/>
|
|
|
|
|
<BulbFilled style="color: green; font-size: 16px" :title="record.lstRecvBCDate" v-if="record.isRecvBC" />
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="column.dataIndex == 'labelList'">
|
|
|
|
|
<div @click="handleLabelBind(record)" style="min-width: 200px; min-height: 15px">
|
|
|
|
|
<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
|
|
|
|
|
>
|
|
|
|
|
<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"
|
|
|
|
|
/>
|
|
|
|
|
<BulbFilled style="color: red; font-size: 16px" :title="record.lstRecvBCDate" v-if="record.isRecvBKCancel" />
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="column.dataIndex == 'isShipperOwned'">
|
|
|
|
|
<CheckCircleFilled v-if="record.isShipperOwned" style="color: green; font-size: 16px" />
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="column.key === 'action'">
|
|
|
|
|
<TableAction
|
|
|
|
|
:actions="[
|
|
|
|
|
<TableAction :actions="[
|
|
|
|
|
{
|
|
|
|
|
icon: 'clarity:note-edit-line',
|
|
|
|
|
tooltip: '编辑',
|
|
|
|
@ -129,40 +102,22 @@
|
|
|
|
|
handleOpenSlot(record)
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
]"
|
|
|
|
|
/>
|
|
|
|
|
]" />
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</BasicTable>
|
|
|
|
|
<a-modal
|
|
|
|
|
width="800px"
|
|
|
|
|
@ok="handleSubmitLabel"
|
|
|
|
|
:visible="visible"
|
|
|
|
|
title="分配标签"
|
|
|
|
|
@cancel="visible = false"
|
|
|
|
|
>
|
|
|
|
|
<a-modal width="800px" @ok="handleSubmitLabel" :visible="visible" title="分配标签" @cancel="visible = false">
|
|
|
|
|
<a-spin :spinning="labelLoad">
|
|
|
|
|
<div class="content">
|
|
|
|
|
<div
|
|
|
|
|
class="items"
|
|
|
|
|
v-for="(serive, sindex) in labelList"
|
|
|
|
|
:key="sindex"
|
|
|
|
|
@click="handleClickLable(sindex)"
|
|
|
|
|
:class="{ active: serive.isActive }"
|
|
|
|
|
>
|
|
|
|
|
<div class="items" v-for="(serive, sindex) in labelList" :key="sindex" @click="handleClickLable(sindex)"
|
|
|
|
|
:class="{ active: serive.isActive }">
|
|
|
|
|
{{ serive.name }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-spin>
|
|
|
|
|
</a-modal>
|
|
|
|
|
<generationModal ref="generation" @register="registerModal"> </generationModal>
|
|
|
|
|
<a-modal
|
|
|
|
|
title="多提单号查询"
|
|
|
|
|
:width="400"
|
|
|
|
|
:visible="moreFlag"
|
|
|
|
|
@ok="moreNumSubmit"
|
|
|
|
|
@cancel="moreFlag = false"
|
|
|
|
|
>
|
|
|
|
|
<a-modal title="多提单号查询" :width="400" :visible="moreFlag" @ok="moreNumSubmit" @cancel="moreFlag = false">
|
|
|
|
|
<div>
|
|
|
|
|
<a-textarea v-model:value="moreNumVal" style="height: 200px" />
|
|
|
|
|
</div>
|
|
|
|
@ -482,11 +437,11 @@
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
/deep/ .ant-form-item {
|
|
|
|
|
:deep(.ant-form-item) {
|
|
|
|
|
margin-bottom: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/deep/ .ant-card-body {
|
|
|
|
|
:deep(.ant-card-body) {
|
|
|
|
|
padding-bottom: 0px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -605,7 +560,7 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/deep/ .vben-basic-table-action button {
|
|
|
|
|
:deep(.vben-basic-table-action button) {
|
|
|
|
|
padding: 0 3px !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|