|
|
@@ -125,90 +125,6 @@ Ext.define('saas.view.document.kind.KindModel', {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- productbrand:{
|
|
|
- fields:[
|
|
|
- {name: 'id', type: 'int'},
|
|
|
- {name: 'pb_name', type: 'string'}
|
|
|
- ],
|
|
|
- proxy: {
|
|
|
- type: 'ajax',
|
|
|
- url: '/api/document/productbrand/list',
|
|
|
- actionMethods: {
|
|
|
- read: 'GET'
|
|
|
- },
|
|
|
- reader: {
|
|
|
- type: 'json',
|
|
|
- rootProperty: 'data'
|
|
|
- },
|
|
|
- listeners: {
|
|
|
- exception: function(proxy, response, operation, eOpts) {
|
|
|
- if(operation.success) {
|
|
|
- if(response.timedout) {
|
|
|
- saas.util.BaseUtil.showErrorToast('请求超时');
|
|
|
- }
|
|
|
- }else {
|
|
|
- console.error('exception: ', response.responseJson);
|
|
|
- saas.util.BaseUtil.showErrorToast('查询失败:' + response.responseJson.message);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- pageSize: null,
|
|
|
- autoLoad: false,
|
|
|
- listeners: {
|
|
|
- beforeload: function (store, op) {
|
|
|
- Ext.apply(store.proxy.extraParams, {
|
|
|
- number: 1,
|
|
|
- size: 1000
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- bankinformation:{
|
|
|
- fields:[
|
|
|
- {name: 'id', type: 'int'},
|
|
|
- {name: 'bk_bankname', type: 'string'},
|
|
|
- {name: 'bk_bankcode', type: 'string'},
|
|
|
- {name: 'bk_type', type: 'string'},
|
|
|
- {name: 'bk_beginamount', type: 'float'},
|
|
|
- {name: 'bk_thisamount', type: 'float'},
|
|
|
- {name: 'bk_date', type: 'date'},
|
|
|
- {name: 'updateTime', type: 'date'}
|
|
|
- ],
|
|
|
- proxy: {
|
|
|
- type: 'ajax',
|
|
|
- url: '/api/document/bankinformation/list',
|
|
|
- actionMethods: {
|
|
|
- read: 'GET'
|
|
|
- },
|
|
|
- reader: {
|
|
|
- type: 'json',
|
|
|
- rootProperty: 'data.list'
|
|
|
- },
|
|
|
- listeners: {
|
|
|
- exception: function(proxy, response, operation, eOpts) {
|
|
|
- if(operation.success) {
|
|
|
- if(response.timedout) {
|
|
|
- saas.util.BaseUtil.showErrorToast('请求超时');
|
|
|
- }
|
|
|
- }else {
|
|
|
- console.error('exception: ', response.responseJson);
|
|
|
- saas.util.BaseUtil.showErrorToast('查询失败:' + response.responseJson.message);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- pageSize: null,
|
|
|
- autoLoad: false,
|
|
|
- listeners: {
|
|
|
- beforeload: function (store, op) {
|
|
|
- Ext.apply(store.proxy.extraParams, {
|
|
|
- number: 1,
|
|
|
- size: 1000
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
inoutkind:{
|
|
|
fields:[
|
|
|
{name: 'id', type: 'int'},
|
|
|
@@ -249,88 +165,6 @@ Ext.define('saas.view.document.kind.KindModel', {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- warehouse: {
|
|
|
- fields:[
|
|
|
- {name: 'id', type: 'int'},
|
|
|
- {name: 'wh_code', type: 'string'},
|
|
|
- {name: 'wh_type', type: 'string'},
|
|
|
- {name: 'wh_description', type: 'string'},
|
|
|
- {name: 'wh_statuscode', type: 'string'},
|
|
|
- {name: 'wh_status', type: 'string'}
|
|
|
- ],
|
|
|
- proxy: {
|
|
|
- type: 'ajax',
|
|
|
- url: '/api/document/warehouse/list',
|
|
|
- actionMethods: {
|
|
|
- read: 'GET'
|
|
|
- },
|
|
|
- reader: {
|
|
|
- type: 'json',
|
|
|
- rootProperty: 'data.list'
|
|
|
- },
|
|
|
- listeners: {
|
|
|
- exception: function(proxy, response, operation, eOpts) {
|
|
|
- if(operation.success) {
|
|
|
- if(response.timedout) {
|
|
|
- saas.util.BaseUtil.showErrorToast('请求超时');
|
|
|
- }
|
|
|
- }else {
|
|
|
- console.error('exception: ', response.responseJson);
|
|
|
- saas.util.BaseUtil.showErrorToast('查询失败:' + response.responseJson.message);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- pageSize: null,
|
|
|
- autoLoad: false,
|
|
|
- listeners: {
|
|
|
- beforeload: function (store, op) {
|
|
|
- Ext.apply(store.proxy.extraParams, {
|
|
|
- number: 1,
|
|
|
- size: 1000
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- address: {
|
|
|
- fields:[
|
|
|
- {name: 'id', type: 'int'},
|
|
|
- {name: 'ad_address', type: 'string'}
|
|
|
- ],
|
|
|
- proxy: {
|
|
|
- type: 'ajax',
|
|
|
- url: '/api/document/address/list',
|
|
|
- actionMethods: {
|
|
|
- read: 'GET'
|
|
|
- },
|
|
|
- reader: {
|
|
|
- type: 'json',
|
|
|
- rootProperty: 'data'
|
|
|
- },
|
|
|
- listeners: {
|
|
|
- exception: function(proxy, response, operation, eOpts) {
|
|
|
- if(operation.success) {
|
|
|
- if(response.timedout) {
|
|
|
- saas.util.BaseUtil.showErrorToast('请求超时');
|
|
|
- }
|
|
|
- }else {
|
|
|
- console.error('exception: ', response.responseJson);
|
|
|
- saas.util.BaseUtil.showErrorToast('查询失败:' + response.responseJson.message);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- pageSize: null,
|
|
|
- autoLoad: false,
|
|
|
- listeners: {
|
|
|
- beforeload: function (store, op) {
|
|
|
- Ext.apply(store.proxy.extraParams, {
|
|
|
- number: 1,
|
|
|
- size: 1000
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
accountinformation: {
|
|
|
fields:[
|
|
|
{name: 'id', type: 'int'},
|
|
|
@@ -369,87 +203,6 @@ Ext.define('saas.view.document.kind.KindModel', {
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
- },
|
|
|
- employee:{
|
|
|
- fields:[
|
|
|
- {name: 'id', type: 'int'},
|
|
|
- {name: 'em_code', type: 'string'},
|
|
|
- {name: 'em_mobile', type: 'string'},
|
|
|
- {name: 'em_email', type: 'string'},
|
|
|
- {name: 'em_clasee', type: 'string'}
|
|
|
- ],
|
|
|
- proxy: {
|
|
|
- type: 'ajax',
|
|
|
- url: '/api/document/employee/list',
|
|
|
- actionMethods: {
|
|
|
- read: 'GET'
|
|
|
- },
|
|
|
- reader: {
|
|
|
- type: 'json',
|
|
|
- rootProperty: 'data.list'
|
|
|
- },
|
|
|
- listeners: {
|
|
|
- exception: function(proxy, response, operation, eOpts) {
|
|
|
- if(operation.success) {
|
|
|
- if(response.timedout) {
|
|
|
- saas.util.BaseUtil.showErrorToast('请求超时');
|
|
|
- }
|
|
|
- }else {
|
|
|
- console.error('exception: ', response.responseJson);
|
|
|
- saas.util.BaseUtil.showErrorToast('查询失败:' + response.responseJson.message);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- pageSize: null,
|
|
|
- autoLoad: false,
|
|
|
- listeners: {
|
|
|
- beforeload: function (store, op) {
|
|
|
- Ext.apply(store.proxy.extraParams, {
|
|
|
- number: 1,
|
|
|
- size: 1000
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- productunit: {
|
|
|
- fields:[
|
|
|
- {name: 'id', type: 'int'},
|
|
|
- {name: 'pu_name', type: 'string'}
|
|
|
- ],
|
|
|
- proxy: {
|
|
|
- type: 'ajax',
|
|
|
- url: '/api/document/productunit/list',
|
|
|
- actionMethods: {
|
|
|
- read: 'GET'
|
|
|
- },
|
|
|
- reader: {
|
|
|
- type: 'json',
|
|
|
- rootProperty: 'data'
|
|
|
- },
|
|
|
- listeners: {
|
|
|
- exception: function(proxy, response, operation, eOpts) {
|
|
|
- if(operation.success) {
|
|
|
- if(response.timedout) {
|
|
|
- saas.util.BaseUtil.showErrorToast('请求超时');
|
|
|
- }
|
|
|
- }else {
|
|
|
- console.error('exception: ', response.responseJson);
|
|
|
- saas.util.BaseUtil.showErrorToast('查询失败:' + response.responseJson.message);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- pageSize: null,
|
|
|
- autoLoad: false,
|
|
|
- listeners: {
|
|
|
- beforeload: function (store, op) {
|
|
|
- Ext.apply(store.proxy.extraParams, {
|
|
|
- number: 1,
|
|
|
- size: 1000
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
});
|