From cab2ceb199f15ccc6353b75e3803034ca60cc3cb Mon Sep 17 00:00:00 2001 From: 13218645326 Date: Sat, 23 Dec 2023 13:27:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=80=80=E6=96=99=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/api/claimAndRefund/receive.js | 11 + sgzb-ui/src/api/claimAndRefund/return.js | 10 +- .../claimAndRefund/return/returnApply.vue | 12 +- .../claimAndRefund/return/returnApplyAdd.vue | 151 +++- .../claimAndRefund/return/returnExamine.vue | 705 +++++++++--------- sgzb-ui/vue.config.js | 3 +- 6 files changed, 472 insertions(+), 420 deletions(-) diff --git a/sgzb-ui/src/api/claimAndRefund/receive.js b/sgzb-ui/src/api/claimAndRefund/receive.js index afd272dc..2d674da4 100644 --- a/sgzb-ui/src/api/claimAndRefund/receive.js +++ b/sgzb-ui/src/api/claimAndRefund/receive.js @@ -132,6 +132,17 @@ export function getTaskDetail( params = {} ){ } +// 获取 物品类型 +export function getUseTypeTreee(params = {}){ + return request({ + url: '/material/backApply/getUseTypeTree', + method: 'post', + data: params + }) +} + + + diff --git a/sgzb-ui/src/api/claimAndRefund/return.js b/sgzb-ui/src/api/claimAndRefund/return.js index 0bec0483..d7642975 100644 --- a/sgzb-ui/src/api/claimAndRefund/return.js +++ b/sgzb-ui/src/api/claimAndRefund/return.js @@ -51,5 +51,13 @@ export function ApiGetMaterialList(query) { - + +//审核 +export function ApiBackApplyAudit(query) { + return request({ + url: '/material/backApply/audit', + method: 'get', + params: query + }) +} diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue b/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue index 0372dad8..ddd898dc 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue @@ -100,12 +100,6 @@ @@ -309,8 +303,8 @@ export default { console.log("paramsparamsparams", params) const res = await ApiGetBackApplyList(params) console.log("res=====", res) - this.typeList = res.rows; - this.total = res.total; + this.typeList = res.data.rows; + this.total = res.data.total; this.loading = false; } catch (error) { @@ -493,7 +487,7 @@ export default { }, resetQuery1(){ - + } diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue b/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue index 2de2adb8..0a1a9316 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue @@ -17,23 +17,24 @@ - + - + + + + - - - @@ -52,31 +53,44 @@ 退料管理 - 导出 + - - - - - - - + + + + + + + + + + - + - +