diff --git a/public/比稿价导入示例模板.xlsx b/public/比稿价导入示例模板.xlsx new file mode 100644 index 0000000..c0735e6 Binary files /dev/null and b/public/比稿价导入示例模板.xlsx differ diff --git a/src/api/pitchPrice.js b/src/api/pitchPrice.js index 9c4a073..f93f565 100644 --- a/src/api/pitchPrice.js +++ b/src/api/pitchPrice.js @@ -37,4 +37,16 @@ export function getBusSupplierComparePrice(priceId) { url: '/admin/busSupplierComparePrice/getBusSupplierComparePrice/' + priceId, method: 'post' }) +} + +// 导入供应商比稿价详情 +export function importSupplierComparePrice(query) { + return request({ + url: '/admin/busSupplierComparePrice/import', + method: 'post', + data: query, + headers: { + 'Content-Type': 'multipart/form-data' + } + }) } \ No newline at end of file diff --git a/src/views/pitchPrice/index.vue b/src/views/pitchPrice/index.vue index 59ecb59..bad52a0 100644 --- a/src/views/pitchPrice/index.vue +++ b/src/views/pitchPrice/index.vue @@ -3,9 +3,9 @@
- + @@ -195,13 +195,39 @@
+ + + + +
+ 将文件拖曳至此区域,或 点击上传 +
+ + +
+ +