From d3682b99fc30032ed69db31a4d03f3f5480be7b5 Mon Sep 17 00:00:00 2001 From: 13218645326 Date: Sun, 24 Dec 2023 21:15:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/api/claimAndRefund/receive.js | 8 +++++++ sgzb-ui/src/api/system/dict/type.js | 11 +++++++++- .../claimAndRefund/return/returnApply.vue | 21 ++++++++++++++----- .../claimAndRefund/return/returnApplyAdd.vue | 17 ++++++++++----- 4 files changed, 46 insertions(+), 11 deletions(-) diff --git a/sgzb-ui/src/api/claimAndRefund/receive.js b/sgzb-ui/src/api/claimAndRefund/receive.js index 92428a52..4d0a9506 100644 --- a/sgzb-ui/src/api/claimAndRefund/receive.js +++ b/sgzb-ui/src/api/claimAndRefund/receive.js @@ -149,6 +149,14 @@ export function auditLeaseByCompany(params = {} ){ }) } +// 获取 物品类型 +export function getUseTypeTreee(params = {}){ + return request({ + url: '/material/backApply/getUseTypeTree', + method: 'post', + data: params + }) +} diff --git a/sgzb-ui/src/api/system/dict/type.js b/sgzb-ui/src/api/system/dict/type.js index 003c9482..5d548111 100644 --- a/sgzb-ui/src/api/system/dict/type.js +++ b/sgzb-ui/src/api/system/dict/type.js @@ -71,4 +71,13 @@ export function optionselect() { url: '/system/dict/type/optionselect', method: 'get' }) -} \ No newline at end of file +} + +// 工机具类型 +export function getUseTypeTree(data) { + return request({ + url: '/material/backApply/getUseTypeTree', + method: 'post', + data: data + }) +} diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue b/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue index fb6918bb..65185a6b 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue @@ -56,8 +56,8 @@ :options="deptOptions" :props="{ expandTrigger: 'hover', - label: 'label', - value: 'id', + label: 'typeName', + value: 'typeId', checkStrictly: true, }" @change="handleNodeClick" @@ -531,7 +531,7 @@