diff --git a/public/static/tpl/import_customs_level.xlsx b/public/static/tpl/import_customs_level.xlsx new file mode 100644 index 00000000..c8220ecf Binary files /dev/null and b/public/static/tpl/import_customs_level.xlsx differ diff --git a/src/api/emis/emisCustomsLevel.js b/src/api/emis/emisCustomsLevel.js new file mode 100644 index 00000000..f85e807c --- /dev/null +++ b/src/api/emis/emisCustomsLevel.js @@ -0,0 +1,49 @@ +import request from '@/utils/request' + +// 查询报关等级列表 +export function listCustomsLevel(query) { + return request({ + url: '/emis/emisCustomsLevel/list', + method: 'get', + params: query + }) +} + +// 查询报关等级详细 +export function getCustomsLevel(id) { + return request({ + url: '/emis/emisCustomsLevel/' + id, + method: 'get' + }) +} +// 新增报关等级 +export function addCustomsLevel(data) { + return request({ + url: '/emis/emisCustomsLevel', + method: 'post', + data: data + }) +} +// 修改报关等级 +export function updateCustomsLevel(data) { + return request({ + url: '/emis/emisCustomsLevel', + method: 'put', + data: data + }) +} +// 批量删除报关等级 +export function delCustomsLevel(ids) { + return request({ + url: '/emis/emisCustomsLevel/' + ids, + method: 'delete' + }) +} +// 导入报关等级 +export function draftSubmitLevel(data) { + return request({ + url: '/emis/emisCustomsLevel/draftSubmitLevel', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/views/emis/emisCustomsLevel/draftSubmitLevel.vue b/src/views/emis/emisCustomsLevel/draftSubmitLevel.vue new file mode 100644 index 00000000..64ab2568 --- /dev/null +++ b/src/views/emis/emisCustomsLevel/draftSubmitLevel.vue @@ -0,0 +1,403 @@ + + + + + + + + + 选择文件 + 下载导入Excel模板 + + + 批量新增 + + + 删除 + + + + + + + + 成功 + 待上传 + 异常 + + + + + {{ scope.row.errorInfo }} + 成功 + 待上传 + + + + + + {{scope.row.customerName}} + + + + + + + + + + + + + + + + + + + + + + 选择文件 + 下载导入Excel模板 + {{ fileName }} {{ uploadExcelDataInfo }} + + + + + + + + + + + + + + + + diff --git a/src/views/emis/emisCustomsLevel/levelForm.vue b/src/views/emis/emisCustomsLevel/levelForm.vue new file mode 100644 index 00000000..0fcc9d28 --- /dev/null +++ b/src/views/emis/emisCustomsLevel/levelForm.vue @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确 定 + 取 消 + + + + + + + + diff --git a/src/views/emis/emisCustomsLevel/list.vue b/src/views/emis/emisCustomsLevel/list.vue new file mode 100644 index 00000000..62ab9c4c --- /dev/null +++ b/src/views/emis/emisCustomsLevel/list.vue @@ -0,0 +1,353 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 新增 + + + + 修改 + + + + 删除 + + + + + + + + + {{scope.row.customerName}} + + + + + 绿色 + 黄色 + 红色 + 黑色 + + + + + 报关 + 清关 + + + + + + + + + + + + + + + + + + + + +