{"size": 1125, "ext": "js", "max_stars_repo_path": "hot-deploy/partner/webapp/scmui/app/model/rpt/PackingMaterialReportModel.js", "max_stars_repo_name": "ZhangUranus/partner-fq", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "hot-deploy/partner/webapp/scmui/app/model/rpt/PackingMaterialReportModel.js", "max_issues_repo_name": "ZhangUranus/partner-fq", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "hot-deploy/partner/webapp/scmui/app/model/rpt/PackingMaterialReportModel.js", "max_forks_repo_name": "ZhangUranus/partner-fq", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.0588235294, "max_line_length": 59, "alphanum_fraction": 0.4497777778}
// 定义数据模型
Ext.define('SCM.model.rpt.PackingMaterialReportModel', {
			extend : 'Ext.data.Model',
			alias : 'PackingMaterialReportModel',
			requires : ['SCM.extend.proxy.JsonAjax'],
			fields : [// 字段
					{
						name : 'BIZ_DATE',
						type : 'date',
						defaultValue : new Date(),
						convert : function(value, record) {
							return new Date(value);
						}
					}, {
						name : 'NUMBER',
						type : 'string'
					}, {
						name : 'STATUS',
						type : 'string'
					}, {
						name : 'WAREHOUSENAME',
						type : 'string'
					}, {
						name : 'MATERIALID',
						type : 'string'
					}, {
						name : 'MATERIALNAME',
						type : 'string'
					}, {
						name : 'MATERIALMODEL',
						type : 'string'
					}, {
						name : 'UNITNAME',
						type : 'string'
					}, {
						name : 'VOLUME',
						type : 'float'
					}, {
						name : 'PRICE',
						type : 'float'
					}, {
						name : 'ENTRYSUM',
						type : 'float'
					}],
			proxy : {
				type : 'jsonajax',
				api : {
					read : '../../scm/control/queryPackingMaterialReport'
				}
			}
		});