From 3df543f96f767abf0e1b51a6908fa95b5ec841a8 Mon Sep 17 00:00:00 2001 From: liuhuayong <995058772@qq.com> Date: Wed, 25 Jun 2025 22:23:42 +0800 Subject: [PATCH] 22 --- src/api/daofuDetails.js | 40 +++ src/api/dispatchDirectBilling.js | 6 + src/api/dispatchFeeDetails.js | 7 + src/views/logistics/daofu/form.vue | 264 ++++++++++++++++++ src/views/logistics/daofu/index.vue | 253 +++++++++++++++++ .../dispatch_direct_billing/form.vue | 2 +- .../dispatch_direct_billing/index.vue | 38 ++- .../logistics/dispatch_fee_details/index.vue | 36 ++- .../dispatch_fee_statistics/index.vue | 8 - 9 files changed, 626 insertions(+), 28 deletions(-) create mode 100644 src/api/daofuDetails.js create mode 100644 src/views/logistics/daofu/form.vue create mode 100644 src/views/logistics/daofu/index.vue diff --git a/src/api/daofuDetails.js b/src/api/daofuDetails.js new file mode 100644 index 0000000..da7fb15 --- /dev/null +++ b/src/api/daofuDetails.js @@ -0,0 +1,40 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/daofuDetails', + method: 'post', + data + }) +} + +export function del(id) { + return request({ + url: 'api/daofuDetails/' + id, + method: 'delete' + }) +} + +export function deleteAll() { + return request({ + url: 'api/daofuDetails/deleteAll', + method: 'delete' + }) +} + +export function edit(data) { + return request({ + url: 'api/daofuDetails', + method: 'put', + data + }) +} + +export function downloadDaofuDetails(params) { + return request({ + url: 'api/daofuDetails/download', + method: 'get', + params, + responseType: 'blob' + }) +} diff --git a/src/api/dispatchDirectBilling.js b/src/api/dispatchDirectBilling.js index 4bcbe27..688a623 100644 --- a/src/api/dispatchDirectBilling.js +++ b/src/api/dispatchDirectBilling.js @@ -15,6 +15,12 @@ export function del(id) { }) } +export function deleteAll() { + return request({ + url: 'api/dispatchDirectBilling/deleteAll', + method: 'delete' + }) +} export function edit(data) { return request({ url: 'api/dispatchDirectBilling', diff --git a/src/api/dispatchFeeDetails.js b/src/api/dispatchFeeDetails.js index 1d51856..ffe2075 100644 --- a/src/api/dispatchFeeDetails.js +++ b/src/api/dispatchFeeDetails.js @@ -15,6 +15,13 @@ export function del(id) { }) } +export function deleteAll() { + return request({ + url: 'api/dispatchFeeDetails/deleteAll', + method: 'delete' + }) +} + export function edit(data) { return request({ url: 'api/dispatchFeeDetails', diff --git a/src/views/logistics/daofu/form.vue b/src/views/logistics/daofu/form.vue new file mode 100644 index 0000000..949508e --- /dev/null +++ b/src/views/logistics/daofu/form.vue @@ -0,0 +1,264 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/logistics/daofu/index.vue b/src/views/logistics/daofu/index.vue new file mode 100644 index 0000000..60ea0c0 --- /dev/null +++ b/src/views/logistics/daofu/index.vue @@ -0,0 +1,253 @@ + + + + + + + + + + 搜索 + + + 新增 + + + + 导出 + + + + + + 删除所有 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确定删除本条数据吗? + + 取消 + 确定 + + + + + + + + + + + + + + diff --git a/src/views/logistics/dispatch_direct_billing/form.vue b/src/views/logistics/dispatch_direct_billing/form.vue index 1a93a61..dd7206a 100644 --- a/src/views/logistics/dispatch_direct_billing/form.vue +++ b/src/views/logistics/dispatch_direct_billing/form.vue @@ -1,7 +1,7 @@ - + diff --git a/src/views/logistics/dispatch_direct_billing/index.vue b/src/views/logistics/dispatch_direct_billing/index.vue index a66ecb1..0da2123 100644 --- a/src/views/logistics/dispatch_direct_billing/index.vue +++ b/src/views/logistics/dispatch_direct_billing/index.vue @@ -2,14 +2,6 @@ - - @@ -43,12 +35,23 @@ icon="el-icon-download" @click="download">导出 + + + 删除所有 + - + @@ -90,7 +93,7 @@
确定删除本条数据吗?