Browse Source

接口对接完成

zhangyong/milestone-20250913-现金管理
ZhangYong 1 month ago
parent
commit
eeb2874819
  1. 9
      src/components/MoneyManage/CurrencySelect.vue
  2. 6
      src/router/index.js
  3. 688
      src/views/moneyManage/receiveDetail/receiveDetail.vue

9
src/components/MoneyManage/CurrencySelect.vue

@ -1,9 +1,9 @@
<template> <template>
<div class="dropdown" ref="dropdownRef"> <div class="dropdown" ref="dropdownRef">
<!-- 下拉框触发器 --> <!-- 下拉框触发器 -->
<div class="dropdown-toggle" @click="toggleMenu" :class="{ 'active': isOpen }">
<div class="dropdown-toggle" @click="toggleMenu" :class="{ 'active': isOpen,'disabled': props.disabled }">
<div class="search"> <div class="search">
<input type="text" class="search-input" :placeholder="placeholder" :value="isOpen ? searchData : selectedItem"
<input type="text" class="search-input" :placeholder="placeholder" :value="isOpen ? searchData : selectedItem"
@focus="handleSearchFocus" @blur="handleSearchBlur" @input="handleInput"> @focus="handleSearchFocus" @blur="handleSearchBlur" @input="handleInput">
<el-icon class="clear-icon" v-if="searchData" @click="clearSearch"> <el-icon class="clear-icon" v-if="searchData" @click="clearSearch">
<CircleClose /> <CircleClose />
@ -50,6 +50,10 @@ const props = defineProps({
modelValue: { modelValue: {
type: String, type: String,
default: '' default: ''
},
disabled: {
type: Boolean,
default: false
} }
}) })
@ -57,6 +61,7 @@ const emit = defineEmits(['update:modelValue', 'change'])
// //
const toggleMenu = () => { const toggleMenu = () => {
if (props.disabled) return
isOpen.value = !isOpen.value isOpen.value = !isOpen.value
searchData.value = '' searchData.value = ''
} }

6
src/router/index.js

@ -316,21 +316,21 @@ const routes = [
path: 'receiveService', path: 'receiveService',
name: "receiveService", name: "receiveService",
component: () => import("../views/moneyManage/receiveDetail/receiveDetail.vue"), component: () => import("../views/moneyManage/receiveDetail/receiveDetail.vue"),
meta: { permissionId: 75 }
meta: { permissionId: 77 }
}, },
// 地区财务及地区负责人页面 // 地区财务及地区负责人页面
{ {
path: 'receiveArea', path: 'receiveArea',
name: "receiveArea", name: "receiveArea",
component: () => import("../views/moneyManage/receiveDetail/receiveDetail.vue"), component: () => import("../views/moneyManage/receiveDetail/receiveDetail.vue"),
meta: { permissionId: 75 }
meta: { permissionId: 78 }
}, },
//总部管理员及财务 //总部管理员及财务
{ {
path: 'receiveHead', path: 'receiveHead',
name: "receiveHead", name: "receiveHead",
component: () => import("../views/moneyManage/receiveDetail/receiveDetail.vue"), component: () => import("../views/moneyManage/receiveDetail/receiveDetail.vue"),
meta: { permissionId: 75 }
meta: { permissionId: 79 }
}, },
] ]
}, },

688
src/views/moneyManage/receiveDetail/receiveDetail.vue
File diff suppressed because it is too large
View File

Loading…
Cancel
Save