Browse Source

右键菜单。添加图标

MaiXinRong 5 years ago
parent
commit
d961b64957
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/public/js/ledger.js

+ 2 - 0
app/public/js/ledger.js

@@ -1149,6 +1149,7 @@ $(document).ready(function() {
         if (!checkTzMeasureType()) {
             billsContextMenuOptions.items.applyDeal2Sgfh = {
                 name: '填设计量',
+                icon: 'fa-pencil',
                 callback: function (key, opt) {
                     postData(window.location.pathname + '/deal2sgfh', null, function (result) {
                         ledgerTree.loadDatas(result.bills);
@@ -2068,6 +2069,7 @@ $(document).ready(function() {
                     items: {
                         apply: {
                             name: '应用全部清单单价至台账',
+                            icon: 'fa-magic',
                             disabled: function (key, opt) {
                                 const sheet = self.spread.getActiveSheet();
                                 return sheet.getRowCount() === 0;