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 @@ -