You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1666 lines
31 KiB
1666 lines
31 KiB
import { filterDictTextByFormatCache, filterDictTextByFormatCusCache } from '@/components/dict/JDictSelectUtil'
|
|
|
|
const arrWidth = [50, 150, 150, 150, 150, 150, 350, 400]
|
|
//进口征税清单栏位
|
|
const izColumns = [
|
|
{
|
|
title: '操作',
|
|
dataIndex: 'action',
|
|
align: 'center',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
scopedSlots: {
|
|
customRender: 'action',
|
|
},
|
|
},
|
|
{
|
|
title: '流程状态',
|
|
align: 'center',
|
|
dataIndex: 'flowStatus',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'flowStatus',
|
|
},
|
|
},
|
|
{
|
|
title: '企业内部编号',
|
|
align: 'left',
|
|
dataIndex: 'compSeqNo',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'compSeqNo',
|
|
},
|
|
sorter: true,
|
|
slots: {
|
|
customRender: 'compSeqNo',
|
|
},
|
|
},
|
|
{
|
|
title: '业务类型',
|
|
align: 'left',
|
|
dataIndex: 'bizType',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCache('BillBizType', text)
|
|
},
|
|
},
|
|
{
|
|
title: '进境关别',
|
|
align: 'left',
|
|
dataIndex: 'ieport_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '运输方式',
|
|
align: 'left',
|
|
dataIndex: 'trafMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '监管方式',
|
|
align: 'left',
|
|
dataIndex: 'tradeMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单号',
|
|
align: 'left',
|
|
dataIndex: 'entryId',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单统一编号',
|
|
align: 'left',
|
|
dataIndex: 'entrySeqNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单申报日期',
|
|
align: 'left',
|
|
dataIndex: 'entryDDate',
|
|
customRender: function (text) {
|
|
return !text ? '' : text.substr(0, 10)
|
|
},
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
sorter: true,
|
|
slots: {
|
|
customRender: 'entryDDate',
|
|
},
|
|
},
|
|
{
|
|
title: '报关单状态',
|
|
align: 'center',
|
|
dataIndex: 'entryStatus',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'entryStatus',
|
|
},
|
|
// customRender: (text) => {
|
|
// return filterDictTextByFormatCache('DeclarationStatus', text)
|
|
// },
|
|
},
|
|
{
|
|
title: '主提运单号',
|
|
align: 'left',
|
|
dataIndex: 'ztdNo',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '分提运单号',
|
|
align: 'left',
|
|
dataIndex: 'ftdNo',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '启运国',
|
|
align: 'left',
|
|
dataIndex: 'tradeCountry_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '启运港',
|
|
align: 'left',
|
|
dataIndex: 'despPortCode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '入境口岸',
|
|
align: 'left',
|
|
dataIndex: 'entyPortCode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '发票号',
|
|
align: 'left',
|
|
dataIndex: 'invoiceNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '成交方式',
|
|
align: 'left',
|
|
dataIndex: 'transMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '运输工具名称',
|
|
align: 'left',
|
|
dataIndex: 'trafName',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '航次号',
|
|
align: 'left',
|
|
dataIndex: 'voyageNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '供应商名称',
|
|
align: 'left',
|
|
dataIndex: 'partnerName',
|
|
width: arrWidth[5],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '创建人',
|
|
align: 'left',
|
|
dataIndex: 'createBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '创建时间',
|
|
align: 'left',
|
|
dataIndex: 'createTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '申请人',
|
|
align: 'left',
|
|
dataIndex: 'applyBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '申请时间',
|
|
align: 'left',
|
|
dataIndex: 'applyTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单上载人',
|
|
align: 'left',
|
|
dataIndex: 'entryUploadBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单上载时间',
|
|
align: 'left',
|
|
dataIndex: 'entryUploadTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '备注',
|
|
align: 'left',
|
|
dataIndex: 'note',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '企业内部备注',
|
|
align: 'left',
|
|
dataIndex: 'copNote',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '件数',
|
|
align: 'center',
|
|
dataIndex: 'packNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '包装种类',
|
|
align: 'left',
|
|
dataIndex: 'wrapType',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCusCache('cus_pack_type,code_name,code_value', text)
|
|
},
|
|
},
|
|
{
|
|
title: '净重',
|
|
align: 'center',
|
|
dataIndex: 'netWt',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '毛重',
|
|
align: 'center',
|
|
dataIndex: 'grossWt',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '合同协议号',
|
|
align: 'left',
|
|
dataIndex: 'contractNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单总条数',
|
|
align: 'center',
|
|
dataIndex: 'totalBill',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关草单总条数',
|
|
align: 'center',
|
|
dataIndex: 'totalEntry',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单总数量',
|
|
align: 'center',
|
|
dataIndex: 'totalBillQty',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender(text) {
|
|
if (text) {
|
|
return Number(text)
|
|
}
|
|
},
|
|
},
|
|
{
|
|
title: '清单总金额',
|
|
align: 'center',
|
|
dataIndex: 'totalBillAmount',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender(text) {
|
|
if (text) {
|
|
return Number(text)
|
|
}
|
|
},
|
|
},
|
|
{
|
|
title: '装车单号',
|
|
align: 'left',
|
|
dataIndex: 'truckNo',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '逻辑车号',
|
|
align: 'left',
|
|
dataIndex: 'ltgNo',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '关联出入库单号',
|
|
align: 'left',
|
|
dataIndex: 'relStockNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '征免税编号',
|
|
align: 'left',
|
|
dataIndex: 'cutNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '文件归档状态',
|
|
align: 'left',
|
|
dataIndex: 'fileArchiveStatus',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender: function (t, r) {
|
|
return t ? t + '-' + r['fileArchiveStatusName'] : ''
|
|
},
|
|
},
|
|
{
|
|
title: '文件归档日期',
|
|
align: 'left',
|
|
dataIndex: 'archiveDate',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
]
|
|
//出口征税清单栏位
|
|
const ezColumns = [
|
|
{
|
|
title: '企业内部编号',
|
|
align: 'left',
|
|
dataIndex: 'compSeqNo',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'compSeqNo',
|
|
},
|
|
sorter: true,
|
|
slots: {
|
|
customRender: 'compSeqNo',
|
|
},
|
|
},
|
|
{
|
|
title: '业务类型',
|
|
align: 'left',
|
|
dataIndex: 'bizType',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCache('BillBizType', text)
|
|
},
|
|
},
|
|
{
|
|
title: '出境关别',
|
|
align: 'left',
|
|
dataIndex: 'ieport_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '运输方式',
|
|
align: 'left',
|
|
dataIndex: 'trafMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '监管方式',
|
|
align: 'left',
|
|
dataIndex: 'tradeMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单号',
|
|
align: 'left',
|
|
dataIndex: 'entryId',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单统一编号',
|
|
align: 'left',
|
|
dataIndex: 'entrySeqNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单申报日期',
|
|
align: 'left',
|
|
dataIndex: 'entryDDate',
|
|
customRender: function (text) {
|
|
return !text ? '' : text.substr(0, 10)
|
|
},
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
sorter: true,
|
|
slots: {
|
|
customRender: 'entryDDate',
|
|
},
|
|
},
|
|
{
|
|
title: '报关单状态',
|
|
align: 'center',
|
|
dataIndex: 'entryStatus',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'entryStatus',
|
|
},
|
|
// customRender: (text) => {
|
|
// return filterDictTextByFormatCache('DeclarationStatus', text)
|
|
// },
|
|
},
|
|
{
|
|
title: '主提运单号',
|
|
align: 'left',
|
|
dataIndex: 'ztdNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '分提运单号',
|
|
align: 'left',
|
|
dataIndex: 'ftdNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '运抵国',
|
|
align: 'left',
|
|
dataIndex: 'tradeCountry_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '指运港',
|
|
align: 'left',
|
|
dataIndex: 'distinatePort_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '出境口岸',
|
|
align: 'left',
|
|
dataIndex: 'entyPortCode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '发票号',
|
|
align: 'left',
|
|
dataIndex: 'invoiceNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '成交方式',
|
|
align: 'left',
|
|
dataIndex: 'transMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '运输工具名称',
|
|
align: 'left',
|
|
dataIndex: 'trafName',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '航次号',
|
|
align: 'left',
|
|
dataIndex: 'voyageNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '客户名称',
|
|
align: 'left',
|
|
dataIndex: 'partnerName',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '创建人',
|
|
align: 'left',
|
|
dataIndex: 'createBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '创建时间',
|
|
align: 'left',
|
|
dataIndex: 'createTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '申请人',
|
|
align: 'left',
|
|
dataIndex: 'applyBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '申请时间',
|
|
align: 'left',
|
|
dataIndex: 'applyTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单上载人',
|
|
align: 'left',
|
|
dataIndex: 'entryUploadBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单上载时间',
|
|
align: 'left',
|
|
dataIndex: 'entryUploadTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '备注',
|
|
align: 'left',
|
|
dataIndex: 'note',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '企业内部备注',
|
|
align: 'left',
|
|
dataIndex: 'copNote',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '件数',
|
|
align: 'left',
|
|
dataIndex: 'packNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '包装种类',
|
|
align: 'left',
|
|
dataIndex: 'wrapType',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCusCache('cus_pack_type,code_name,code_value', text)
|
|
},
|
|
},
|
|
{
|
|
title: '净重',
|
|
align: 'center',
|
|
dataIndex: 'netWt',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '毛重',
|
|
align: 'center',
|
|
dataIndex: 'grossWt',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '合同协议号',
|
|
align: 'left',
|
|
dataIndex: 'contractNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单总条数',
|
|
align: 'center',
|
|
dataIndex: 'totalBill',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关草单总条数',
|
|
align: 'center',
|
|
dataIndex: 'totalEntry',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单总数量',
|
|
align: 'center',
|
|
dataIndex: 'totalBillQty',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender(text) {
|
|
if (text) {
|
|
return Number(text)
|
|
}
|
|
},
|
|
},
|
|
{
|
|
title: '清单总金额',
|
|
align: 'center',
|
|
dataIndex: 'totalBillAmount',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender(text) {
|
|
if (text) {
|
|
return Number(text)
|
|
}
|
|
},
|
|
},
|
|
{
|
|
title: '装车单号',
|
|
align: 'left',
|
|
dataIndex: 'truckNo',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '逻辑车号',
|
|
align: 'left',
|
|
dataIndex: 'ltgNo',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '关联出入库单号',
|
|
align: 'left',
|
|
dataIndex: 'relStockNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '文件归档状态',
|
|
align: 'left',
|
|
dataIndex: 'fileArchiveStatus',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender: function (t, r) {
|
|
return t ? t + '-' + r['fileArchiveStatusName'] : ''
|
|
},
|
|
},
|
|
{
|
|
title: '文件归档日期',
|
|
align: 'left',
|
|
dataIndex: 'archiveDate',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
|
|
{
|
|
title: '流程状态',
|
|
align: 'center',
|
|
dataIndex: 'flowStatus',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
fixed: 'right',
|
|
scopedSlots: {
|
|
customRender: 'flowStatus',
|
|
},
|
|
},
|
|
{
|
|
title: '操作',
|
|
dataIndex: 'action',
|
|
align: 'center',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
fixed: 'right',
|
|
scopedSlots: {
|
|
customRender: 'action',
|
|
},
|
|
},
|
|
]
|
|
//进口保税清单栏位
|
|
const ibColumns = [
|
|
{
|
|
title: '操作',
|
|
dataIndex: 'action',
|
|
align: 'center',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
scopedSlots: {
|
|
customRender: 'action',
|
|
},
|
|
},
|
|
{
|
|
title: '流程状态',
|
|
align: 'center',
|
|
dataIndex: 'flowStatus',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'flowStatus',
|
|
},
|
|
},
|
|
{
|
|
title: '企业内部编号',
|
|
align: 'left',
|
|
dataIndex: 'compSeqNo',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'compSeqNo',
|
|
},
|
|
sorter: true,
|
|
slots: {
|
|
customRender: 'compSeqNo',
|
|
},
|
|
},
|
|
{
|
|
title: '业务类型',
|
|
align: 'left',
|
|
dataIndex: 'bizType',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCache('BillBizType', text)
|
|
},
|
|
},
|
|
{
|
|
title: '账册号',
|
|
align: 'left',
|
|
dataIndex: 'emsNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '成品料件标志',
|
|
align: 'left',
|
|
dataIndex: 'gmark',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCache('ie_type', text)
|
|
},
|
|
},
|
|
{
|
|
title: '进境关别',
|
|
align: 'left',
|
|
dataIndex: 'ieport_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '运输方式',
|
|
align: 'left',
|
|
dataIndex: 'trafMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '监管方式',
|
|
align: 'left',
|
|
dataIndex: 'tradeMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单统一编号',
|
|
align: 'left',
|
|
dataIndex: 'seqNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '核注清单编号',
|
|
align: 'left',
|
|
dataIndex: 'billNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单状态',
|
|
align: 'center',
|
|
dataIndex: 'uploadStatus_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'uploadStatus',
|
|
},
|
|
},
|
|
{
|
|
title: '核扣标志',
|
|
align: 'left',
|
|
dataIndex: 'hezhuMark_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '申报类型',
|
|
align: 'left',
|
|
dataIndex: 'dclTypecd',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCache('BillDclType', text)
|
|
},
|
|
},
|
|
{
|
|
title: '清单类型',
|
|
align: 'left',
|
|
dataIndex: 'listType_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单申报日期',
|
|
align: 'left',
|
|
dataIndex: 'ddate',
|
|
customRender: function (text) {
|
|
return !text ? '' : text.substr(0, 10)
|
|
},
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
sorter: true,
|
|
slots: {
|
|
customRender: 'ddate',
|
|
},
|
|
},
|
|
{
|
|
title: '报关类型',
|
|
align: 'left',
|
|
dataIndex: 'declType_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '关联清单编号',
|
|
align: 'left',
|
|
dataIndex: 'relBillNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '关联账册号',
|
|
align: 'left',
|
|
dataIndex: 'relEmsNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '关联经营单位',
|
|
align: 'left',
|
|
dataIndex: 'relEntryTradeName',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '对应报关单号',
|
|
align: 'left',
|
|
dataIndex: 'curEntryNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单号',
|
|
align: 'left',
|
|
dataIndex: 'entryId',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单统一编号',
|
|
align: 'left',
|
|
dataIndex: 'entrySeqNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单申报日期',
|
|
align: 'left',
|
|
dataIndex: 'entryDDate',
|
|
customRender: function (text) {
|
|
return !text ? '' : text.substr(0, 10)
|
|
},
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
sorter: true,
|
|
slots: {
|
|
customRender: 'entryDDate',
|
|
},
|
|
},
|
|
{
|
|
title: '报关单状态',
|
|
align: 'center',
|
|
dataIndex: 'entryStatus',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'entryStatus',
|
|
},
|
|
// customRender: (text) => {
|
|
// return filterDictTextByFormatCache('DeclarationStatus', text)
|
|
// },
|
|
},
|
|
{
|
|
title: '主提运单号',
|
|
align: 'left',
|
|
dataIndex: 'ztdNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '分提运单号',
|
|
align: 'left',
|
|
dataIndex: 'ftdNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '启运国',
|
|
align: 'left',
|
|
dataIndex: 'tradeCountry_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '启运港',
|
|
align: 'left',
|
|
dataIndex: 'despPortCode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '入境口岸',
|
|
align: 'left',
|
|
dataIndex: 'entyPortCode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '发票号',
|
|
align: 'left',
|
|
dataIndex: 'invoiceNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '成交方式',
|
|
align: 'left',
|
|
dataIndex: 'transMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '运输工具名称',
|
|
align: 'left',
|
|
dataIndex: 'trafName',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '航次号',
|
|
align: 'left',
|
|
dataIndex: 'voyageNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '供应商名称',
|
|
align: 'left',
|
|
dataIndex: 'partnerName',
|
|
width: arrWidth[5],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '备注',
|
|
align: 'left',
|
|
dataIndex: 'note',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '企业内部备注',
|
|
align: 'left',
|
|
dataIndex: 'copNote',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '创建人',
|
|
align: 'left',
|
|
dataIndex: 'createBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '创建时间',
|
|
align: 'left',
|
|
dataIndex: 'createTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '申请人',
|
|
align: 'left',
|
|
dataIndex: 'applyBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '申请时间',
|
|
align: 'left',
|
|
dataIndex: 'applyTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单上载人',
|
|
align: 'left',
|
|
dataIndex: 'entryUploadBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单上载时间',
|
|
align: 'left',
|
|
dataIndex: 'entryUploadTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '件数',
|
|
align: 'center',
|
|
dataIndex: 'packNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '包装种类',
|
|
align: 'left',
|
|
dataIndex: 'wrapType',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCusCache('cus_pack_type,code_name,code_value', text)
|
|
},
|
|
},
|
|
{
|
|
title: '净重',
|
|
align: 'center',
|
|
dataIndex: 'netWt',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '毛重',
|
|
align: 'center',
|
|
dataIndex: 'grossWt',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '合同协议号',
|
|
align: 'left',
|
|
dataIndex: 'contractNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单总条数',
|
|
align: 'center',
|
|
dataIndex: 'totalBill',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关草单总条数',
|
|
align: 'center',
|
|
dataIndex: 'totalEntry',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单总数量',
|
|
align: 'center',
|
|
dataIndex: 'totalBillQty',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender(text) {
|
|
if (text) {
|
|
return Number(text)
|
|
}
|
|
},
|
|
},
|
|
{
|
|
title: '清单总金额',
|
|
align: 'center',
|
|
dataIndex: 'totalBillAmount',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender(text) {
|
|
if (text) {
|
|
return Number(text)
|
|
}
|
|
},
|
|
},
|
|
{
|
|
title: '装车单号',
|
|
align: 'left',
|
|
dataIndex: 'truckNo',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '逻辑车号',
|
|
align: 'left',
|
|
dataIndex: 'ltgNo',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '关联出入库单号',
|
|
align: 'left',
|
|
dataIndex: 'relStockNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '文件归档状态',
|
|
align: 'left',
|
|
dataIndex: 'fileArchiveStatus',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender: function (t, r) {
|
|
return t ? t + '-' + r['fileArchiveStatusName'] : ''
|
|
},
|
|
},
|
|
{
|
|
title: '文件归档日期',
|
|
align: 'left',
|
|
dataIndex: 'archiveDate',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
]
|
|
//出口保税清单栏位
|
|
const ebColumns = [
|
|
{
|
|
title: '操作',
|
|
dataIndex: 'action',
|
|
align: 'center',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'action',
|
|
},
|
|
},
|
|
{
|
|
title: '流程状态',
|
|
align: 'center',
|
|
dataIndex: 'flowStatus',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'flowStatus',
|
|
},
|
|
},
|
|
{
|
|
title: '企业内部编号',
|
|
align: 'left',
|
|
dataIndex: 'compSeqNo',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'compSeqNo',
|
|
},
|
|
sorter: true,
|
|
slots: {
|
|
customRender: 'compSeqNo',
|
|
},
|
|
},
|
|
{
|
|
title: '业务类型',
|
|
align: 'left',
|
|
dataIndex: 'bizType',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCache('BillBizType', text)
|
|
},
|
|
},
|
|
{
|
|
title: '账册号',
|
|
align: 'left',
|
|
dataIndex: 'emsNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '成品料件标志',
|
|
align: 'left',
|
|
dataIndex: 'gmark',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCache('ie_type', text)
|
|
},
|
|
},
|
|
{
|
|
title: '出境关别',
|
|
align: 'left',
|
|
dataIndex: 'ieport_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '运输方式',
|
|
align: 'left',
|
|
dataIndex: 'trafMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '监管方式',
|
|
align: 'left',
|
|
dataIndex: 'tradeMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单统一编号',
|
|
align: 'left',
|
|
dataIndex: 'seqNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '核注清单编号',
|
|
align: 'left',
|
|
dataIndex: 'billNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单状态',
|
|
align: 'center',
|
|
dataIndex: 'uploadStatus_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'uploadStatus',
|
|
},
|
|
},
|
|
{
|
|
title: '核扣标志',
|
|
align: 'left',
|
|
dataIndex: 'hezhuMark_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '申报类型',
|
|
align: 'left',
|
|
dataIndex: 'dclTypecd',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCache('BillDclType', text)
|
|
},
|
|
},
|
|
{
|
|
title: '清单类型',
|
|
align: 'left',
|
|
dataIndex: 'listType_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关类型',
|
|
align: 'left',
|
|
dataIndex: 'declType_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '关联清单编号',
|
|
align: 'left',
|
|
dataIndex: 'relBillNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '关联账册号',
|
|
align: 'left',
|
|
dataIndex: 'relEmsNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '关联经营单位',
|
|
align: 'left',
|
|
dataIndex: 'relEntryTradeName',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '对应报关单号',
|
|
align: 'left',
|
|
dataIndex: 'curEntryNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单号',
|
|
align: 'left',
|
|
dataIndex: 'entryId',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单申报日期',
|
|
align: 'left',
|
|
dataIndex: 'ddate',
|
|
customRender: function (text) {
|
|
return !text ? '' : text.substr(0, 10)
|
|
},
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
sorter: true,
|
|
slots: {
|
|
customRender: 'ddate',
|
|
},
|
|
},
|
|
{
|
|
title: '报关单统一编号',
|
|
align: 'left',
|
|
dataIndex: 'entrySeqNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单申报日期',
|
|
align: 'left',
|
|
dataIndex: 'entryDDate',
|
|
customRender: function (text) {
|
|
return !text ? '' : text.substr(0, 10)
|
|
},
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
sorter: true,
|
|
slots: {
|
|
customRender: 'entryDDate',
|
|
},
|
|
},
|
|
{
|
|
title: '报关单状态',
|
|
align: 'center',
|
|
dataIndex: 'entryStatus',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
|
|
scopedSlots: {
|
|
customRender: 'entryStatus',
|
|
},
|
|
},
|
|
{
|
|
title: '主提运单号',
|
|
align: 'left',
|
|
dataIndex: 'ztdNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '分提运单号',
|
|
align: 'left',
|
|
dataIndex: 'ftdNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '运抵国',
|
|
align: 'left',
|
|
dataIndex: 'tradeCountry_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '指运港',
|
|
align: 'left',
|
|
dataIndex: 'distinatePort_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '出境口岸',
|
|
align: 'left',
|
|
dataIndex: 'entyPortCode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '发票号',
|
|
align: 'left',
|
|
dataIndex: 'invoiceNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '成交方式',
|
|
align: 'left',
|
|
dataIndex: 'transMode_dictText',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '运输工具名称',
|
|
align: 'left',
|
|
dataIndex: 'trafName',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '航次号',
|
|
align: 'left',
|
|
dataIndex: 'voyageNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '客户名称',
|
|
align: 'left',
|
|
dataIndex: 'partnerName',
|
|
width: arrWidth[5],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '备注',
|
|
align: 'left',
|
|
dataIndex: 'note',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '企业内部备注',
|
|
align: 'left',
|
|
dataIndex: 'copNote',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '创建人',
|
|
align: 'left',
|
|
dataIndex: 'createBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '创建时间',
|
|
align: 'left',
|
|
dataIndex: 'createTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '申请人',
|
|
align: 'left',
|
|
dataIndex: 'applyBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '申请时间',
|
|
align: 'left',
|
|
dataIndex: 'applyTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单上载人',
|
|
align: 'left',
|
|
dataIndex: 'entryUploadBy',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关单上载时间',
|
|
align: 'left',
|
|
dataIndex: 'entryUploadTime',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '件数',
|
|
align: 'center',
|
|
dataIndex: 'packNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '包装种类',
|
|
align: 'left',
|
|
dataIndex: 'wrapType',
|
|
width: arrWidth[4],
|
|
ellipsis: true,
|
|
|
|
customRender: (text) => {
|
|
return filterDictTextByFormatCusCache('cus_pack_type,code_name,code_value', text)
|
|
},
|
|
},
|
|
{
|
|
title: '净重',
|
|
align: 'center',
|
|
dataIndex: 'netWt',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '毛重',
|
|
align: 'center',
|
|
dataIndex: 'grossWt',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '合同协议号',
|
|
align: 'left',
|
|
dataIndex: 'contractNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单总条数',
|
|
align: 'center',
|
|
dataIndex: 'totalBill',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '报关草单总条数',
|
|
align: 'center',
|
|
dataIndex: 'totalEntry',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '清单总数量',
|
|
align: 'center',
|
|
dataIndex: 'totalBillQty',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender(text) {
|
|
if (text) {
|
|
return Number(text)
|
|
}
|
|
},
|
|
},
|
|
{
|
|
title: '清单总金额',
|
|
align: 'center',
|
|
dataIndex: 'totalBillAmount',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender(text) {
|
|
if (text) {
|
|
return Number(text)
|
|
}
|
|
},
|
|
},
|
|
{
|
|
title: '装车单号',
|
|
align: 'left',
|
|
dataIndex: 'truckNo',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '逻辑车号',
|
|
align: 'left',
|
|
dataIndex: 'ltgNo',
|
|
width: arrWidth[2],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '关联出入库单号',
|
|
align: 'left',
|
|
dataIndex: 'relStockNo',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '文件归档状态',
|
|
align: 'left',
|
|
dataIndex: 'fileArchiveStatus',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
customRender: function (t, r) {
|
|
return t ? t + '-' + r['fileArchiveStatusName'] : ''
|
|
},
|
|
},
|
|
{
|
|
title: '文件归档日期',
|
|
align: 'left',
|
|
dataIndex: 'archiveDate',
|
|
width: arrWidth[3],
|
|
ellipsis: true,
|
|
},
|
|
]
|
|
export { izColumns, ezColumns, ibColumns, ebColumns }
|
|
|