From 64e2b9214b3de3270ed8f73cb8898f4f49cea4e5 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Wed, 6 Mar 2024 18:46:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E6=98=8E=E7=BB=86=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/api/thrsys/thrInvOrder.js | 44 ++++++++++ src/views/thirdSys/invOrder/thrInvGhOrder.vue | 41 ++++++++- src/views/thirdSys/invOrder/thrInvOrder.vue | 86 ++++++++++++++----- src/views/thirdSys/invOrder/thrInvPhOrder.vue | 43 +++++++++- 5 files changed, 187 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index a0ebfe56..d2de472f 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "jsencrypt": "3.0.0-rc.1", "loadsh": "^0.0.4", "lodash": "^4.17.21", + "moment": "^2.30.1", "nprogress": "0.2.0", "pinyin": "^2.10.2", "qrcodejs2": "^0.0.2", diff --git a/src/api/thrsys/thrInvOrder.js b/src/api/thrsys/thrInvOrder.js index fa17b7c4..db054b26 100644 --- a/src/api/thrsys/thrInvOrder.js +++ b/src/api/thrsys/thrInvOrder.js @@ -51,6 +51,7 @@ export function delThrInvOrder(query) { data: query }) } + /** * 生成单据 * @param query @@ -63,6 +64,7 @@ export function generateOrder(query) { data: query }) } + /** * 生成单据 * @param query @@ -75,6 +77,7 @@ export function generateGhOrder(query) { data: query }) } + /** * 刷新单据 * @param query @@ -87,6 +90,7 @@ export function refreshBill(query) { data: query }) } + /** * 刷新单据高耗 * @param query @@ -101,4 +105,44 @@ export function refreshGhBill(query) { } +/** + * 下载收费出入库明细 + * @param query + * @returns {AxiosPromise} + */ +export function dlThrInvFeeOrder(query) { + return axios({ + url: '/udiwms/thrsys/downloadInvOrder', + method: 'post', + data: query + }) +} + + +/** + * 下载高耗出入库明细 + * @param query + * @returns {AxiosPromise} + */ +export function dlInvGhOrder(query) { + return axios({ + url: '/udiwms/thrsys/downloadInvGhOrder', + method: 'post', + data: query + }) +} + +/** + * 下载普耗出入库明细 + * @param query + * @returns {AxiosPromise} + */ +export function downloadInvPhOrder(query) { + return axios({ + url: '/udiwms/thrsys/downloadInvPhOrder', + method: 'post', + data: query + }) +} + diff --git a/src/views/thirdSys/invOrder/thrInvGhOrder.vue b/src/views/thirdSys/invOrder/thrInvGhOrder.vue index d04ebe9f..c28a9f29 100644 --- a/src/views/thirdSys/invOrder/thrInvGhOrder.vue +++ b/src/views/thirdSys/invOrder/thrInvGhOrder.vue @@ -66,6 +66,7 @@ 显示/隐藏搜索栏 重置 查询 + 下载 @@ -177,12 +178,20 @@ diff --git a/src/views/thirdSys/invOrder/thrInvOrder.vue b/src/views/thirdSys/invOrder/thrInvOrder.vue index 11a2a984..79aacabf 100644 --- a/src/views/thirdSys/invOrder/thrInvOrder.vue +++ b/src/views/thirdSys/invOrder/thrInvOrder.vue @@ -66,6 +66,7 @@ 显示/隐藏搜索栏 重置 查询 + 下载 @@ -78,7 +79,7 @@ - + {{scope.row.status == 0 ? '待生成':'已生成'}} + disable-transitions>{{ scope.row.status == 0 ? '待生成' : '已生成' }} + - + @@ -130,13 +135,13 @@ - + - - + + @@ -149,7 +154,7 @@ -