|
|
|
@ -33,17 +33,38 @@
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item label="报关状态">
|
|
|
|
|
<a-select v-model="form.customsStatus">
|
|
|
|
|
<a-select-option value="海关放行">
|
|
|
|
|
海关放行
|
|
|
|
|
<a-select-option value="完成接单">
|
|
|
|
|
完成接单
|
|
|
|
|
</a-select-option>
|
|
|
|
|
<a-select-option value="完成打单">
|
|
|
|
|
完成打单
|
|
|
|
|
</a-select-option>
|
|
|
|
|
<a-select-option value="海关已申报">
|
|
|
|
|
海关已申报
|
|
|
|
|
</a-select-option>
|
|
|
|
|
<a-select-option value="海关入库">
|
|
|
|
|
海关入库
|
|
|
|
|
</a-select-option>
|
|
|
|
|
<a-select-option value="海关审结">
|
|
|
|
|
海关审结
|
|
|
|
|
</a-select-option>
|
|
|
|
|
<a-select-option value="提交单一">
|
|
|
|
|
提交单一
|
|
|
|
|
<a-select-option value="海关查验">
|
|
|
|
|
海关查验
|
|
|
|
|
</a-select-option>
|
|
|
|
|
<a-select-option value="报关行接单">
|
|
|
|
|
报关行接单
|
|
|
|
|
<a-select-option value="海关放行">
|
|
|
|
|
海关放行
|
|
|
|
|
</a-select-option>
|
|
|
|
|
<a-select-option value="海关结关">
|
|
|
|
|
海关结关
|
|
|
|
|
</a-select-option>
|
|
|
|
|
<a-select-option value="准予进港">
|
|
|
|
|
准予进港
|
|
|
|
|
</a-select-option>
|
|
|
|
|
<a-select-option value="完成审单">
|
|
|
|
|
完成审单
|
|
|
|
|
</a-select-option>
|
|
|
|
|
<a-select-option value="提交到单一窗口">
|
|
|
|
|
提交到单一窗口
|
|
|
|
|
</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
@ -67,8 +88,8 @@
|
|
|
|
|
<a-button type="primary" @click="handleSubimt">发送</a-button>
|
|
|
|
|
</a-row>
|
|
|
|
|
</div>
|
|
|
|
|
<a-table :pagination="pagination" @change="tablePaginationChange" :customRow="handleClickRow" rowKey="id"
|
|
|
|
|
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :columns="columns"
|
|
|
|
|
<a-table :scroll="{ y: 520 }" :pagination="pagination" @change="tablePaginationChange" :customRow="handleClickRow"
|
|
|
|
|
rowKey="id" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :columns="columns"
|
|
|
|
|
:data-source="data">
|
|
|
|
|
<div slot="action" slot-scope="text, record">
|
|
|
|
|
<a-icon @click="handleEdit(record)" style="cursor: pointer;color:#1890ff;margin-right: 10px;" type="edit"
|
|
|
|
@ -82,8 +103,9 @@
|
|
|
|
|
</a-popover>
|
|
|
|
|
<a-popover placement="bottom">
|
|
|
|
|
<template slot="content">
|
|
|
|
|
<div @click="handleDownHG(item.id)" class="file" v-for="(item, index) in record.customsFileList" :key="index">{{
|
|
|
|
|
index.fileName }}</div>
|
|
|
|
|
<div @click="handleDownHG(item.filePath)" class="file" v-for="(item, index) in record.customsFileList"
|
|
|
|
|
:key="index">{{
|
|
|
|
|
item.fileName }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
<a>海关单据</a>
|
|
|
|
|
</a-popover>
|
|
|
|
@ -102,9 +124,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div slot="blno" slot-scope="text, record">
|
|
|
|
|
<div @click="handleEdit(record)">
|
|
|
|
|
<span @click="handleEdit(record)">
|
|
|
|
|
<a>{{ text }}</a>
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
<a-icon @click="handleCopyText(text)" style="color: rgb(24,144,255);cursor: pointer;" type="copy" />
|
|
|
|
|
</div>
|
|
|
|
|
</a-table>
|
|
|
|
|
<a-modal width="1200px" okText="确定" cancelText="取消" title="业务状态" :visible="visible" @ok="visible = false"
|
|
|
|
@ -177,6 +200,7 @@ const columns = [
|
|
|
|
|
title: '业务状态',
|
|
|
|
|
dataIndex: 'statusCustomer',
|
|
|
|
|
key: 'statusCustomer',
|
|
|
|
|
width: 100,
|
|
|
|
|
scopedSlots: { customRender: 'statusCustomer' },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -193,6 +217,7 @@ const columns = [
|
|
|
|
|
{
|
|
|
|
|
title: '业务类型',
|
|
|
|
|
dataIndex: 'bsType',
|
|
|
|
|
width: 100,
|
|
|
|
|
key: 'bsType',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -204,6 +229,7 @@ const columns = [
|
|
|
|
|
title: '报关状态',
|
|
|
|
|
dataIndex: 'customsStatus',
|
|
|
|
|
key: 'customsStatus',
|
|
|
|
|
width: 100,
|
|
|
|
|
scopedSlots: { customRender: 'customsStatus' },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -214,6 +240,7 @@ const columns = [
|
|
|
|
|
{
|
|
|
|
|
title: '操作人',
|
|
|
|
|
dataIndex: 'createdUserName',
|
|
|
|
|
width: 80,
|
|
|
|
|
key: 'createdUserName',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -230,6 +257,7 @@ const columns = [
|
|
|
|
|
title: '操作',
|
|
|
|
|
dataIndex: 'action',
|
|
|
|
|
key: 'action',
|
|
|
|
|
width: 180,
|
|
|
|
|
scopedSlots: { customRender: 'action' },
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
@ -250,7 +278,7 @@ const logColums = [
|
|
|
|
|
key: 'createdTime',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '驳回原因',
|
|
|
|
|
title: '备注',
|
|
|
|
|
dataIndex: 'remark',
|
|
|
|
|
key: 'remark',
|
|
|
|
|
}
|
|
|
|
@ -303,7 +331,7 @@ export default {
|
|
|
|
|
{ required: true, message: '请选择业务类型', trigger: 'blur' },
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
baseLink: 'http://60.209.125.238:30802/'
|
|
|
|
|
baseLink: 'http://121.42.232.16:5066/'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -331,6 +359,15 @@ export default {
|
|
|
|
|
this.$message.error(err)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handleCopyText(text) {
|
|
|
|
|
this.$message.success('复制成功')
|
|
|
|
|
var cInput = document.createElement('input');
|
|
|
|
|
cInput.value = text;
|
|
|
|
|
document.body.appendChild(cInput);
|
|
|
|
|
cInput.select(); // 选取文本框内容
|
|
|
|
|
document.execCommand('copy');
|
|
|
|
|
document.body.removeChild(cInput);
|
|
|
|
|
},
|
|
|
|
|
handleOpenAdd() {
|
|
|
|
|
this.addVisible = true
|
|
|
|
|
this.addForm = {}
|
|
|
|
@ -353,6 +390,16 @@ export default {
|
|
|
|
|
baoguanDetail(record.id).then(res => {
|
|
|
|
|
if (res.succeeded) {
|
|
|
|
|
this.addForm = res.data
|
|
|
|
|
if (this.addForm.custFileList) {
|
|
|
|
|
const arr = []
|
|
|
|
|
this.addForm.custFileList.forEach(item => {
|
|
|
|
|
arr.push({
|
|
|
|
|
id: item.id,
|
|
|
|
|
name: item.fileName
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
this.fileList = arr
|
|
|
|
|
}
|
|
|
|
|
this.addVisible = true
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.errors)
|
|
|
|
@ -381,6 +428,7 @@ export default {
|
|
|
|
|
this.form.createdTimeStart = this.form.creatDate[0]
|
|
|
|
|
this.form.createdTimeEnd = this.form.creatDate[1]
|
|
|
|
|
}
|
|
|
|
|
this.pagination.current = 1
|
|
|
|
|
this.getList()
|
|
|
|
|
},
|
|
|
|
|
handleDelete() {
|
|
|
|
@ -443,12 +491,12 @@ export default {
|
|
|
|
|
baoguanDetail(row.id).then(res => {
|
|
|
|
|
if (res.succeeded) {
|
|
|
|
|
this.addForm = res.data
|
|
|
|
|
if (Object.keys(this.addForm.fileListBaoGuan).length > 0) {
|
|
|
|
|
if (this.addForm.custFileList) {
|
|
|
|
|
const arr = []
|
|
|
|
|
Object.keys(this.addForm.fileListBaoGuan).forEach((item, index) => {
|
|
|
|
|
this.addForm.custFileList.forEach(item => {
|
|
|
|
|
arr.push({
|
|
|
|
|
id: item,
|
|
|
|
|
name: Object.values(this.addForm.fileListBaoGuan)[index]
|
|
|
|
|
id: item.id,
|
|
|
|
|
name: item.fileName
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
this.fileList = arr
|
|
|
|
@ -553,6 +601,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
handleOpen1(row) {
|
|
|
|
|
this.BGvisible = true
|
|
|
|
|
this.BGdata = []
|
|
|
|
|
baoguanDetail(row.id).then(res => {
|
|
|
|
|
if (res.succeeded) {
|
|
|
|
|
this.BGdata = res.data.logListCustoms
|
|
|
|
|