You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

134 lines
5.6 KiB
JavaScript

10 months ago

Ext.define('MsCrmQuotationEntity', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //惟一值
{name: 'CLIENTGID', type: 'string' }, //相关联的潜在客户GID
{name: 'SHORTNAME', type: 'string' }, //客户简称
{name: 'DESCRIPTION', type: 'string' }, //客户全称
{name: 'SALE', type: 'string' }, //销售
{name: 'QUOTATIONDATE', type: 'DateTime' }, //报价日期
{name: 'CORPID', type: 'string' }, //所属分公司代码
{name: 'PORTLOAD', type: 'string' }, //起运港(默认青岛)
{name: 'PORTDISCHARGE', type: 'string' }, //目的港
{name: 'LANE', type: 'string' }, //航线
{name: 'CARRIER', type: 'string' }, //船公司
{name: 'ETD', type: 'DateTime' }, //开船日期
{name: 'ENTREPORT', type: 'string' }, //中转港
{name: 'TT', type: 'string' }, //航程
{name: 'GOODSNAME', type: 'string' }, //品名
{name: 'REMARK', type: 'string' }, //备注
{name: 'CREATEUSER', type: 'string' }, //录入人
{name: 'CREATETIME', type: 'DateTime' }, //创建时间
{name: 'MODIFIEDUSER', type: 'string' }, //最后一次更新操作人
{name: 'MODIFIEDTIME', type: 'DateTime' }, //最后一次更新操作时间
{name: 'CONTACTNAME', type: 'string' }, //CONTACTNAME
{name: 'VALIDDATE', type: 'DateTime' }, //VALIDDATE
{name: 'WEEK', type: 'string' }, //WEEK
{name: 'QUOTATIONCODE', type: 'string' }, //报价编号
{name: 'TEL', type: 'string' }, //联系方式
{name: 'EMAIL', type: 'string' }, //邮箱
{name: 'CTNCODE', type: 'string' }, //箱型
{name: 'CTNNUM', type: 'int' }, //箱量
{name: 'GOODSTYPE', type: 'string' }, //产品类别
{name: 'SERVICE', type: 'string' }, //运输条款
{name: 'CTNSTATUS', type: 'string' }, //箱状态
{name: 'FORWARDER', type: 'string' }, //使用代理
{name: 'COMMISSIONRATE', type: 'decimal' }, //佣金比率
{name: 'FBPPORTLOAD', type: 'int' }, //起运港免箱天数
{name: 'CQPORTLOAD', type: 'string' }, //起运港超期标准
{name: 'FBPPORTDISCHARGE', type: 'int' }, //目的港免箱天数
{name: 'CQPORTDISCHARGE', type: 'string' }, //目的港超期标准
{name: 'RMBHJ', type: 'decimal' }, //需求编号SR2017071700006-2、3、4
{name: 'USDHJ', type: 'decimal' }, //需求编号SR2017071700006-2、3、4
{name: 'UNNO', type: 'string' }, //UNNO//需求编号SR2017080400003
{name: 'DCLASS', type: 'string' }, //DCLASS//需求编号SR2017080400003
]
});
Ext.define('CodeMsdsModel', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //GID
{name: 'GOODNAME', type: 'string' }, //GOODNAME
{name: 'TRADEGOODSNAME', type: 'string' }, //TRADEGOODSNAME
{name: 'CHEMICALGOODSNAME', type: 'string' }, //CHEMICALGOODSNAME
{name: 'CHEMICALCGOODSNAME', type: 'string' }, //CHEMICALCGOODSNAME
{name: 'CASNO', type: 'string' }, //CASNO
{name: 'UNNO', type: 'string' }, //UNNO
{name: 'DCLASS', type: 'string' }, //DCLASS
{name: 'SDCLASS', type: 'string' }, //SDCLASS
{name: 'PACKINGGROUP', type: 'string' }, //PACKINGGROUP
{name: 'ISPOLLUTEOCEAN', type: 'bool' }, //ISPOLLUTEOCEAN
{name: 'MELTINGPOINTB', type: 'string' }, //MELTINGPOINTB
{name: 'BOILINGPOINTB', type: 'string' }, //BOILINGPOINTB
{name: 'FLASHPOINTB', type: 'string' }, //FLASHPOINTB
{name: 'MELTINGPOINTE', type: 'string' }, //MELTINGPOINTE
{name: 'BOILINGPOINTE', type: 'string' }, //BOILINGPOINTE
{name: 'FLASHPOINTE', type: 'string' }, //FLASHPOINTE
{name: 'DENSITY', type: 'string' }, //DENSITY
{name: 'PH', type: 'string' }, //PH
{name: 'STABILITY', type: 'string' }, //STABILITY
{name: 'REACTIVE', type: 'string' }, //REACTIVE
{name: 'IMDG', type: 'string' }, //IMDG
{name: 'REMARKS', type: 'string' }, //REMARKS
{name: 'INPUTBY', type: 'string' }, //INPUTBY
{name: 'INPUTTIME', type: 'DateTime' }, //INPUTTIME
{name: 'COMPANYID', type: 'string' }, //COMPANYID
//{name: 'ISDANGEROUS', type: 'bool' }, //ISDANGEROUS
{name: 'CodeAndName', type: 'string'} //CodeAndName//需求编号SR2017072600008-1
]
});
Ext.define('CrmQuotationDetailModel', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //惟一编号
{name: 'LINKGID', type: 'string' }, //主表关联GID
{name: 'FEETYPE', type: 'string' }, //费用类型
{name: 'FEENAME', type: 'string' }, //费用中文名称
{name: 'UNIT', type: 'string' }, //单位标准
{name: 'UNITPRICE', type: 'decimal' }, //单价
{name: 'CURRENCY', type: 'string' }, //币别
{name: 'CARRIER', type: 'string' }, //船公司
{name: 'REMARK', type: 'string' }, //备注
{name: 'USDHJ', type: 'decimal' }, //需求编号SR2017071700006-2、3、4
{ name: 'RMBHJ', type: 'decimal' }, //需求编号SR2017071700006-2、3、4
//{name: 'CREATEUSER', type: 'string' }, //创建人
//{name: 'CREATETIME', type: 'DateTime' }, //创建时间
//{name: 'MODIFIEDUSER', type: 'string' }, //最后一次更新操作人
//{name: 'MODIFIEDTIME', type: 'DateTime' }, //最后一次更新操作时间
]
});
Ext.define('MsFeeCurr', {
extend: 'Ext.data.Model',
idProperty: 'CURR',
fields: [
{ name: 'CURR', type: 'string' },
{ name: 'DEFRATE', type: 'number' },
{ name: 'CRDEFRATE', type: 'number' }
]
});
Ext.define('MsFeeUnit', {
extend: 'Ext.data.Model',
idProperty: 'UNIT',
fields: [
{ name: 'UNIT', type: 'string' },
{ name: 'SUNIT', type: 'string' },
{ name: 'QUANTITY', type: 'number' }
]
});
Ext.define('CODE_SERVICE', {
extend: 'Ext.data.Model',
idProperty: 'SERVICE',
fields: [
{ name: 'SERVICE', type: 'string' }
]
});