Browse Source

部分bug修改

hy 7 years ago
parent
commit
054e79fc6b

+ 2 - 0
frontend/saas-web/app/view/document/currencys/AddWindow.js

@@ -28,6 +28,8 @@ Ext.define('saas.view.document.currencys.AddWindow', {
                 xtype:'textfield',
                 name:'cr_name',
                 allowBlank:false,
+                regex:/^[A-Z]+$/,
+                regexText:'请输入大写英文字母',
                 fieldLabel:'币别',
                 maxLength: 20
             },{

+ 2 - 2
frontend/saas-web/app/view/document/currencys/DataList.js

@@ -26,7 +26,7 @@ Ext.define('saas.view.document.currencys.DataList', {
             columns: [{
                 text: '币别',
                 dataIndex: 'cr_name',
-                flex: 1,
+                width:150,
                 renderer:function(a,b,c){
                     if(c.get('cr_standard')==1){
                         return a + '(本位币)'
@@ -36,7 +36,7 @@ Ext.define('saas.view.document.currencys.DataList', {
             },{
                 text: '默认汇率',
                 dataIndex: 'cr_rate',
-                flex: 1
+                width:150
             }],
             keyField:'id',
             reqUrl:'/api/document/currency/save',

+ 1 - 1
frontend/saas-web/app/view/stock/report/DataList.js

@@ -18,7 +18,7 @@ Ext.define('saas.view.stock.report.DataList', {
 
     searchItems: [{
         xtype: 'productDbfindTrigger',
-        name: 'pr_detail',
+        name: 'pr_code',
         emptyText: '请输入物料编号、名称或规格',
         columnWidth: 0.25
     }, {