hy преди 7 години
родител
ревизия
5e91d3eead
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 0 1
      frontend/saas-web/app/view/document/kind/Kind.js
  2. 2 0
      frontend/saas-web/app/view/document/other/Warehouse.js

+ 0 - 1
frontend/saas-web/app/view/document/kind/Kind.js

@@ -187,7 +187,6 @@ Ext.define('saas.view.document.kind.Kind', {
                 xtype: 'actioncolumn',
                 align : 'center',
                 items: [{
-                    icon:'/api/resource/images/16/lock_bg.png',
                     tooltip: '锁定',
                     iconCls:'',
                     getClass: function(v, meta, rec) {

+ 2 - 0
frontend/saas-web/app/view/document/other/Warehouse.js

@@ -3,6 +3,8 @@ Ext.define('saas.view.document.other.Warehouse', {
     xtype: 'other-warehouse',
     autoScroll: true,
     layout:'fit',
+    _openUrl:'/api/document/warehouse/open',
+    _closeUrl:'/api/document/warehouse/close',
     defaultType:'warehouse',
     tbar: ['->',{
         xtype:'button',