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