Browse Source

代码提交

hy 7 years ago
parent
commit
b46262175b

+ 4 - 4
frontend/saas-web/app/view/core/dbfind/MultiDbfindTrigger.js

@@ -225,10 +225,10 @@ Ext.define('saas.view.core.dbfind.MultiDbfindTrigger', {
                             var nowRec = me.column.ownerCt.ownerCt.store.getData().getByKey(rec.id);
                             if(nowRec.get(item.to)&&nowRec.get(item.to)!=""){
                                 nowRec.set(item.to,null);
-                                delete nowRec.modified[item.to];
-                                if(JSON.stringify(nowRec.modified)=="{}"){
-                                    nowRec.dirty = false
-                                }
+                            }
+                            delete nowRec.modified[item.to];
+                            if(JSON.stringify(nowRec.modified)=="{}"){
+                                nowRec.dirty = false
                             }
                             if(me.name==item.to){
                                 me.column.getEditor().setValue('');

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

@@ -243,7 +243,7 @@ Ext.define('saas.view.document.kind.KindModel', {
             ],
             proxy: {
                 type: 'ajax',
-                url: '/api/document/productunit/list',
+                url: '/api/account/account/accountRole/list',
                 actionMethods: {
                     read: 'GET'
                 },