Browse Source

Merge branch 'dev' of ssh://10.10.100.21/source/saas-platform into dev

zhoudw 7 years ago
parent
commit
233b30affa
43 changed files with 542 additions and 291 deletions
  1. 1 0
      applications/document/document-server/src/main/java/com/usoftchina/saas/document/mapper/BankinformationMapper.java
  2. 19 5
      applications/document/document-server/src/main/java/com/usoftchina/saas/document/service/impl/BankinformationServiceImpl.java
  3. 4 0
      applications/document/document-server/src/main/resources/mapper/BankinformationMapper.xml
  4. 1 1
      base-servers/account/account-server/src/main/java/com/usoftchina/saas/account/controller/AccountController.java
  5. 1 1
      base-servers/account/account-server/src/main/resources/mapper/AccountRoleMapper.xml
  6. 1 1
      frontend/saas-web/app/view/core/form/FormPanelController.js
  7. 22 6
      frontend/saas-web/app/view/main/Main.scss
  8. 37 11
      frontend/saas-web/app/view/money/fundtransfer/FormPanel.js
  9. 7 2
      frontend/saas-web/app/view/money/fundtransfer/FormPanelController.js
  10. 4 0
      frontend/saas-web/app/view/money/fundtransfer/QueryPanel.js
  11. 2 2
      frontend/saas-web/app/view/money/fundtransfer/QueryPanelController.js
  12. 28 5
      frontend/saas-web/app/view/money/othreceipts/FormPanel.js
  13. 70 74
      frontend/saas-web/app/view/money/othreceipts/FormPanelController.js
  14. 6 3
      frontend/saas-web/app/view/money/othreceipts/QueryPanel.js
  15. 12 6
      frontend/saas-web/app/view/money/othreceipts/QueryPanelController.js
  16. 28 5
      frontend/saas-web/app/view/money/othspendings/FormPanel.js
  17. 1 1
      frontend/saas-web/app/view/money/othspendings/FormPanelController.js
  18. 4 0
      frontend/saas-web/app/view/money/othspendings/QueryPanel.js
  19. 1 1
      frontend/saas-web/app/view/money/othspendings/QueryPanelController.js
  20. 44 44
      frontend/saas-web/app/view/money/payBalance/FormPanel.js
  21. 1 1
      frontend/saas-web/app/view/money/payBalance/FormPanelController.js
  22. 1 1
      frontend/saas-web/app/view/money/payBalance/QueryPanelController.js
  23. 33 32
      frontend/saas-web/app/view/money/recBalance/FormPanel.js
  24. 1 1
      frontend/saas-web/app/view/money/recBalance/FormPanelController.js
  25. 3 3
      frontend/saas-web/app/view/purchase/purchase/FormPanel.js
  26. 1 1
      frontend/saas-web/app/view/purchase/purchase/FormPanelController.js
  27. 2 2
      frontend/saas-web/app/view/purchase/purchaseIn/FormPanel.js
  28. 2 2
      frontend/saas-web/app/view/purchase/purchaseOut/FormPanel.js
  29. 0 4
      frontend/saas-web/app/view/sale/report/SaleController.js
  30. 0 4
      frontend/saas-web/app/view/sale/report/SaleProfitController.js
  31. 0 4
      frontend/saas-web/app/view/sale/report/SaleRecController.js
  32. 27 9
      frontend/saas-web/app/view/sale/sale/FormPanel.js
  33. 1 5
      frontend/saas-web/app/view/sale/sale/FormPanelController.js
  34. 0 4
      frontend/saas-web/app/view/sale/sale/QueryPanelController.js
  35. 26 4
      frontend/saas-web/app/view/sale/saleIn/FormPanel.js
  36. 0 4
      frontend/saas-web/app/view/sale/saleIn/FormPanelController.js
  37. 29 4
      frontend/saas-web/app/view/sale/saleOut/FormPanel.js
  38. 24 1
      frontend/saas-web/app/view/stock/appropriationInOut/FormPanel.js
  39. 24 1
      frontend/saas-web/app/view/stock/make/FormPanel.js
  40. 23 8
      frontend/saas-web/app/view/stock/otherIn/FormPanel.js
  41. 23 7
      frontend/saas-web/app/view/stock/otherOut/FormPanel.js
  42. 28 16
      frontend/saas-web/app/view/sys/feedback/FormPanel.js
  43. 0 5
      frontend/saas-web/resources/json/navigation.json

+ 1 - 0
applications/document/document-server/src/main/java/com/usoftchina/saas/document/mapper/BankinformationMapper.java

@@ -24,5 +24,6 @@ public interface BankinformationMapper extends CommonBaseMapper<Bankinformation>
 
     List<ComboDTO> getCombo(@Param("companyId") Long companyId);
     String selectBankcode(String bk_bankcode);
+    Long selectBankId(String bk_bankcode);
 
 }

+ 19 - 5
applications/document/document-server/src/main/java/com/usoftchina/saas/document/service/impl/BankinformationServiceImpl.java

@@ -43,12 +43,28 @@ public class BankinformationServiceImpl extends CommonBaseServiceImpl<Bankinform
         bankinformation.setBk_income(new Double(0));
         bankinformation.setBk_spending(new Double(0));
 
-        //判断编号
         String bktion = bankinformationMapper.selectBankcode(bankinformation.getBk_bankcode());
