Browse Source

客户资料新增默认业务员名及业务员id

zhouy 7 years ago
parent
commit
2310ef718a
1 changed files with 4 additions and 2 deletions
  1. 4 2
      frontend/saas-web/app/view/document/customer/FormPanel.js

+ 4 - 2
frontend/saas-web/app/view/document/customer/FormPanel.js

@@ -155,7 +155,8 @@ Ext.define('saas.view.document.customer.FormPanel', {
     }, {
     }, {
         xtype : "hidden", 
         xtype : "hidden", 
         name : "cu_sellerid", 
         name : "cu_sellerid", 
-        fieldLabel : "业务员id"
+        fieldLabel : "业务员id",
+        defaultValue:saas.util.BaseUtil.getCurrentUser().id
     }, {
     }, {
         xtype : "hidden", 
         xtype : "hidden", 
         name : "cu_sellercode", 
         name : "cu_sellercode", 
@@ -164,7 +165,8 @@ Ext.define('saas.view.document.customer.FormPanel', {
         xtype : "employeeDbfindTrigger", 
         xtype : "employeeDbfindTrigger", 
         name : "cu_sellername", 
         name : "cu_sellername", 
         fieldLabel : "业务员",  
         fieldLabel : "业务员",  
-        columnWidth : 0.25
+        columnWidth : 0.25,
+        defaultValue:saas.util.BaseUtil.getCurrentUser().realname
     },{
     },{
         xtype : "hidden", 
         xtype : "hidden", 
         name : "cu_nsrzh", 
         name : "cu_nsrzh",