浏览代码

代码提交

hy 7 年之前
父节点
当前提交
e7da53f8c3

+ 15 - 0
frontend/saas-web/app/view/document/customer/BasePanel.js

@@ -13,6 +13,21 @@ Ext.define('saas.view.document.customer.BasePanel', {
         name : "cu_type", 
         emptyText : "请选择客户类型", 
         columnWidth : 0.25
+    },{
+        xtype : "textfield", 
+        name : "cu_name", 
+        emptyText : "客户名称", 
+        columnWidth : 0.25,
+    },{
+        xtype : "textfield", 
+        name : "cu_code", 
+        emptyText : "客户编号", 
+        columnWidth : 0.25,
+    },{
+        labelAlign:'left',
+        fieldLabel : "显示不启用", 
+        xtype:"checkbox",
+        name:"cu_statuscode"
     }],
 
     //字段属性

+ 17 - 2
frontend/saas-web/app/view/document/product/BasePanel.js

@@ -10,8 +10,23 @@ Ext.define('saas.view.document.product.BasePanel', {
         hiddenBtn:true,
         xtype : "remotecombo", 
         storeUrl: '/api/document/producttype/getCombo',
-        name : "pr_type", 
+        name : "pr_kind", 
         emptyText : "请选择物料类型"
+    },{
+        xtype : "textfield", 
+        name : "pr_detail", 
+        emptyText : "物料名称", 
+        columnWidth : 0.25,
+    },{
+        xtype : "textfield", 
+        name : "pr_code", 
+        emptyText : "物料编号", 
+        columnWidth : 0.25,
+    },{
+        xtype : "textfield", 
+        name : "pr_unit", 
+        emptyText : "物料单位", 
+        columnWidth : 0.25,
     }],
 
     //字段属性
@@ -59,7 +74,7 @@ Ext.define('saas.view.document.product.BasePanel', {
         }, 
         {
             text : "物料种类", 
-            dataIndex : "pr_type", 
+            dataIndex : "pr_kind", 
             width : 120.0, 
             xtype : "",
         }]