|
|
|
|
|
|
|
|
|
//需求编号:SR2017091200003
|
|
|
|
|
Ext.define('MsCrmPriceCarrierModel', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{name: 'GID', type: 'string' }, //惟一编号
|
|
|
|
|
{name: 'LOCKFLAG', type: 'bool' }, //是否锁定
|
|
|
|
|
{name: 'ISISSUE', type: 'bool' }, //是否发布
|
|
|
|
|
{name: 'LANE', type: 'string' }, //航线
|
|
|
|
|
{name: 'PODLOAD', type: 'string' }, //起运港
|
|
|
|
|
{name: 'PORTDISCHARGEID', type: 'string' }, //卸货港ID
|
|
|
|
|
{name: 'PORTDISCHARGE', type: 'string' }, //卸货港中文
|
|
|
|
|
{name: 'CARRIER', type: 'string' }, //船公司
|
|
|
|
|
{ name: 'VIA', type: 'string' }, //中转港
|
|
|
|
|
{ name: 'VIA2', type: 'string' }, //中转港2
|
|
|
|
|
{name: 'ETD', type: 'string' }, //开航日/船期
|
|
|
|
|
{name: 'TT', type: 'string' }, //航程
|
|
|
|
|
{name: 'EFFECTIVEDATE', type: 'DateTime' }, //生效期/开始日期
|
|
|
|
|
{name: 'VALIDDATE', type: 'DateTime' }, //有效期/结束日期
|
|
|
|
|
{name: 'COMMODITY', type: 'string' }, //品名/特殊商品
|
|
|
|
|
{ name: 'CONTRACTNO', type: 'string' },
|
|
|
|
|
{ name: 'CONTRACTBSNO', type: 'string' },
|
|
|
|
|
{ name: 'REMARK', type: 'string' }, //备注
|
|
|
|
|
{name: 'INPUTBY', type: 'string' }, //录入人
|
|
|
|
|
{name: 'INPUTBYREF', type: 'string' }, //录入人
|
|
|
|
|
{name: 'INPUTTIME', type: 'DateTime' }, //录入日期
|
|
|
|
|
//{name: 'MODIFIEDUSER', type: 'string' }, //最后一次操作人GID
|
|
|
|
|
//{name: 'MODIFYTIME', type: 'DateTime' }, //最后修改日期
|
|
|
|
|
|
|
|
|
|
{name: 'FEE0', type: 'string' }, //FEE0
|
|
|
|
|
{name: 'FEE1', type: 'string' }, //FEE1
|
|
|
|
|
{name: 'FEE2', type: 'string' }, //FEE2
|
|
|
|
|
{name: 'FEE3', type: 'string' }, //FEE3
|
|
|
|
|
{name: 'FEE4', type: 'string' }, //FEE4
|
|
|
|
|
{name: 'CTN00', type: 'decimal' }, //CTN00
|
|
|
|
|
{name: 'CTN10', type: 'decimal' }, //CTN10
|
|
|
|
|
{name: 'CTN20', type: 'decimal' }, //CTN20
|
|
|
|
|
{name: 'CTN30', type: 'decimal' }, //CTN30
|
|
|
|
|
{name: 'CTN40', type: 'decimal' }, //CTN40
|
|
|
|
|
{name: 'CTN50', type: 'decimal' }, //CTN50
|
|
|
|
|
{name: 'CTN60', type: 'decimal' }, //CTN60
|
|
|
|
|
{name: 'CTN70', type: 'decimal' }, //CTN70
|
|
|
|
|
{name: 'CTN80', type: 'decimal' }, //CTN80
|
|
|
|
|
{name: 'CTN90', type: 'decimal' }, //CTN90
|
|
|
|
|
{name: 'CTN01', type: 'decimal' }, //CTN01
|
|
|
|
|
{name: 'CTN11', type: 'decimal' }, //CTN11
|
|
|
|
|
{name: 'CTN21', type: 'decimal' }, //CTN21
|
|
|
|
|
{name: 'CTN31', type: 'decimal' }, //CTN31
|
|
|
|
|
{name: 'CTN41', type: 'decimal' }, //CTN41
|
|
|
|
|
{name: 'CTN51', type: 'decimal' }, //CTN51
|
|
|
|
|
{name: 'CTN61', type: 'decimal' }, //CTN61
|
|
|
|
|
{name: 'CTN71', type: 'decimal' }, //CTN71
|
|
|
|
|
{name: 'CTN81', type: 'decimal' }, //CTN81
|
|
|
|
|
{name: 'CTN91', type: 'decimal' }, //CTN91
|
|
|
|
|
{name: 'CTN02', type: 'decimal' }, //CTN02
|
|
|
|
|
{name: 'CTN12', type: 'decimal' }, //CTN12
|
|
|
|
|
{name: 'CTN22', type: 'decimal' }, //CTN22
|
|
|
|
|
{name: 'CTN32', type: 'decimal' }, //CTN32
|
|
|
|
|
{name: 'CTN42', type: 'decimal' }, //CTN42
|
|
|
|
|
{name: 'CTN52', type: 'decimal' }, //CTN52
|
|
|
|
|
{name: 'CTN62', type: 'decimal' }, //CTN62
|
|
|
|
|
{name: 'CTN72', type: 'decimal' }, //CTN72
|
|
|
|
|
{name: 'CTN82', type: 'decimal' }, //CTN82
|
|
|
|
|
{name: 'CTN92', type: 'decimal' }, //CTN92
|
|
|
|
|
{name: 'CTN03', type: 'decimal' }, //CTN03
|
|
|
|
|
{name: 'CTN13', type: 'decimal' }, //CTN13
|
|
|
|
|
{name: 'CTN23', type: 'decimal' }, //CTN23
|
|
|
|
|
{name: 'CTN33', type: 'decimal' }, //CTN33
|
|
|
|
|
{name: 'CTN43', type: 'decimal' }, //CTN43
|
|
|
|
|
{name: 'CTN53', type: 'decimal' }, //CTN53
|
|
|
|
|
{name: 'CTN63', type: 'decimal' }, //CTN63
|
|
|
|
|
{name: 'CTN73', type: 'decimal' }, //CTN73
|
|
|
|
|
{name: 'CTN83', type: 'decimal' }, //CTN83
|
|
|
|
|
{name: 'CTN93', type: 'decimal' }, //CTN93
|
|
|
|
|
{name: 'CTN04', type: 'decimal' }, //CTN04
|
|
|
|
|
{name: 'CTN14', type: 'decimal' }, //CTN14
|
|
|
|
|
{name: 'CTN24', type: 'decimal' }, //CTN24
|
|
|
|
|
{name: 'CTN34', type: 'decimal' }, //CTN34
|
|
|
|
|
{name: 'CTN44', type: 'decimal' }, //CTN44
|
|
|
|
|
{name: 'CTN54', type: 'decimal' }, //CTN54
|
|
|
|
|
{name: 'CTN64', type: 'decimal' }, //CTN64
|
|
|
|
|
{name: 'CTN74', type: 'decimal' }, //CTN74
|
|
|
|
|
{name: 'CTN84', type: 'decimal' }, //CTN84
|
|
|
|
|
{ name: 'CTN94', type: 'decimal' }, //CTN94
|
|
|
|
|
|
|
|
|
|
{ name: 'CTN0DETENTION', type: 'string' },
|
|
|
|
|
{ name: 'CTN1DETENTION', type: 'string' },
|
|
|
|
|
{ name: 'CTN2DETENTION', type: 'string' },
|
|
|
|
|
{ name: 'CTN3DETENTION', type: 'string' },
|
|
|
|
|
{ name: 'CTN4DETENTION', type: 'string' }
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ext.define('MsCrmPriceCarrierModel_All', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' }, //惟一编号
|
|
|
|
|
{name: 'LOCKFLAG', type: 'bool' }, //是否锁定
|
|
|
|
|
{name: 'ISISSUE', type: 'bool' }, //是否发布
|
|
|
|
|
{name: 'LANE', type: 'string' }, //航线
|
|
|
|
|
{name: 'PODLOAD', type: 'string' }, //起运港
|
|
|
|
|
{name: 'PORTDISCHARGEID', type: 'string' }, //卸货港ID
|
|
|
|
|
{name: 'PORTDISCHARGE', type: 'string' }, //卸货港中文
|
|
|
|
|
{name: 'CARRIER', type: 'string' }, //船公司
|
|
|
|
|
{ name: 'VIA', type: 'string' }, //中转港
|
|
|
|
|
{ name: 'VIA2', type: 'string' }, //中转港2
|
|
|
|
|
{name: 'ETD', type: 'string' }, //开航日/船期
|
|
|
|
|
{name: 'TT', type: 'string' }, //航程
|
|
|
|
|
{name: 'EFFECTIVEDATE', type: 'DateTime' }, //生效期/开始日期
|
|
|
|
|
{name: 'VALIDDATE', type: 'DateTime' }, //有效期/结束日期
|
|
|
|
|
{name: 'COMMODITY', type: 'string' }, //品名/特殊商品
|
|
|
|
|
{name: 'REMARK', type: 'string' }, //备注
|
|
|
|
|
//{name: 'INPUTBY', type: 'string' }, //录入人
|
|
|
|
|
//{name: 'INPUTTIME', type: 'DateTime' }, //录入日期
|
|
|
|
|
//{name: 'MODIFIEDUSER', type: 'string' }, //最后一次操作人GID
|
|
|
|
|
//{name: 'MODIFYTIME', type: 'DateTime' }, //最后修改日期
|
|
|
|
|
|
|
|
|
|
{name: 'FEE0', type: 'string' }, //FEE0
|
|
|
|
|
{name: 'FEE1', type: 'string' }, //FEE1
|
|
|
|
|
{name: 'FEE2', type: 'string' }, //FEE2
|
|
|
|
|
{name: 'FEE3', type: 'string' }, //FEE3
|
|
|
|
|
{name: 'FEE4', type: 'string' }, //FEE4
|
|
|
|
|
{name: 'CTN00', type: 'decimal' }, //CTN00
|
|
|
|
|
{name: 'CTN10', type: 'decimal' }, //CTN10
|
|
|
|
|
{name: 'CTN20', type: 'decimal' }, //CTN20
|
|
|
|
|
{name: 'CTN30', type: 'decimal' }, //CTN30
|
|
|
|
|
{name: 'CTN40', type: 'decimal' }, //CTN40
|
|
|
|
|
{name: 'CTN50', type: 'decimal' }, //CTN50
|
|
|
|
|
{name: 'CTN60', type: 'decimal' }, //CTN60
|
|
|
|
|
{name: 'CTN70', type: 'decimal' }, //CTN70
|
|
|
|
|
{name: 'CTN80', type: 'decimal' }, //CTN80
|
|
|
|
|
{name: 'CTN90', type: 'decimal' }, //CTN90
|
|
|
|
|
{name: 'CTN01', type: 'decimal' }, //CTN01
|
|
|
|
|
{name: 'CTN11', type: 'decimal' }, //CTN11
|
|
|
|
|
{name: 'CTN21', type: 'decimal' }, //CTN21
|
|
|
|
|
{name: 'CTN31', type: 'decimal' }, //CTN31
|
|
|
|
|
{name: 'CTN41', type: 'decimal' }, //CTN41
|
|
|
|
|
{name: 'CTN51', type: 'decimal' }, //CTN51
|
|
|
|
|
{name: 'CTN61', type: 'decimal' }, //CTN61
|
|
|
|
|
{name: 'CTN71', type: 'decimal' }, //CTN71
|
|
|
|
|
{name: 'CTN81', type: 'decimal' }, //CTN81
|
|
|
|
|
{name: 'CTN91', type: 'decimal' }, //CTN91
|
|
|
|
|
{name: 'CTN02', type: 'decimal' }, //CTN02
|
|
|
|
|
{name: 'CTN12', type: 'decimal' }, //CTN12
|
|
|
|
|
{name: 'CTN22', type: 'decimal' }, //CTN22
|
|
|
|
|
{name: 'CTN32', type: 'decimal' }, //CTN32
|
|
|
|
|
{name: 'CTN42', type: 'decimal' }, //CTN42
|
|
|
|
|
{name: 'CTN52', type: 'decimal' }, //CTN52
|
|
|
|
|
{name: 'CTN62', type: 'decimal' }, //CTN62
|
|
|
|
|
{name: 'CTN72', type: 'decimal' }, //CTN72
|
|
|
|
|
{name: 'CTN82', type: 'decimal' }, //CTN82
|
|
|
|
|
{name: 'CTN92', type: 'decimal' }, //CTN92
|
|
|
|
|
{name: 'CTN03', type: 'decimal' }, //CTN03
|
|
|
|
|
{name: 'CTN13', type: 'decimal' }, //CTN13
|
|
|
|
|
{name: 'CTN23', type: 'decimal' }, //CTN23
|
|
|
|
|
{name: 'CTN33', type: 'decimal' }, //CTN33
|
|
|
|
|
{name: 'CTN43', type: 'decimal' }, //CTN43
|
|
|
|
|
{name: 'CTN53', type: 'decimal' }, //CTN53
|
|
|
|
|
{name: 'CTN63', type: 'decimal' }, //CTN63
|
|
|
|
|
{name: 'CTN73', type: 'decimal' }, //CTN73
|
|
|
|
|
{name: 'CTN83', type: 'decimal' }, //CTN83
|
|
|
|
|
{name: 'CTN93', type: 'decimal' }, //CTN93
|
|
|
|
|
{name: 'CTN04', type: 'decimal' }, //CTN04
|
|
|
|
|
{name: 'CTN14', type: 'decimal' }, //CTN14
|
|
|
|
|
{name: 'CTN24', type: 'decimal' }, //CTN24
|
|
|
|
|
{name: 'CTN34', type: 'decimal' }, //CTN34
|
|
|
|
|
{name: 'CTN44', type: 'decimal' }, //CTN44
|
|
|
|
|
{name: 'CTN54', type: 'decimal' }, //CTN54
|
|
|
|
|
{name: 'CTN64', type: 'decimal' }, //CTN64
|
|
|
|
|
{name: 'CTN74', type: 'decimal' }, //CTN74
|
|
|
|
|
{name: 'CTN84', type: 'decimal' }, //CTN84
|
|
|
|
|
{ name: 'CTN94', type: 'decimal' }, //CTN94
|
|
|
|
|
{ name: 'CONTRACTBSNO', type: 'string' },
|
|
|
|
|
{ name: 'CONTRACTNO', type: 'string' },
|
|
|
|
|
{ name: 'CTN0DETENTION', type: 'string' },
|
|
|
|
|
{ name: 'CTN1DETENTION', type: 'string' },
|
|
|
|
|
{ name: 'CTN2DETENTION', type: 'string' },
|
|
|
|
|
{ name: 'CTN3DETENTION', type: 'string' },
|
|
|
|
|
{ name: 'CTN4DETENTION', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('XiaLaKuangModel', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'VALUE',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'VALUE', type: 'string' },
|
|
|
|
|
{ name: 'NAME', type: 'string' },
|
|
|
|
|
{ name: 'CodeAndName', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('CrmPriceCarrierDetailModel', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'VALUE',
|
|
|
|
|
fields: [
|
|
|
|
|
{name: 'GID', type: 'string' }, //惟一编号
|
|
|
|
|
{name: 'LINKGID', type: 'string' }, //关联 crm_price_carrier_2 的 GID
|
|
|
|
|
{name: 'FIELDNAME', type: 'string' }, //字段名称
|
|
|
|
|
{name: 'FIELDTYPE', type: 'int' }, //字段类型,1.颜色2.修改次数3.标识
|
|
|
|
|
{name: 'FIELDCONTENT', type: 'string' }, //字段内容
|
|
|
|
|
{name: 'MODIFIEDUSER', type: 'string' }, //最后一次操作人GID
|
|
|
|
|
//{name: 'MODIFYTIME', type: 'DateTime' }, //最后修改日期
|
|
|
|
|
{name: 'hj', type: 'string' } //合计的修改次数
|
|
|
|
|
]
|
|
|
|
|
});
|