|
|
@@ -5,17 +5,20 @@ Ext.define('saas.view.test.order.FormPanel', {
|
|
|
controller: 'test-order-formcontroller',
|
|
|
viewModel: 'test-order-formmodel',
|
|
|
|
|
|
+ //字段属性
|
|
|
_title:'采购单',
|
|
|
- _codeField: 'pu_ode',
|
|
|
- _statusField: 'pu_statuscode',
|
|
|
_idField: 'id',
|
|
|
+ _codeField: 'pu_code',
|
|
|
+ _statusField: 'pu_status',
|
|
|
+ _statusCodeField: 'pu_statuscode',
|
|
|
_detnoColumn: 'pd_detno',
|
|
|
- _dataModelUrl:'http://192.168.253.58:8800/purchase/read/',
|
|
|
+ _relationColumn: 'pd_puid',
|
|
|
+ _readUrl:'http://192.168.253.58:8800/purchase/read/',
|
|
|
_saveUrl:'http://192.168.253.58:8800/purchase/save',
|
|
|
_auditUrl:'http://192.168.253.58:8800/purchase/audit',
|
|
|
_deleteUrl:'http://192.168.253.58:8800/purchase/delete/',
|
|
|
_deleteDetailUrl:'http://192.168.253.58:8800/purchase/deleteItem/',
|
|
|
- initId:0,
|
|
|
+ initId:11,
|
|
|
|
|
|
toolBtns: [{
|
|
|
xtype: 'button',
|
|
|
@@ -120,11 +123,6 @@ Ext.define('saas.view.test.order.FormPanel', {
|
|
|
}, {
|
|
|
name : "detailGridField",
|
|
|
xtype : "detailGridField",
|
|
|
- bind: {
|
|
|
- store:{
|
|
|
- data:'{detailGridField}'
|
|
|
- }
|
|
|
- },
|
|
|
columns : [
|
|
|
{
|
|
|
text : "序号",
|