From bac1cc1d08c5fa87d986a953e31c85df8a4bf376 Mon Sep 17 00:00:00 2001 From: zhangyanpeng <bob.zhang@highdatas.com> Date: 星期二, 20 八月 2024 20:20:12 +0800 Subject: [PATCH] 调整 --- module/fee/page/popup/popup_edit_fee_execute.html | 53 ++++++++++++++++++++++++++++------------------------- 1 files changed, 28 insertions(+), 25 deletions(-) diff --git a/module/fee/page/popup/popup_edit_fee_execute.html b/module/fee/page/popup/popup_edit_fee_execute.html index e6f92a0..2db065b 100644 --- a/module/fee/page/popup/popup_edit_fee_execute.html +++ b/module/fee/page/popup/popup_edit_fee_execute.html @@ -367,31 +367,33 @@ }, } - this.tablebuttonClick = [ - { - // name: "鏂板", // type: "primary", // icon: "el-icon-edit", - isbuttonshow: me.isedit, - code: "add", isselected: false, classname: "", - onclick: function(obj) { - me.selectDetailPopup(false) - } - }, - // { - // // name: "鍒犻櫎", // type: "primary", // icon: "el-icon-edit", - // isbuttonshow: me.isedit, type: "danger", - // code: "delete", isselected: true, classname: "", - // disabled: function(selectRowList) { - // var bo_ = true; - // if (selectRowList[0] && selectRowList[0].state_code == "Input") { - // bo_ = false; - // } - // return bo_ - // }, - // onclick: function(obj) { - // me.delData() - // } - // }, - ] + if (me.isedit) { + this.tablebuttonClick = [ + { + // name: "鏂板", // type: "primary", // icon: "el-icon-edit", + isbuttonshow: me.isedit, + code: "add", isselected: false, classname: "", + onclick: function(obj) { + me.selectDetailPopup(false) + } + }, + // { + // // name: "鍒犻櫎", // type: "primary", // icon: "el-icon-edit", + // isbuttonshow: me.isedit, type: "danger", + // code: "delete", isselected: true, classname: "", + // disabled: function(selectRowList) { + // var bo_ = true; + // if (selectRowList[0] && selectRowList[0].state_code == "Input") { + // bo_ = false; + // } + // return bo_ + // }, + // onclick: function(obj) { + // me.delData() + // } + // }, + ] + } }, @@ -1008,6 +1010,7 @@ :isshow-shoppingcart="false" :isbasicfilterfields="false" :isfilterfield="false" + :istablebuttons="false" :table-buttons-click="tablebuttonClick" -- Gitblit v1.8.0