|
|
@@ -1,42 +1,50 @@
|
|
|
-[{
|
|
|
- "xtype": "textfield",
|
|
|
- "name": "pu_code",
|
|
|
- "bind": "{pu_code}",
|
|
|
- "fieldLabel": "采购单号",
|
|
|
- "allowBlank": true,
|
|
|
- "columnWidth": 0.25
|
|
|
-}, {
|
|
|
- "xtype": "textfield",
|
|
|
- "name": "pu_kind",
|
|
|
- "bind": "{pu_kind}",
|
|
|
- "fieldLabel": "采购类型",
|
|
|
- "allowBlank": true,
|
|
|
- "columnWidth": 0.25
|
|
|
-}, {
|
|
|
- "xtype": "dbfindtrigger",
|
|
|
- "configUrl":"resources/json/purchase/vendorColumnsDbfind.json",
|
|
|
- "dataUrl":"resources/json/purchase/vendorDataDbfind.json",
|
|
|
- "dbfinds":[{
|
|
|
- "from":"pu_vendorcode",
|
|
|
- "to":"pu_vendorcode"
|
|
|
- },{
|
|
|
- "from":"pu_vendorname",
|
|
|
- "to":"pu_vendorname"
|
|
|
- }],
|
|
|
- "name": "pu_vendorcode",
|
|
|
- "bind": "{pu_vendorcode}",
|
|
|
- "fieldLabel": "供应商编号",
|
|
|
- "allowBlank": true,
|
|
|
- "columnWidth": 0.25
|
|
|
-}, {
|
|
|
- "xtype": "textfield",
|
|
|
- "name": "pu_vendorname",
|
|
|
- "bind": "{pu_vendorname}",
|
|
|
- "fieldLabel": "供应商简称",
|
|
|
- "allowBlank": true,
|
|
|
- "columnWidth": 0.25
|
|
|
-}, {
|
|
|
- "xtype": "purchase-panel-GridPanel",
|
|
|
- "allowBlank": true,
|
|
|
- "columnWidth":1
|
|
|
-}]
|
|
|
+{
|
|
|
+ "success": true,
|
|
|
+ "code": 0,
|
|
|
+ "message": null,
|
|
|
+ "data": {
|
|
|
+ "xtype": "formpanel",
|
|
|
+ "items": [{
|
|
|
+ "xtype": "textfield",
|
|
|
+ "name": "pu_code",
|
|
|
+ "bind": "{pu_code}",
|
|
|
+ "fieldLabel": "采购单号",
|
|
|
+ "allowBlank": true,
|
|
|
+ "columnWidth": 0.25
|
|
|
+ }, {
|
|
|
+ "xtype": "textfield",
|
|
|
+ "name": "pu_kind",
|
|
|
+ "bind": "{pu_kind}",
|
|
|
+ "fieldLabel": "采购类型",
|
|
|
+ "allowBlank": true,
|
|
|
+ "columnWidth": 0.25
|
|
|
+ }, {
|
|
|
+ "xtype": "dbfindtrigger",
|
|
|
+ "configUrl":"resources/json/purchase/vendorColumnsDbfind.json",
|
|
|
+ "dataUrl":"resources/json/purchase/vendorDataDbfind.json",
|
|
|
+ "dbfinds":[{
|
|
|
+ "from":"pu_vendorcode",
|
|
|
+ "to":"pu_vendorcode"
|
|
|
+ },{
|
|
|
+ "from":"pu_vendorname",
|
|
|
+ "to":"pu_vendorname"
|
|
|
+ }],
|
|
|
+ "name": "pu_vendorcode",
|
|
|
+ "bind": "{pu_vendorcode}",
|
|
|
+ "fieldLabel": "供应商编号",
|
|
|
+ "allowBlank": true,
|
|
|
+ "columnWidth": 0.25
|
|
|
+ }, {
|
|
|
+ "xtype": "textfield",
|
|
|
+ "name": "pu_vendorname",
|
|
|
+ "bind": "{pu_vendorname}",
|
|
|
+ "fieldLabel": "供应商简称",
|
|
|
+ "allowBlank": true,
|
|
|
+ "columnWidth": 0.25
|
|
|
+ }, {
|
|
|
+ "xtype": "purchase-panel-GridPanel",
|
|
|
+ "allowBlank": true,
|
|
|
+ "columnWidth":1
|
|
|
+ }]
|
|
|
+ }
|
|
|
+}
|