Browse Source

销售采购界面明细标准化

rainco 7 years ago
parent
commit
cd03895cc6

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

@@ -94,15 +94,13 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                     text: "物料编号",
                     width: 150.0,
                     dataIndex: "pd_prodcode",
-                    xtype: "",
-                    items: null,
                     allowBlank: false,
                     editor: {
                         xtype: "productMultiDbfindTrigger"
                     }
                 }, {
                     text: "品牌",
-                    width: 150.0,
+                    width: 100.0,
                     dataIndex: "pr_brand",
                     ignore: true,
                     renderer: function (v, m, r) {
@@ -112,8 +110,8 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                         return v;
                     }
                 }, {
-                    text: "名称",
-                    width: 200.0,
+                    text: "物料名称",
+                    width: 150.0,
                     dataIndex: "pr_detail",
                     ignore: true,
                     renderer: function (v, m, r) {
@@ -139,7 +137,7 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                     hidden: true,
                 }, {
                     text: "规格",
-                    width: 150,
+                    width: 200,
                     dataIndex: "pr_spec",
                     ignore: true,
                     renderer: function (v, m, r) {
@@ -168,7 +166,7 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                     }
                 }, {
                     text: "单位",
-                    width: 80.0,
+                    width: 65.0,
                     dataIndex: "pr_unit",
                     ignore: true,
                     renderer: function (v, m, r) {
@@ -212,7 +210,7 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                         }
                     }
                 }, {
-                    text: "金额",
+                    text: "金额(元)",
                     xtype: 'numbercolumn',
                     dataIndex: "pd_taxtotal",
                     width: 120,
@@ -224,7 +222,7 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                         return saas.util.BaseUtil.numberFormat(v, 2, true);
                     }
                 }, {
-                    text: "税率",
+                    text: "税率(%)",
                     xtype: 'numbercolumn',
                     dataIndex: "pd_taxrate",
                     width: 80,
@@ -250,7 +248,7 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                         return saas.util.BaseUtil.numberFormat(v, 2, true);
                     }
                 }, {
-                    text: "价税合计",
+                    text: "价税合计(元)",
                     xtype: 'numbercolumn',
                     dataIndex: "pd_total",
                     width: 120,
@@ -275,7 +273,7 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                     text: "最小包装数",
                     xtype: 'numbercolumn',
                     dataIndex: "pr_zxbzs",
-                    width: 110.0,
+                    width: 100.0,
                     ignore: true,
                     renderer: function (v, m, r) {
                         if (!v) {

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

@@ -129,7 +129,7 @@ Ext.define('saas.view.sale.sale.FormPanel', {
                     hidden: true,
                 }, {
                     text: "品牌",
-                    width: 150.0,
+                    width: 100.0,
                     dataIndex: "pr_brand",
                     ignore: true,
                     renderer: function (v, m, r) {
@@ -139,8 +139,8 @@ Ext.define('saas.view.sale.sale.FormPanel', {
                         return v;
                     }
                 }, {
-                    text: "名称",
-                    width: 200.0,
+                    text: "物料名称",
+                    width: 150.0,
                     dataIndex: "pr_detail",
                     ignore: true,
                     renderer: function (v, m, r) {
@@ -162,7 +162,7 @@ Ext.define('saas.view.sale.sale.FormPanel', {
                     }
                 }, {
                     text: "规格",
-                    width: 150,
+                    width: 200,
                     dataIndex: "pr_spec",
                     ignore: true,
                     renderer: function (v, m, r) {
@@ -191,7 +191,7 @@ Ext.define('saas.view.sale.sale.FormPanel', {
                     }
                 }, {
                     text: "单位",
-                    width: 80.0,
+                    width: 65.0,
                     dataIndex: "pr_unit",
                     ignore: true,
                     renderer: function (v, m, r) {
@@ -235,7 +235,7 @@ Ext.define('saas.view.sale.sale.FormPanel', {
                         }
                     }
                 }, {
-                    text: "金额",
+                    text: "金额(元)",
                     xtype: 'numbercolumn',
                     dataIndex: "sd_nettotal",
                     width: 120,
@@ -247,7 +247,7 @@ Ext.define('saas.view.sale.sale.FormPanel', {
                         return saas.util.BaseUtil.numberFormat(v, 2, true);
                     }
                 }, {
-                    text: "税率",
+                    text: "税率(%)",
                     xtype: 'numbercolumn',
                     dataIndex: "sd_taxrate",
                     width: 80,
@@ -273,7 +273,7 @@ Ext.define('saas.view.sale.sale.FormPanel', {
                         return saas.util.BaseUtil.numberFormat(v, 2, true);
                     }
                 }, {
-                    text: "价税合计",
+                    text: "价税合计(元)",
                     xtype: 'numbercolumn',
                     dataIndex: "sd_total",
                     width: 120,