From 9517247cda0b8145975d6ce5d19fc8f766dfc7e8 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 21 Dec 2023 09:26:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=87=BA=E7=BA=B3=E4=BB=98?= =?UTF-8?q?=E6=AC=BE=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chunafukuan/chunafukuanguanli/cashier.vue | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/chunafukuan/chunafukuanguanli/cashier.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/chunafukuan/chunafukuanguanli/cashier.vue index d5ebcb79af..ab36d0ad97 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/chunafukuan/chunafukuanguanli/cashier.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/chunafukuan/chunafukuanguanli/cashier.vue @@ -94,6 +94,11 @@ {{ scope.row.cost }} + + + - + @@ -232,11 +237,11 @@ - 付款备注 + 本次付款说明 - + @@ -265,7 +270,7 @@ import Pagination from '@/components/pagination' import pageye from '@/components/pagination/pageye' import ButtonBar from '@/components/ButtonBar' import upload from '@/components/uploadFile/upload' -import { typeValues, selectAccountByUseOrgSid, getDetailsList, getOrgSidByPath, getBankList } from '@/api/jichuxinxi/dictcommons' +import { typeValues, selectAccountByUseOrgSid, getDetailsList, getOrgSidByPath, getBankList, getButtonPermissions } from '@/api/jichuxinxi/dictcommons' import req from '@/api/anruifinmanagement/chunafukuan/cashier' import { getStorage } from '@/utils/auth' @@ -394,7 +399,18 @@ export default { this.init() }, mounted() { - this.$refs['btnbar'].setButtonList(this.btnList) + getButtonPermissions({ userSid: window.sessionStorage.getItem('userSid'), url: this.$route.path, type: 0 }).then((res) => { + if (res.success) { + for (var i = 0; i < res.data.length; i++) { + for (var k = 0; k < this.btnList.length; k++) { + if (res.data[i].buttonId === this.btnList[k].btnKey) { + this.btnList.splice(k, 1) + } + } + } + this.$refs['btnbar'].setButtonList(this.btnList) + } + }) }, methods: { // 搜索条件效果