Ver código fonte

时间类型format调整

zhuth 7 anos atrás
pai
commit
b791fb905b

+ 1 - 1
frontend/saas-web/app/util/FormUtil.js

@@ -107,7 +107,7 @@ Ext.define('saas.util.FormUtil', {
                                         });
                                     }else if(editor.xtype == 'datefield') {
                                         Ext.apply(editor, {
-                                            format: 'Y-m-d H:i:s'
+                                            format: 'Y-m-d'
                                         });
                                     }
                                 }

+ 1 - 1
frontend/saas-web/app/view/document/vendor/FormPanel.js

@@ -112,7 +112,7 @@ Ext.define('saas.view.document.vendor.FormPanel', {
         xtype : "numberfield", 
         name : "ve_taxrate", 
         fieldLabel : "税率", 
-        allowBlank : true, 
+        allowBlank : false, 
         columnWidth : 0.25   
     },{
         // xtype : "numberfield", 

+ 0 - 4
frontend/saas-web/overrides/form/field/Date.js

@@ -1,7 +1,3 @@
-/**
- * 在 ajax request 前修改url,增加服务端`basePath`
- * `basePath`在`app.json`配置
- */
 Ext.define('saas.override.form.field.Date', {
     override: 'Ext.form.field.Date',
     formatText: '',