Browse Source

【界面标准化】【主表界面金额(元)价税合计(元)新增千分位属性】【前端处理】

rainco 7 years ago
parent
commit
f9004bcdf7

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

@@ -296,7 +296,7 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                     },
                 }]
             }, {
-                xtype: "textfield",
+                xtype: "numberfield",
                 name: "pu_remark",
                 fieldLabel: "备注",
                 columnWidth: 1
@@ -312,10 +312,11 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                 readOnly: true,
                 defaultValue: 'RMB'
             }, {
-                xtype: "textfield",
+                xtype: "numberfield",
                 name: "pu_total",
                 fieldLabel: "价税合计(元)",
                 readOnly: true,
+                thousandSeparator: ',',
                 columnWidth: 0.25,
             }, {
                 xtype: "hidden",

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

@@ -132,6 +132,7 @@ Ext.define('saas.view.purchase.purchase.QueryPanel', {
         },{
             text: '币别',
             dataIndex: 'pu_currency',
+            align: 'center',
             width: 65
         }, {
             text: '审核状态',
@@ -148,7 +149,7 @@ Ext.define('saas.view.purchase.purchase.QueryPanel', {
             dataIndex: 'pu_buyername',
             width: 80
         },{
-            text: '关联销售单',
+            text: '关联销售单',
             dataIndex: 'pu_sacode',
             width: 150
         },{

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

@@ -333,18 +333,18 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
         readOnly: true,
         defaultValue: 'RMB'
     }, {
-        xtype: "textfield",
+        xtype: "numberfield",
         name: "pi_nettotal",
         fieldLabel: "金额(元)",
-        allowBlank: true,
         readOnly: true,
+        thousandSeparator: ',',
         columnWidth: 0.25
     }, {
-        xtype: "textfield",
+        xtype: "numberfield",
         name: "pi_total",
         fieldLabel: "价税合计(元)",
-        allowBlank: true,
         readOnly: true,
+        thousandSeparator: ',',
         columnWidth: 0.25
     }, {
         xtype: "hidden",

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

@@ -330,18 +330,20 @@ Ext.define('saas.view.purchase.purchaseOut.FormPanel', {
         readOnly: true,
         defaultValue: 'RMB'
     }, {
-        xtype: "textfield",
+        xtype: "numberfield",
         name: "pi_nettotal",
         fieldLabel: "金额(元)",
         allowBlank: true,
         readOnly: true,
+        thousandSeparator: ',',
         columnWidth: 0.25
     }, {
-        xtype: "textfield",
+        xtype: "numberfield",
         name: "pi_total",
         fieldLabel: "价税合计(元)",
         allowBlank: true,
         readOnly: true,
+        thousandSeparator: ',',
         columnWidth: 0.25
     }, {
         xtype: "hidden",

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

@@ -327,14 +327,16 @@ Ext.define('saas.view.sale.sale.FormPanel', {
                 readOnly: true,
                 defaultValue: 'RMB'
             }, {
-                xtype: "textfield",
+                xtype: "numberfield",
                 name: "sa_nettotal",
                 fieldLabel: "金额(元)",
-                hidden: true
+                hidden: true,
+                thousandSeparator: ','
             },{
-                xtype: "textfield",
+                xtype: "numberfield",
                 name: "sa_total",
                 fieldLabel: "价税合计(元)",
+                thousandSeparator: ',',
                 readOnly: true
             }, {
                 xtype: "employeeDbfindTrigger",

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

@@ -357,14 +357,16 @@ Ext.define('saas.view.sale.saleIn.FormPanel', {
         readOnly: true,
         defaultValue: 'RMB'
     },{
-        xtype: "textfield",
+        xtype: "numberfield",
         name: "pi_nettotal",
         fieldLabel: "金额(元)",
+        thousandSeparator: ',',
         readOnly: true
     },{
-        xtype : "textfield", 
+        xtype : "numberfield", 
         name : "pi_total", 
         fieldLabel : "价税合计(元)", 
+        thousandSeparator: ',',
         readOnly: true
     },{
         xtype: "employeeDbfindTrigger",

+ 1 - 1
frontend/saas-web/app/view/sale/saleIn/QueryPanel.js

@@ -149,7 +149,7 @@ Ext.define('saas.view.sale.saleIn.QueryPanel', {
             dataIndex: 'pi_prstatus',
             width: 80
         }, {
-            text: '关联出货',
+            text: '关联出货',
             dataIndex: 'pi_iocode',
             width: 150
         }, {

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

@@ -359,15 +359,17 @@ Ext.define('saas.view.sale.saleout.FormPanel', {
         readOnly: true,
         defaultValue: 'RMB'
     },{
-        xtype: "textfield",
+        xtype: "numberfield",
         name: "pi_nettotal",
         fieldLabel: "金额(元)",
-        readOnly: true
+        readOnly: true,
+        thousandSeparator: ','
     },{
-        xtype: "textfield",
+        xtype: "numberfield",
         name: "pi_total",
         fieldLabel: "价税合计(元)",
-        readOnly: true
+        readOnly: true,
+        thousandSeparator: ','
     },{
         xtype: "employeeDbfindTrigger",
         name: "pi_seller",

+ 1 - 1
frontend/saas-web/app/view/sale/saleOut/QueryPanel.js

@@ -149,7 +149,7 @@ Ext.define('saas.view.sale.saleout.QueryPanel', {
             dataIndex: 'pi_prstatus',
             width: 80
         }, {
-            text: '关联销售单',
+            text: '关联销售单',
             dataIndex: 'pi_sacode',
             width: 150
         }, {

+ 7 - 6
frontend/saas-web/app/view/stock/otherIn/FormPanel.js

@@ -76,13 +76,14 @@ Ext.define('saas.view.stock.otherIn.FormPanel', {
         allowBlank : false, 
         columnWidth : 0.25,
         defaultValue: new Date()
-    },{
-        xtype : "textfield", 
-        name : "pi_costtotal", 
-        fieldLabel : "金额(元)", 
-        allowBlank : true,
+    }, {
+        xtype: "numberfield",
+        name: "pi_costtotal",
+        fieldLabel: "金额(元)",
+        allowBlank: true,
         readOnly: true,
-        columnWidth : 0.25
+        columnWidth: 0.25,
+        thousandSeparator: ','
     }, {
         name : "detailGridField", 
         xtype : "detailGridField",

+ 3 - 2
frontend/saas-web/app/view/stock/otherOut/FormPanel.js

@@ -62,12 +62,13 @@ Ext.define('saas.view.stock.otherOut.FormPanel', {
         columnWidth: 0.25,
         defaultValue: new Date()
     }, {
-        xtype: "textfield",
+        xtype: "numberfield",
         name: "pi_costtotal",
         fieldLabel: "金额(元)",
         allowBlank: true,
         readOnly: true,
-        columnWidth: 0.25
+        columnWidth: 0.25,
+        thousandSeparator: ','
     }, {
         name: "detailGridField",
         xtype: "detailGridField",