-        if (bktion != null){
-            throw new BizException(500, BizExceptionCode.ACCOUNT_EXISTS.getMessage());
+        //先判断ID,再判断编号
+        if (bankinformation.getId() == 0)
+        {
+            if (bktion != null){
+                throw new BizException(500, BizExceptionCode.ACCOUNT_EXISTS.getMessage());
+            }
+            bankinformationMapper.insertSelective(bankinformation);
+        }else {
+            if (bktion != null){
+                Long id = bankinformationMapper.selectBankId(bankinformation.getBk_bankcode());
+                if (id.equals(bankinformation.getId())){
+                    bankinformationMapper.updateByPrimaryKeySelective(bankinformation);
+                }else {
+                    throw new BizException(500, BizExceptionCode.ACCOUNT_EXISTS.getMessage());
+                }
+            }else {
+                bankinformationMapper.updateByPrimaryKeySelective(bankinformation);
+            }
         }
 
+
         //中间表
         Banksubledger banksubledger = new Banksubledger();
         Date date = bankinformation.getBk_date();
@@ -75,10 +91,8 @@ public class BankinformationServiceImpl extends CommonBaseServiceImpl<Bankinform
         banksubledger.setBl_orderamount(bankinformation.getBk_beginamount());
 
         if(bankinformation.getId() == 0){
-            bankinformationMapper.insertSelective(bankinformation);
             banksubledgerMapper.insertSelective(banksubledger);
         }else{
-            bankinformationMapper.updateByPrimaryKeySelective(bankinformation);
             banksubledgerMapper.updateByPrimaryKeySelective(banksubledger);
         }
         return true;

+ 4 - 0
applications/document/document-server/src/main/resources/mapper/BankinformationMapper.xml

@@ -339,4 +339,8 @@
   <select id="selectBankcode" parameterType="java.lang.String" resultType="java.lang.String">
         select bk_bankcode from bankinformation where bk_bankcode = #{bk_bankcode,jdbcType=VARCHAR}
     </select>
+
+  <select id="selectBankId" parameterType="java.lang.String" resultType="java.lang.Long">
+        select bk_id from bankinformation where bk_bankcode = #{bk_bankcode,jdbcType=VARCHAR}
+    </select>
 </mapper>

+ 1 - 1
base-servers/account/account-server/src/main/java/com/usoftchina/saas/account/controller/AccountController.java

@@ -318,7 +318,7 @@ public class AccountController {
      * @return
      */
     @PostMapping("/bind/roles")
-    public Result bindRoles(@RequestParam long accountId, @RequestParam String roleIds) {
+    public Result bindRoles(@RequestParam("accountId") Long accountId, @RequestParam("roleIds") String roleIds) {
         accountService.bindRoles(accountId, roleIds);
         accountService.clearCache(accountId);
         return Result.success();

+ 1 - 1
base-servers/account/account-server/src/main/resources/mapper/AccountRoleMapper.xml

@@ -32,6 +32,6 @@
         group by a.id,a.username,a.realname,a.email,a.mobile
     </select>
     <delete id="unBindRolesById" parameterType="java.lang.Long">
-        DELETE FROM AC_ACCOUNT_COMPANY WHERE ACCOUNT_ID = #{id}
+        DELETE FROM AC_ACCOUNT_ROLE WHERE ACCOUNT_ID = #{id}
     </delete>
 </mapper>

+ 1 - 1
frontend/saas-web/app/view/core/form/FormPanelController.js

@@ -132,7 +132,7 @@ Ext.define('saas.view.core.form.FormPanelController', {
         modelData = viewModel.getData();
 
         //form里面数据
-        var formData = form.getFormData();
+        var formData = form.getDirtyData();
 
         var params = {
             main:formData.main

+ 22 - 6
frontend/saas-web/app/view/main/Main.scss

@@ -221,26 +221,42 @@ body > .x-mask {
     filter: grayscale(100%);
     filter: gray;
 }
+ .x-main-menu{
+    background: #f8fbff;
+    border: 2px solid #34baf6;
+ }
+ .x-main-menu .x-menu-item-text-default{
+    font-family: PingFangSC-Regular;
+    //font-size: 14px;
+    color: #34BAF6;
+    letter-spacing: 0;
+    text-align: center;
+ }
 .x-main-menu::before{
     content: ' ';
     display: block;
     border-style: solid;
-    box-shadow: 0px 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(15, 136, 232, 0.6);
+    background-color: white;
+    transform: rotate(45deg);
+    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(15, 136, 232, 0.6);
     box-shadow: aliceblue;
-    border-width: 17px;
-    border-color: #cccccc;
+    border-width: 2px;
+    border-color: #34BAF6;
     /* border-color: #cccccc #6e838e #9c9d9e #bdc3c5; */
     position: fixed;
+    width: 14px;
+    height: 14px;
     /* left: 100%; */
-    top: 26px;
+    top: 25px;
     -moz-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
-    -webkit-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
+    /* -webkit-clip-path: polygon(100% 0px, 0 50%, 100% 100%); */
     -o-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
     -ms-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
     -khtml-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
-    clip-path: polygon(0 100%, 50% 0, 100% 100%);
+    clip-path: polygon(0% 0,100% 0%,0 100%);
     margin-top: 17px;
     margin-left: 7px;
+    z-index: 99;
 }
 .x-main-menu2::before{
     content: ' ';

+ 37 - 11
frontend/saas-web/app/view/money/fundtransfer/FormPanel.js

@@ -9,7 +9,7 @@ Ext.define('saas.view.money.fundtransfer.FormPanel', {
     caller:'FundTransfer',
     
      //字段属性
-     _title:'资金转',
+     _title:'资金转',
      _idField: 'id',
      _codeField: 'ft_code',
      _statusField: 'ft_status',
@@ -81,6 +81,10 @@ Ext.define('saas.view.money.fundtransfer.FormPanel', {
                     valueField : "value", 
                     xtype : "dbfindtrigger"
                 }
+            },{
+                text : "转出账户余额", 
+                dataIndex : "bk_outthisamount", 
+                ignore:true
             }, {
                 text : "转入账户ID", 
                 dataIndex : "ftd_inbankid", 
@@ -108,11 +112,15 @@ Ext.define('saas.view.money.fundtransfer.FormPanel', {
                     valueField : "value", 
                     xtype : "dbfindtrigger"
                 }
+            },{
+                text : "转入账户余额", 
+                dataIndex : "bk_inthisamount", 
+                ignore:true
             }, {
-                text : "金额", 
+                text : "本次转出金额", 
                 xtype: 'numbercolumn',
                 dataIndex : "ftd_nowbalance", 
-                width : 120.0, 
+                width : 150.0, 
                 editor : {
                     xtype : "numberfield",
                     decimalPrecision: 2
@@ -133,7 +141,7 @@ Ext.define('saas.view.money.fundtransfer.FormPanel', {
             }, {
                 text : "结算方式号", 
                 dataIndex : "ftd_paycode", 
-                width : 100,
+                width : 110,
                 editor:{
                     xtype: ''  
                 }
@@ -175,30 +183,48 @@ Ext.define('saas.view.money.fundtransfer.FormPanel', {
         fieldLabel : "备注", 
         allowBlank : true, 
         columnWidth : 0.75
-    }, {
-        xtype : "textfield", 
+    },{
+        xtype : "hidden", 
         name : "creatorId", 
         fieldLabel : "录入人ID", 
-        hidden:true
-    }, {
+        readOnly:true
+    },
+    {
         xtype : "textfield", 
         name : "creatorName", 
         fieldLabel : "录入人", 
         readOnly:true
     }, {
         xtype : "datefield", 
-        name : "createTime",
+        name : "createTime", 
         fieldLabel : "录入日期",
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
         readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
+    }, {
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
+        defaultValue: new Date()
     },{
         xtype: 'textfield',
         name: 'ft_auditman',
         fieldLabel: '审核人',
-        hidden: true
+        readOnly: true
     },{
         xtype: "datefield",
         name: "ft_auditdate",
         fieldLabel: "审核日期",
-        hidden: true
+        readOnly: true
     }]
 });

+ 7 - 2
frontend/saas-web/app/view/money/fundtransfer/FormPanelController.js

@@ -4,7 +4,7 @@ Ext.define('saas.view.money.fundtransfer.FormPanelController', {
     init: function (form) {
         var me = this;
         this.control({
-            //放大镜赋值关系 以及 tpl模板
+            //
             'dbfindtrigger[name=ftd_bankname]':{
                 beforerender:function(f){
                     Ext.apply(f,{
@@ -18,6 +18,8 @@ Ext.define('saas.view.money.fundtransfer.FormPanelController', {
                             from:'bk_bankname',to:'ftd_bankname'
                         },{
                             from:'id',to:'ftd_bankid',ignore:true
+                        },{
+                            from:'bk_thisamount',to:'bk_outthisamount'
                         }],
                         dbtpls:[{
                             field:'bk_bankcode',width:100
@@ -74,6 +76,7 @@ Ext.define('saas.view.money.fundtransfer.FormPanelController', {
                     }) ;
                 }
             },
+            //入
             'dbfindtrigger[name=ftd_inbankname]':{
                 beforerender:function(f){
                     Ext.apply(f,{
@@ -86,7 +89,9 @@ Ext.define('saas.view.money.fundtransfer.FormPanelController', {
                         },{
                             from:'bk_bankname',to:'ftd_inbankname'
                         },{
-                            from:'id',to:'ftd_inbankid'
+                            from:'id',to:'ftd_inbankid',ignore:true
+                        },{
+                            from:'bk_inthisamount',to:'bk_inthisamount'
                         }],
                         dbtpls:[{
                             field:'bk_bankcode',width:100

+ 4 - 0
frontend/saas-web/app/view/money/fundtransfer/QueryPanel.js

@@ -67,6 +67,10 @@ Ext.define('saas.view.money.fundtransfer.QueryPanel', {
         xtype : "dbfindtrigger",
         name : "ftd_inbankname",
         fieldLabel : "转入账号",
+    },{
+        xtype: 'textfield',
+        name: 'creatorName',
+        fieldLabel: '录入人'
     }],
     moreQueryFormItems: [],
     queryGridConfig: {

+ 2 - 2
frontend/saas-web/app/view/money/fundtransfer/QueryPanelController.js

@@ -17,7 +17,7 @@ Ext.define('saas.view.money.fundtransfer.QueryPanelController', {
                             },{
                                 from:'bk_bankname',to:'ftd_bankname'
                             },{
-                                from:'id',to:'ftd_bankid'
+                                from:'id',to:'ftd_bankid',ignore:true
                             }],
                         dbtpls:[{
                             field:'bk_bankcode',width:100
@@ -86,7 +86,7 @@ Ext.define('saas.view.money.fundtransfer.QueryPanelController', {
                             },{
                                 from:'bk_bankname',to:'ftd_inbankname'
                             },{
-                                from:'id',to:'ftd_inbankid'
+                                from:'id',to:'ftd_inbankid',ignore:true
                             }],
                         dbtpls:[{
                             field:'bk_bankcode',width:100

+ 28 - 5
frontend/saas-web/app/view/money/othreceipts/FormPanel.js

@@ -150,25 +150,48 @@ Ext.define('saas.view.money.othreceipts.FormPanel', {
         fieldLabel : "备注", 
         allowBlank : true, 
         columnWidth : 0.75
-    }, {
+    },{
+        xtype : "hidden", 
+        name : "creatorId", 
+        fieldLabel : "录入人ID", 
+        readOnly:true
+    },
+    {
         xtype : "textfield", 
-        name : "or_recorder", 
+        name : "creatorName", 
         fieldLabel : "录入人", 
         readOnly:true
     }, {
         xtype : "datefield", 
-        name : "or_recorddate",
+        name : "createTime", 
         fieldLabel : "录入日期",
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
         readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
+    }, {
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
+        defaultValue: new Date()
     },{
         xtype: 'textfield',
         name: 'or_auditman',
         fieldLabel: '审核人',
-        hidden: true
+        readOnly:true
     },{
         xtype: "datefield",
         name: "or_auditdate",
         fieldLabel: "审核日期",
-        hidden: true
+        readOnly:true
     }]
 });

+ 70 - 74
frontend/saas-web/app/view/money/othreceipts/FormPanelController.js

@@ -14,8 +14,7 @@ Ext.define('saas.view.money.othreceipts.FormPanelController', {
                         defaultCondition: "cu_statuscode='OPEN'",
                         dbfinds: [{
                             from: 'id',
-                            to: 'or_custid',
-                            ignore:true
+                            to: 'or_custid',ignore:true
                         }, {
                             from: 'cu_code',
                             to: 'or_custcode'
@@ -40,77 +39,74 @@ Ext.define('saas.view.money.othreceipts.FormPanelController', {
                             allowBlank: true,
                             columnWidth: 0.25
                         }],
-                        dbColumns: [{
-                            conditionCode: 'id',
-                            "text": "客户ID",
-                            "flex": 0,
-                            "dataIndex": "id",
-                            "width": 0,
-                            "xtype": "",
-                            "items": null
-                        }, {
-                            conditionCode: 'cu_code',
-                            "text": "客户编号",
-                            "flex": 1,
-                            "dataIndex": "cu_code",
-                            "width": 100,
-                            "xtype": "",
-                            "items": null
-                        }, {
-                            conditionCode: 'cu_name',
-                            "text": "客户名称",
-                            "flex": 1,
-                            "dataIndex": "cu_name",
-                            "xtype": "",
-                            "items": null
-                        }, {
-                            conditionCode: 'cu_type',
-                            "text": "客户类型",
-                            "flex": 1,
-                            "dataIndex": "cu_type",
-                            "width": 200,
-                            "xtype": "",
-                            "items": null
-                        }, {
-                            "text": "业务员编号",
-                            "flex": 1,
-                            "dataIndex": "cu_sellercode",
-                            "width": 100
-                        }, {
-                            "text": "业务员",
-                            "flex": 1,
-                            "dataIndex": "cu_sellername",
-                            "width": 100
-                        }, {
-                            "text": "税率",
-                            "flex": 1,
-                            "dataIndex": "cu_taxrate",
-                            "width": 100,
-                            xtype: 'numbercolumn',
-                            align:'end'
-                        }, {
-                            "text": "承付天数",
-                            "flex": 1,
-                            "dataIndex": "cu_promisedays",
-                            "width": 100,
-                            xtype: 'numbercolumn',
-                            align:'end', 
-                            renderer : function(v) {
-                                return Ext.util.Format.number(v, '0');
-                            }
-                        }, {
-                            "text": "额度",
-                            "flex": 1,
-                            "dataIndex": "cu_credit",
-                            "width": 100,
-                            xtype: 'numbercolumn',
-                            align:'end'
-                        }, {
-                            "text": "客户地址",
-                            "flex": 1,
-                            "dataIndex": "ca_address",
-                            "width": 250
-                        }]
+                        dbColumns:[
+                            {
+                                "text": "客户ID",
+                                "flex": 0,
+                                "dataIndex": "id",
+                                "width": 0,
+                                "xtype": "",
+                                "items": null
+                            },{
+                                "text": "客户编号",
+                                "flex": 1,
+                                "dataIndex": "cu_code",
+                                "width": 100,
+                                "xtype": "",
+                                "items": null
+                            }, {
+                                "text": "客户名称",
+                                "flex": 1,
+                                "dataIndex": "cu_name",
+                                "xtype": "",
+                                "items": null
+                            }, {
+                                "text": "客户类型",
+                                "flex": 1,
+                                "dataIndex": "cu_type",
+                                "width": 200,
+                                "xtype": "",
+                                "items": null
+                            }, {
+                                "text": "业务员编号",
+                                "flex": 1,
+                                "dataIndex": "cu_sellercode",
+                                "width": 100
+                            }, {
+                                "text": "业务员",
+                                "flex": 1,
+                                "dataIndex": "cu_sellername",
+                                "width": 100
+                            }, {
+                                "text": "税率",
+                                "flex": 1,
+                                "dataIndex": "cu_taxrate",
+                                "width": 100,
+                                xtype: 'numbercolumn',
+                                align:'end'
+                            }, {
+                                "text": "承付天数",
+                                "flex": 1,
+                                "dataIndex": "cu_promisedays",
+                                "width": 100,
+                                xtype: 'numbercolumn',
+                                align:'end', 
+                                renderer : function(v) {
+                                    return Ext.util.Format.number(v, '0');
+                                }
+                            }, {
+                                "text": "额度",
+                                "flex": 1,
+                                "dataIndex": "cu_credit",
+                                "width": 100,
+                                xtype: 'numbercolumn',
+                                align:'end'
+                            }, {
+                                "text": "客户地址",
+                                "flex": 2,
+                                "dataIndex": "ca_address",
+                                "width": 300
+                            }]
                     });
 
                 }
@@ -130,7 +126,7 @@ Ext.define('saas.view.money.othreceipts.FormPanelController', {
                             to: 'or_bankname'
                         }, {
                             from: 'id',
-                            to: 'or_bankid'
+                            to: 'or_bankid',ignore:true
                         }],
                         // defaultCondition: "bk_statuscode='OPEN'",
                         dbtpls: [{

+ 6 - 3
frontend/saas-web/app/view/money/othreceipts/QueryPanel.js

@@ -40,7 +40,7 @@ Ext.define('saas.view.money.othreceipts.QueryPanel', {
     },  {
         xtype: 'dbfindtrigger',
         name: 'or_bankname',
-        fieldLabel: '账户名称'
+        fieldLabel: '结算账户'
     }, {
         xtype: 'condatefield',
         name: 'or_date',
@@ -68,6 +68,10 @@ Ext.define('saas.view.money.othreceipts.QueryPanel', {
         fieldLabel: '收入类别',
         xtype : "remotecombo",
         storeUrl:'/api/document/fundinouttype/getCombo?condition=收入',
+    },{
+        xtype: 'textfield',
+        name: 'creatorName',
+        fieldLabel: '录入人'
     }],
     moreQueryFormItems: [],
     queryGridConfig: {
@@ -77,7 +81,6 @@ Ext.define('saas.view.money.othreceipts.QueryPanel', {
         addXtype: 'money-othreceipts-formpanel',
         defaultCondition:'',
         baseVastUrl: '/api/money/othreceipts/',
-        // baseVastUrl: 'http://192.168.253.35:8880/othreceipts/',
         baseColumn: [{
             text: 'id',
             dataIndex: 'id',
@@ -101,7 +104,7 @@ Ext.define('saas.view.money.othreceipts.QueryPanel', {
             dataIndex: 'or_custname',
             width: 120
         },  {
-            text: '结算账',
+            text: '结算账',
             dataIndex: 'or_bankname',
             width: 120
         },{

+ 12 - 6
frontend/saas-web/app/view/money/othreceipts/QueryPanelController.js

@@ -12,7 +12,7 @@ Ext.define('saas.view.money.othreceipts.QueryPanelController', {
                         addXtype: 'document-customer-formpanel',
                         addTitle: '客户资料',
                         dbfinds:[{
-                            from:'id',to:'or_custid'
+                            from:'id',to:'or_custid',ignore:true
                         },{
                             from:'cu_code',to:'or_custcode'
                         },{
@@ -23,9 +23,18 @@ Ext.define('saas.view.money.othreceipts.QueryPanelController', {
                         },{
                             field:'cu_name',width:100
                         }],
+                        dbSearchFields: [{
+                            emptyText: '输入客户编号或客户名称',
+                            xtype: "textfield",
+                            name: "search",
+                            getCondition: function (v) {
+                                return "(upper(cu_code) like '%"+v.toUpperCase()+"%' or upper(cu_name) like '%"+v.toUpperCase()+"%')";
+                            },
+                            allowBlank: true,
+                            columnWidth: 0.25
+                        }],
                         dbColumns:[
                             {
-                                conditionCode:'id',
                                 "text": "客户ID",
                                 "flex": 0,
                                 "dataIndex": "id",
@@ -33,7 +42,6 @@ Ext.define('saas.view.money.othreceipts.QueryPanelController', {
                                 "xtype": "",
                                 "items": null
                             },{
-                                conditionCode:'cu_code',
                                 "text": "客户编号",
                                 "flex": 1,
                                 "dataIndex": "cu_code",
@@ -41,14 +49,12 @@ Ext.define('saas.view.money.othreceipts.QueryPanelController', {
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_name',
                                 "text": "客户名称",
                                 "flex": 1,
                                 "dataIndex": "cu_name",
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_type',
                                 "text": "客户类型",
                                 "flex": 1,
                                 "dataIndex": "cu_type",
@@ -115,7 +121,7 @@ Ext.define('saas.view.money.othreceipts.QueryPanelController', {
                         },{
                             from:'bk_bankname',to:'or_bankname'
                         },{
-                            from:'id',to:'or_bankid'
+                            from:'id',to:'or_bankid',ignore:true
                         }],
                         dbtpls:[{
                             field:'bk_bankcode',width:100

+ 28 - 5
frontend/saas-web/app/view/money/othspendings/FormPanel.js

@@ -150,25 +150,48 @@ Ext.define('saas.view.money.othspendings.FormPanel', {
         fieldLabel : "备注", 
         allowBlank : true, 
         columnWidth : 0.75
-    }, {
+    },{
+        xtype : "hidden", 
+        name : "creatorId", 
+        fieldLabel : "录入人ID", 
+        readOnly:true
+    },
+    {
         xtype : "textfield", 
-        name : "os_recorder", 
+        name : "creatorName", 
         fieldLabel : "录入人", 
         readOnly:true
     }, {
         xtype : "datefield", 
-        name : "os_recorddate",
+        name : "createTime", 
         fieldLabel : "录入日期",
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
         readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
+    }, {
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
+        defaultValue: new Date()
     },{
         xtype: 'textfield',
         name: 'os_auditman',
         fieldLabel: '审核人',
-        hidden: true
+        readOnly:true
     },{
         xtype: "datefield",
         name: "os_auditdate",
         fieldLabel: "审核日期",
-        hidden: true
+        readOnly:true
     }]
 });

+ 1 - 1
frontend/saas-web/app/view/money/othspendings/FormPanelController.js

@@ -103,7 +103,7 @@ Ext.define('saas.view.money.othspendings.FormPanelController', {
                             to: 'os_bankname'
                         }, {
                             from: 'id',
-                            to: 'os_bankid'
+                            to: 'os_bankid',ignore:true
                         }],
                         dbtpls: [{
                             field: 'bk_bankcode',

+ 4 - 0
frontend/saas-web/app/view/money/othspendings/QueryPanel.js

@@ -67,6 +67,10 @@ Ext.define('saas.view.money.othspendings.QueryPanel', {
         fieldLabel: '支出类别',
         xtype : "remotecombo",
         storeUrl:'/api/document/fundinouttype/getCombo?condition=支出',
+    },{
+        xtype: 'textfield',
+        name: 'creatorName',
+        fieldLabel: '录入人'
     }],
     moreQueryFormItems: [],
     queryGridConfig: {

+ 1 - 1
frontend/saas-web/app/view/money/othspendings/QueryPanelController.js

@@ -103,7 +103,7 @@ Ext.define('saas.view.money.othspendings.QueryPanelController', {
                         },{
                             from:'bk_bankname',to:'os_bankname'
                         },{
-                            from:'id',to:'os_bankid'
+                            from:'id',to:'os_bankid',ignore:true
                         }],
                         dbtpls:[{
                             field:'bk_bankcode',width:100

+ 44 - 44
frontend/saas-web/app/view/money/payBalance/FormPanel.js

@@ -20,13 +20,6 @@ Ext.define('saas.view.money.payBalance.FormPanel', {
     _auditUrl: '/api/money/paybalance/audit/',
     _unAuditUrl: '/api/money/paybalance/unAudit/',
     _deleteUrl: '/api/money/paybalance/delete/',
-
-    // _readUrl: 'http://192.168.253.35:8880/paybalance/read/',
-    // _saveUrl: 'http://192.168.253.129:8940/money/paybalance/save/',
-    // _auditUrl: 'http://192.168.253.35:8880/paybalance/audit/',
-    // _unAuditUrl: 'http://192.168.253.35:8880/paybalance/unAudit/',
-    // _deleteUrl: 'http://192.168.253.129:8940/money/paybalance/delete/',
-    
     initId: 0,
 
     toolBtns: [],
@@ -97,7 +90,8 @@ Ext.define('saas.view.money.payBalance.FormPanel', {
         storeModel: 'saas.model.money.PayBalance1',
         detnoColumn: 'pd_detno',
         deleteDetailUrl: '/api/money/paybalance/deleteDetail1/',
-        columns: [{
+        columns: [
+        {
             text: 'ID',
             dataIndex: 'id',
             hidden: true
@@ -188,7 +182,8 @@ Ext.define('saas.view.money.payBalance.FormPanel', {
         detnoColumn: 'pbd_detno',
         allowEmpty: true,
         deleteDetailUrl: '/api/money/paybalance/deleteDetail2/',
-        columns: [{
+        columns: [
+        {
             text: 'ID',
             dataIndex: 'id',
             hidden: true
@@ -327,33 +322,48 @@ Ext.define('saas.view.money.payBalance.FormPanel', {
         columnWidth: 1,
         fieldLabel: '备注'
     }, {
-        xtype: 'hidden',
-        name: 'pb_recorderid',
-        fieldLabel: '创建人ID'
-    }, {
-        xtype: 'hidden',
-        name: 'pb_recorder',
-        fieldLabel: '录入人'
-    }, {
-        xtype: "hidden",
-        name: "pb_recorddate",
-        fieldLabel: "录入日期"
-    }, {
-        xtype: "hidden",
-        name: "updatedate",
-        fieldLabel: "更新日期"
+        xtype : "hidden", 
+        name : "creatorId", 
+        fieldLabel : "录入人ID", 
+        readOnly:true
+    },
+    {
+        xtype : "textfield", 
+        name : "creatorName", 
+        fieldLabel : "录入人", 
+        readOnly:true
     }, {
-        xtype: "hidden",
-        readOnly: true,
-        editable: false,
-        name: "pb_status",
-        fieldLabel: "单据状态"
+        xtype : "datefield", 
+        name : "createTime", 
+        fieldLabel : "录入日期",
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
+        readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
     }, {
-        xtype: "hidden",
-        readOnly: true,
-        editable: false,
-        name: "pb_statuscode",
-        fieldLabel: "单据状态码"
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype: 'textfield',
+        name: 'pb_auditman',
+        fieldLabel: '审核人',
+        readOnly: true
+    },{
+        xtype: "datefield",
+        name: "pb_auditdate",
+        fieldLabel: "审核日期",
+        readOnly: true
     }, {
         xtype: 'hidden',
         name: 'pb_text1',
@@ -374,16 +384,6 @@ Ext.define('saas.view.money.payBalance.FormPanel', {
         xtype: 'hidden',
         name: 'pb_text5',
         fieldLabel: '自定义字段5'
-    },{
-        xtype: 'textfield',
-        name: 'pb_auditman',
-        fieldLabel: '审核人',
-        hidden: true
-    },{
-        xtype: "datefield",
-        name: "pb_auditdate",
-        fieldLabel: "审核日期",
-        hidden: true
     }],
 
     beforeAudit: function() {

+ 1 - 1
frontend/saas-web/app/view/money/payBalance/FormPanelController.js

@@ -197,7 +197,7 @@ Ext.define('saas.view.money.payBalance.FormPanelController', {
                         addTitle: '资金账户',
                         dbfinds: [{
                             from: 'id',
-                            to: 'pd_bankid'
+                            to: 'pd_bankid',ignore:true
                         }, {
                             from: 'bk_bankcode',
                             to: 'pd_bankcode'

+ 1 - 1
frontend/saas-web/app/view/money/payBalance/QueryPanelController.js

@@ -186,7 +186,7 @@ Ext.define('saas.view.money.paybalance.QueryPanelController', {
                         addTitle: '资金账户',
                         dbfinds: [{
                             from: 'id',
-                            to: 'pd_bankid'
+                            to: 'pd_bankid',ignore:true
                         }, {
                             from: 'bk_bankcode',
                             to: 'pd_bankcode'

+ 33 - 32
frontend/saas-web/app/view/money/recBalance/FormPanel.js

@@ -21,13 +21,6 @@ Ext.define('saas.view.money.recBalance.FormPanel', {
     _auditUrl: '/api/money/recbalance/audit/',
     _unAuditUrl: '/api/money/recbalance/unAudit/',
     _deleteUrl: '/api/money/recbalance/delete/',
-
-    // _saveUrl: 'http://192.168.253.35:8880/recbalance/save/',
-    // _readUrl: 'http://192.168.253.35:8880/recbalance/read/',
-    // _auditUrl: 'http://192.168.253.35:8880/recbalance/audit/',
-    // _unAuditUrl: 'http://192.168.253.35:8880/recbalance/unAudit/',
-
-
     initId: 0,
 
     defaultItems: [{
@@ -318,41 +311,49 @@ Ext.define('saas.view.money.recBalance.FormPanel', {
         name: 'rb_remark',
         fieldLabel: '备注',
         columnWidth: 1
+    },{
+        xtype : "hidden", 
+        name : "creatorId", 
+        fieldLabel : "录入人ID", 
+        readOnly:true
+    },
+    {
+        xtype : "textfield", 
+        name : "creatorName", 
+        fieldLabel : "录入人", 
+        readOnly:true
     }, {
-        xtype: 'numberfield',
-        name: 'rb_recorderid',
-        fieldLabel: '录入人ID',
-        hidden: true
-    }, {
-        xtype: 'textfield',
-        name: 'rb_recorder',
-        fieldLabel: '录入人',
-        hidden: true
-    }, {
-        xtype: 'numberfield',
-        name: 'updaterId',
-        fieldLabel: '更新人ID',
-        hidden: true
-    }, {
-        xtype: 'datefield',
-        name: 'updatedate',
-        fieldLabel: '更新日期',
-        hidden: true
+        xtype : "datefield", 
+        name : "createTime", 
+        fieldLabel : "录入日期",
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
+        readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
     }, {
-        xtype: "datefield",
-        name: "rb_recorddate",
-        fieldLabel: "录入日期",
-        hidden: true
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
+        defaultValue: new Date()
     }, {
         xtype: 'textfield',
         name: 'rb_auditman',
         fieldLabel: '审核人',
-        hidden: true
+        readOnly: true
     },{
         xtype: "datefield",
         name: "rb_auditdate",
         fieldLabel: "审核日期",
-        hidden: true
+        readOnly: true
     }],
 
     beforeAudit: function() {

+ 1 - 1
frontend/saas-web/app/view/money/recBalance/FormPanelController.js

@@ -276,7 +276,7 @@ Ext.define('saas.view.money.recBalance.FormPanelController', {
                         addTitle: '资金账户',
                         dbfinds: [{
                             from: 'id',
-                            to: 'rd_bankid'
+                            to: 'rd_bankid',ignore:true
                         }, {
                             from: 'bk_bankcode',
                             to: 'rd_bankcode'

+ 3 - 3
frontend/saas-web/app/view/purchase/purchase/FormPanel.js

@@ -199,7 +199,7 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                 },
                 renderer : function(v) {
                     var arr = (v + '.').split('.');
-                    var xr = (new Array(arr[1].length > 8 ? 8 : arr[1].length)).fill('0');
+                    var xr = (new Array(arr[1].length > 8 ? 8 :(arr[1].length < 2? 2 : arr[1].length))).fill('0');
                     var format = '0,000.' + xr.join();
                     return Ext.util.Format.number(v, format);
                 },
@@ -360,7 +360,7 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
         readOnly:true
     }, {
         xtype : "datefield", 
-        name : "createtime", 
+        name : "createTime", 
         fieldLabel : "录入日期",
         readOnly:true, 
         defaultValue: new Date()
@@ -376,7 +376,7 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
         readOnly:true
     }, {
         xtype : "hidden", 
-        name : "updatetime", 
+        name : "updateTime", 
         fieldLabel : "更新日期",
         readOnly:true, 
         defaultValue: new Date()

+ 1 - 1
frontend/saas-web/app/view/purchase/purchase/FormPanelController.js

@@ -97,7 +97,7 @@ Ext.define('saas.view.purchase.purchase.FormPanelController', {
                         //数据接口
                         dataUrl:'/api/document/employee/list',
                         addXtype: 'document-vendor-formpanel',
-                        addTitle: '供应商资料',
+                        addTitle: '人员资料',
                         //赋值 
                         dbfinds:[{
                             from:'id',to:'pu_buyerid',ignore:true

+ 2 - 2
frontend/saas-web/app/view/purchase/purchaseIn/FormPanel.js

@@ -355,7 +355,7 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
         readOnly:true
     }, {
         xtype : "datefield", 
-        name : "createtime", 
+        name : "createTime", 
         fieldLabel : "录入日期",
         readOnly:true, 
         defaultValue: new Date()
@@ -371,7 +371,7 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
         readOnly:true
     }, {
         xtype : "hidden", 
-        name : "updatetime", 
+        name : "updateTime", 
         fieldLabel : "更新日期",
         readOnly:true, 
         defaultValue: new Date()

+ 2 - 2
frontend/saas-web/app/view/purchase/purchaseOut/FormPanel.js

@@ -340,7 +340,7 @@ Ext.define('saas.view.purchase.purchaseOut.FormPanel', {
         readOnly:true
     }, {
         xtype : "datefield", 
-        name : "createtime", 
+        name : "createTime", 
         fieldLabel : "录入日期",
         readOnly:true, 
         defaultValue: new Date()
@@ -356,7 +356,7 @@ Ext.define('saas.view.purchase.purchaseOut.FormPanel', {
         readOnly:true
     }, {
         xtype : "hidden", 
-        name : "updatetime", 
+        name : "updateTime", 
         fieldLabel : "更新日期",
         readOnly:true, 
         defaultValue: new Date()

+ 0 - 4
frontend/saas-web/app/view/sale/report/SaleController.js

@@ -38,7 +38,6 @@ Ext.define('saas.view.sale.report.SaleController', {
                         }],
                         dbColumns:[
                             {
-                                conditionCode:'id',
                                 "text": "客户ID",
                                 "flex": 0,
                                 "dataIndex": "id",
@@ -46,7 +45,6 @@ Ext.define('saas.view.sale.report.SaleController', {
                                 "xtype": "",
                                 "items": null
                             },{
-                                conditionCode:'cu_code',
                                 "text": "客户编号",
                                 "flex": 1,
                                 "dataIndex": "cu_code",
@@ -54,14 +52,12 @@ Ext.define('saas.view.sale.report.SaleController', {
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_name',
                                 "text": "客户名称",
                                 "flex": 1,
                                 "dataIndex": "cu_name",
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_type',
                                 "text": "客户类型",
                                 "flex": 1,
                                 "dataIndex": "cu_type",

+ 0 - 4
frontend/saas-web/app/view/sale/report/SaleProfitController.js

@@ -38,7 +38,6 @@ Ext.define('saas.view.sale.report.SaleProfitController', {
                         }],
                         dbColumns:[
                             {
-                                conditionCode:'id',
                                 "text": "客户ID",
                                 "flex": 0,
                                 "dataIndex": "id",
@@ -46,7 +45,6 @@ Ext.define('saas.view.sale.report.SaleProfitController', {
                                 "xtype": "",
                                 "items": null
                             },{
-                                conditionCode:'cu_code',
                                 "text": "客户编号",
                                 "flex": 1,
                                 "dataIndex": "cu_code",
@@ -54,14 +52,12 @@ Ext.define('saas.view.sale.report.SaleProfitController', {
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_name',
                                 "text": "客户名称",
                                 "flex": 1,
                                 "dataIndex": "cu_name",
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_type',
                                 "text": "客户类型",
                                 "flex": 1,
                                 "dataIndex": "cu_type",

+ 0 - 4
frontend/saas-web/app/view/sale/report/SaleRecController.js

@@ -38,7 +38,6 @@ Ext.define('saas.view.sale.report.SaleRecController', {
                         }],
                         dbColumns:[
                             {
-                                conditionCode:'id',
                                 "text": "客户ID",
                                 "flex": 0,
                                 "dataIndex": "id",
@@ -46,7 +45,6 @@ Ext.define('saas.view.sale.report.SaleRecController', {
                                 "xtype": "",
                                 "items": null
                             },{
-                                conditionCode:'cu_code',
                                 "text": "客户编号",
                                 "flex": 1,
                                 "dataIndex": "cu_code",
@@ -54,14 +52,12 @@ Ext.define('saas.view.sale.report.SaleRecController', {
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_name',
                                 "text": "客户名称",
                                 "flex": 1,
                                 "dataIndex": "cu_name",
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_type',
                                 "text": "客户类型",
                                 "flex": 1,
                                 "dataIndex": "cu_type",

+ 27 - 9
frontend/saas-web/app/view/sale/sale/FormPanel.js

@@ -199,14 +199,10 @@ Ext.define('saas.view.sale.sale.FormPanel', {
                 },
                 renderer : function(v) {
                     var arr = (v + '.').split('.');
-                    var xr = (new Array(arr[1].length > 8 ? 8 : arr[1].length)).fill('0');
+                    var xr = (new Array(arr[1].length > 8 ? 8 :(arr[1].length < 2? 2 : arr[1].length))).fill('0');
                     var format = '0,000.' + xr.join();
-                    if(!v){
-                        return Ext.util.Format.number(v, '0.00');
-                    }else{
-                        return Ext.util.Format.number(v, format);
-                    }
-                }
+                    return Ext.util.Format.number(v, format);
+               }
             }, 
             {
                 text : "税率", 
@@ -314,17 +310,39 @@ Ext.define('saas.view.sale.sale.FormPanel', {
         fieldLabel : '出货状态', 
         hidden : true,
         readOnly:true
-     }, {
+     },{
+        xtype : "hidden", 
+        name : "creatorId", 
+        fieldLabel : "录入人ID", 
+        readOnly:true
+    },
+    {
         xtype : "textfield", 
         name : "creatorName", 
         fieldLabel : "录入人", 
         readOnly:true
     }, {
         xtype : "datefield", 
-        name : "sa_recorddate", 
+        name : "createTime", 
         fieldLabel : "录入日期",
         readOnly:true, 
         defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
+        readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
+    }, {
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
+        defaultValue: new Date()
     }, {
         xtype : "textfield", 
         name : "sa_auditman", 

+ 1 - 5
frontend/saas-web/app/view/sale/sale/FormPanelController.js

@@ -39,7 +39,6 @@ Ext.define('saas.view.sale.sale.FormPanelController', {
                         }],
                         dbColumns:[
                             {
-                                conditionCode:'id',
                                 "text": "客户ID",
                                 "flex": 0,
                                 "dataIndex": "id",
@@ -47,7 +46,6 @@ Ext.define('saas.view.sale.sale.FormPanelController', {
                                 "xtype": "",
                                 "items": null
                             },{
-                                conditionCode:'cu_code',
                                 "text": "客户编号",
                                 "flex": 1,
                                 "dataIndex": "cu_code",
@@ -55,14 +53,12 @@ Ext.define('saas.view.sale.sale.FormPanelController', {
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_name',
                                 "text": "客户名称",
                                 "flex": 1,
                                 "dataIndex": "cu_name",
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_type',
                                 "text": "客户类型",
                                 "flex": 1,
                                 "dataIndex": "cu_type",
@@ -119,7 +115,7 @@ Ext.define('saas.view.sale.sale.FormPanelController', {
                         //数据接口
                         dataUrl:'/api/document/employee/list',
                         addXtype: 'document-vendor-formpanel',
-                        addTitle: '供应商资料',
+                        addTitle: '人员资料',
                         //赋值 
                         dbfinds:[{
                             from:'id',to:'id',ignore:true

+ 0 - 4
frontend/saas-web/app/view/sale/sale/QueryPanelController.js

@@ -36,7 +36,6 @@ Ext.define('saas.view.sale.sale.QueryPanelController', {
                         }],
                         dbColumns:[
                             {
-                                conditionCode:'id',
                                 "text": "客户ID",
                                 "flex": 0,
                                 "dataIndex": "id",
@@ -44,7 +43,6 @@ Ext.define('saas.view.sale.sale.QueryPanelController', {
                                 "xtype": "",
                                 "items": null
                             },{
-                                conditionCode:'cu_code',
                                 "text": "客户编号",
                                 "flex": 1,
                                 "dataIndex": "cu_code",
@@ -52,14 +50,12 @@ Ext.define('saas.view.sale.sale.QueryPanelController', {
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_name',
                                 "text": "客户名称",
                                 "flex": 1,
                                 "dataIndex": "cu_name",
                                 "xtype": "",
                                 "items": null
                             }, {
-                                conditionCode:'cu_type',
                                 "text": "客户类型",
                                 "flex": 1,
                                 "dataIndex": "cu_type",

+ 26 - 4
frontend/saas-web/app/view/sale/saleIn/FormPanel.js

@@ -279,16 +279,38 @@ Ext.define('saas.view.sale.saleIn.FormPanel', {
         name : "pi_remark", 
         fieldLabel : "备注", 
         columnWidth : 0.75
-    }, {
+    },{
+        xtype : "hidden", 
+        name : "creatorId", 
+        fieldLabel : "录入人ID", 
+        readOnly:true
+    },
+    {
         xtype : "textfield", 
-        name : "pi_recordman", 
+        name : "creatorName", 
         fieldLabel : "录入人", 
         readOnly:true
     }, {
         xtype : "datefield", 
-        name : "pi_recorddate", 
+        name : "createTime", 
         fieldLabel : "录入日期",
-        readOnly:true,
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
+        readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
+    }, {
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
         defaultValue: new Date()
     }, {
         xtype : "textfield", 

+ 0 - 4
frontend/saas-web/app/view/sale/saleIn/FormPanelController.js

@@ -40,7 +40,6 @@ Ext.define('saas.view.sale.saleIn.FormPanelController', {
                         }],
                         dbColumns:[
                         {
-                            conditionCode:'id',
                             "text": "客户ID",
                             "flex": 0,
                             "dataIndex": "id",
@@ -48,7 +47,6 @@ Ext.define('saas.view.sale.saleIn.FormPanelController', {
                             "xtype": "",
                             "items": null
                         },{
-                            conditionCode:'cu_code',
                             "text": "客户编号",
                             "flex": 1,
                             "dataIndex": "cu_code",
@@ -56,14 +54,12 @@ Ext.define('saas.view.sale.saleIn.FormPanelController', {
                             "xtype": "",
                             "items": null
                         }, {
-                            conditionCode:'cu_name',
                             "text": "客户名称",
                             "flex": 1,
                             "dataIndex": "cu_name",
                             "xtype": "",
                             "items": null
                         }, {
-                            conditionCode:'cu_type',
                             "text": "客户类型",
                             "flex": 1,
                             "dataIndex": "cu_type",

+ 29 - 4
frontend/saas-web/app/view/sale/saleOut/FormPanel.js

@@ -229,6 +229,9 @@ Ext.define('saas.view.sale.saleout.FormPanel', {
                     decimalPrecision: 0,
                     minValue: 0,
                     maxValue: 100
+                }, 
+                renderer : function(v) {
+                    return Ext.util.Format.number(v, '0');
                 }
             },
             {
@@ -282,16 +285,38 @@ Ext.define('saas.view.sale.saleout.FormPanel', {
         name : "pi_remark", 
         fieldLabel : "备注", 
         columnWidth : 0.75
-    }, {
+    },{
+        xtype : "hidden", 
+        name : "creatorId", 
+        fieldLabel : "录入人ID", 
+        readOnly:true
+    },
+    {
         xtype : "textfield", 
-        name : "pi_recordman", 
+        name : "creatorName", 
         fieldLabel : "录入人", 
         readOnly:true
     }, {
         xtype : "datefield", 
-        name : "pi_recorddate", 
+        name : "createTime", 
         fieldLabel : "录入日期",
-        readOnly:true,
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
+        readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
+    }, {
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
         defaultValue: new Date()
     }, {
         xtype : "textfield", 

+ 24 - 1
frontend/saas-web/app/view/stock/appropriationInOut/FormPanel.js

@@ -236,7 +236,13 @@ Ext.define('saas.view.stock.appropriationInOut.FormPanel', {
         name : "pi_remark", 
         fieldLabel : "备注", 
         columnWidth : 1
-    }, {
+    },{
+        xtype : "hidden", 
+        name : "creatorId", 
+        fieldLabel : "录入人ID", 
+        readOnly:true
+    },
+    {
         xtype : "textfield", 
         name : "creatorName", 
         fieldLabel : "录入人", 
@@ -245,7 +251,24 @@ Ext.define('saas.view.stock.appropriationInOut.FormPanel', {
         xtype : "datefield", 
         name : "createTime", 
         fieldLabel : "录入日期",
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
         readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
+    }, {
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
+        defaultValue: new Date()
     }, {
         xtype : "textfield", 
         name : "pi_auditman", 

+ 24 - 1
frontend/saas-web/app/view/stock/make/FormPanel.js

@@ -341,15 +341,38 @@ Ext.define('saas.view.stock.make.FormPanel', {
                 },
             }]
     },{
+        xtype : "hidden", 
+        name : "creatorId", 
+        fieldLabel : "录入人ID", 
+        readOnly:true
+    },
+    {
         xtype : "textfield", 
-        name : "ma_recorder", 
+        name : "creatorName", 
         fieldLabel : "录入人", 
         readOnly:true
     }, {
         xtype : "datefield", 
         name : "createTime", 
         fieldLabel : "录入日期",
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
         readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
+    }, {
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
+        defaultValue: new Date()
     }, {
         xtype : "textfield", 
         name : "ma_auditman", 

+ 23 - 8
frontend/saas-web/app/view/stock/otherIn/FormPanel.js

@@ -22,14 +22,6 @@ Ext.define('saas.view.stock.otherIn.FormPanel', {
     _auditUrl:'/api/storage/prodinout/audit',
     _unAuditUrl: '/api/storage/prodinout/unAudit/',
     _deleteUrl:'/api/storage/prodinout/delete/',
-
-    // _relationColumn: 'pd_piid',
-    // _readUrl:'http://localhost:9000/prodinout/read/',
-    // _saveUrl:'http://localhost:9000/prodinout/save',
-    // _auditUrl:'http://localhost:9000/prodinout/audit',
-    // _unAuditUrl:'http://localhost:9000/prodinout/unAudit',
-    // _deleteUrl:'http://localhost:9000/prodinout/delete/',
-
     initId:0,
 
     toolBtns: [],
@@ -301,6 +293,12 @@ Ext.define('saas.view.stock.otherIn.FormPanel', {
             }
         ]
     },{
+        xtype : "hidden", 
+        name : "creatorId", 
+        fieldLabel : "录入人ID", 
+        readOnly:true
+    },
+    {
         xtype : "textfield", 
         name : "creatorName", 
         fieldLabel : "录入人", 
@@ -309,7 +307,24 @@ Ext.define('saas.view.stock.otherIn.FormPanel', {
         xtype : "datefield", 
         name : "createTime", 
         fieldLabel : "录入日期",
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
         readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
+    }, {
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
+        defaultValue: new Date()
     }, {
         xtype : "textfield", 
         name : "pi_auditman", 

+ 23 - 7
frontend/saas-web/app/view/stock/otherOut/FormPanel.js

@@ -21,13 +21,6 @@ Ext.define('saas.view.stock.otherOut.FormPanel', {
     _auditUrl: '/api/storage/prodinout/audit',
     _unAuditUrl: '/api/storage/prodinout/unAudit/',
     _deleteUrl: '/api/storage/prodinout/delete/',
-
-    // _relationColumn: 'pd_piid',
-    // _readUrl:'http://localhost:9000/prodinout/read/',
-    // _saveUrl:'http://localhost:9000/prodinout/save',
-    // _auditUrl:'http://localhost:9000/prodinout/audit',
-    // _deleteUrl:'http://localhost:9000/prodinout/delete/',
-
     initId: 0,
 
     toolBtns: [],
@@ -283,6 +276,12 @@ Ext.define('saas.view.stock.otherOut.FormPanel', {
             }
         ]
     },{
+        xtype : "hidden", 
+        name : "creatorId", 
+        fieldLabel : "录入人ID", 
+        readOnly:true
+    },
+    {
         xtype : "textfield", 
         name : "creatorName", 
         fieldLabel : "录入人", 
@@ -291,7 +290,24 @@ Ext.define('saas.view.stock.otherOut.FormPanel', {
         xtype : "datefield", 
         name : "createTime", 
         fieldLabel : "录入日期",
+        readOnly:true, 
+        defaultValue: new Date()
+    },{
+        xtype : "hidden", 
+        name : "updaterId", 
+        fieldLabel : "更新人ID", 
         readOnly:true
+    },{
+        xtype : "hidden", 
+        name : "updaterName", 
+        fieldLabel : "更新人", 
+        readOnly:true
+    }, {
+        xtype : "hidden", 
+        name : "updateTime", 
+        fieldLabel : "更新日期",
+        readOnly:true, 
+        defaultValue: new Date()
     }, {
         xtype : "textfield", 
         name : "pi_auditman", 

+ 28 - 16
frontend/saas-web/app/view/sys/feedback/FormPanel.js

@@ -8,34 +8,46 @@ Ext.define('saas.view.sys.feedback.FormPanel', {
     viewName: 'sys-feedback-formpanel',
     caller:'feedBack',
     
-    defaultType: 'textfield',
-        fieldDefaults: {
-            labelWidth: 60
-        },
+    layout: 'column',
+    autoScroll: true,
 
-        layout: {
-            type: 'vbox',
-            align: 'stretch'
-        },
-
-        bodyPadding: 10,
-        border: false,
+    fieldDefaults: {
+        margin: '0 0 10 0',
+        labelAlign: 'right',
+        labelWidth: 90,
+        columnWidth: 0.25,
+    },
+    bodyPadding: 10,
+    border: false,
 
     items: [{
         xtype: 'hidden',
         name: 'id',
-        fieldLabel: 'id'
+        fieldLabel: 'id',
+        readOnly:true,
+        defaultVale:saas.util.BaseUtil.getCurrentUser().id
     }, {
         xtype : "textfield", 
         name : "fb_name", 
-        fieldLabel : "姓名"
+        fieldLabel : "姓名",
+        readOnly:true,
+        defaultVale:saas.util.BaseUtil.getCurrentUser().realname
     }, {
         xtype : "textfield", 
         name : "fb_mobile", 
-        fieldLabel : "联系方式"
+        fieldLabel : "手机号",
+        defaultVale:saas.util.BaseUtil.getCurrentUser().mobile
+    }, {
+        xtype : "textfield", 
+        name : "fb_QQ", 
+        fieldLabel : "QQ"
+    }, {
+        xtype : "textfield", 
+        name : "fb_wechat", 
+        fieldLabel : "微信"
     }, {
-        xtype : "textarea", 
-        name : "fb_email", 
+        xtype : "html", 
+        name : "fb_msg", 
         fieldLabel : "反馈内容",
         flex: 1
     }],buttons: [{

+ 0 - 5
frontend/saas-web/resources/json/navigation.json

@@ -140,11 +140,6 @@
             "text": "收款单",
             "addType": "money-recbalance-formpanel",
             "viewType": "money-recbalance-querypanel"
-        }, {
-            "id": "verification",
-            "text": "核销单",
-            "addType": "money-verification-formpanel",
-            "viewType": "money-verification-querypanel"
         }, {
             "id": "othReceipts",
             "text": "其它收入单",