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.
DS7/DSWeb/Areas/MvcShipping/Viewsjs/MsExchangesUnit/MsExchangesUnitModel.js

166 lines
8.0 KiB
JavaScript

3 years ago
Ext.define('MsExchangesUnitEntity', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //GID
{name: 'CODENAME', type: 'string' }, //客户代码
{name: 'SHORTNAME', type: 'string' }, //客户简称
{name: 'DESCRIPTION', type: 'string' }, //客户中文名称或描述信息
{name: 'NAME', type: 'string' }, //客户英文简称
{name: 'ENFULLNAME', type: 'string' }, //客户英文全称
{name: 'STATUS', type: 'int' }, //客户状态
{name: 'ADDR', type: 'string' }, //通讯地址
{name: 'EMAIL', type: 'string' }, //邮箱
{name: 'WEB', type: 'string' }, //网页
{name: 'TEL', type: 'string' }, //电话
{name: 'FAX', type: 'string' }, //传真
{name: 'CHIEF', type: 'string' }, //负责人
{name: 'SALE', type: 'string' }, //所属揽货人
{name: 'OP', type: 'string' }, //所属揽货人
{name: 'DOC', type: 'string' }, //所属单证
{name: 'ISCARRIER', type: 'bool' }, //是否船公司
{name: 'ISBOOKING', type: 'bool' }, //是否订舱公司
{name: 'ISYARD', type: 'bool' }, //是否场站
{name: 'ISTRUCK', type: 'bool' }, //是否车队
{name: 'ISCONTROLLER', type: 'bool' }, //是否委托单位
{name: 'ISCUSTOM', type: 'bool' }, //是否报关行
{name: 'ISAGENT', type: 'bool' }, //是否代理(国外)
{name: 'ISAGENTCN', type: 'bool' }, //是否代理(国内)
{name: 'ISEXPRESS', type: 'bool' }, //是否快递公司
{name: 'ISAIRLINES', type: 'bool' }, //是否航空公司
{name: 'ISSHIPPER', type: 'bool' }, //是否发货人
{name: 'ISCONSIGNEE', type: 'bool' }, //是否收货人
{name: 'ISNOTIFYPARTY', type: 'bool' }, //是否通知人
{name: 'ISWAREHOUSE', type: 'bool' }, //是否仓库
{name: 'COUNTRY', type: 'string' }, //国家
{name: 'PROVINCE', type: 'string' }, //省或州
{name: 'CITY', type: 'string' }, //城市
{name: 'CORPID', type: 'string' }, //CORPID
{name: 'BLCONTENT', type: 'string' }, //BLCONTENT
{name: 'ISSTOP', type: 'bool' }, //是否停用该客户信息
{name: 'BILLRISES1', type: 'string' }, //发票抬头1
{name: 'BILLRISES2', type: 'string' }, //发票抬头2
{name: 'USDBILLRISES', type: 'string' }, //美元支票抬头
{name: 'RMBBILLRISES', type: 'string' }, //人民币支票抬头
{name: 'RMBBANK', type: 'string' }, //人民币开户银行
{name: 'RMBACCOUNT', type: 'string' }, //人民币账号
{name: 'RMBONLINENO', type: 'string' }, //人民币联机行号
{name: 'USDBANK', type: 'string' }, //美元开户银行
{name: 'USDACCOUNT', type: 'string' }, //美元账号
{name: 'USDONLINENO', type: 'string' }, //美元联机行号
{name: 'CUSTOMATTRIBUTES1', type: 'string' }, //自定义属性1
{name: 'CUSTOMATTRIBUTES2', type: 'string' }, //自定义属性2
{name: 'USDMAXAMOUNTCREDIT', type: 'decimal' }, //美元信用最大金额
{name: 'RMBMAXAMOUNTCREDIT', type: 'decimal' }, //人民币信用最大金额
{name: 'MAXAMOUNTCREDIT', type: 'decimal' }, //信用最大金额RMB+USD
{name: 'STLNAME', type: 'string' }, //结算方式编码
{name: 'OPNAME', type: 'string' }, //处理人
{name: 'OPTIME', type: 'DateTime' }, //处理时间
{name: 'REMARK', type: 'string' }, //备注
{name: 'USDEXCHANGERATE', type: 'decimal' }, //美金汇率
{name: 'STLDATE', type: 'string' }, //月结算时间
{name: 'STLFIRSTHALFDATE', type: 'string' }, //上半月结算时间
{name: 'STLMIDDLEDATE', type: 'string' }, //下半月结算时间
{name: 'STLDATEPJ', type: 'string' }, //STLDATEPJ
{name: 'LEVEL', type: 'string' }, //LEVEL
{name: 'LOGINNAME', type: 'string' }, //LOGINNAME
{name: 'LOGINPASSWORD', type: 'string' }, //LOGINPASSWORD
{name: 'QQ', type: 'string' }, //QQ
{name: 'MSN', type: 'string' }, //MSN
{name: 'MODIFIEDUSER', type: 'string' }, //MODIFIEDUSER
{name: 'MODIFIEDTIME', type: 'DateTime' }, //MODIFIEDTIME
{name: 'ISWHARF', type: 'bool' }, //ISWHARF
{name: 'ISSHIPPINGAGENT', type: 'bool' }, //ISSHIPPINGAGENT
{name: 'FARCODE', type: 'string' }, //FARCODE
{name: 'FAPCODE', type: 'string' }, //FAPCODE
{name: 'ISINSURE', type: 'bool' }, //ISINSURE
{name: 'ISLEASING', type: 'bool' }, //ISLEASING
{name: 'ISTRADINGAGENCY', type: 'bool' }, //ISTRADINGAGENCY
{name: 'ISOTHER', type: 'bool' }, //ISOTHER
{name: 'OTHERS', type: 'string' }, //OTHERS
{name: 'UNITPRICE', type: 'string' }, //UNITPRICE
{name: 'REGISTRATIONNO', type: 'string' }, //REGISTRATIONNO
{name: 'ORDERNO', type: 'string' }, //ORDERNO
{name: 'ISENTERP', type: 'bool' }, //ISENTERP
{name: 'TAXNO', type: 'string' }, //TAXNO
{name: 'EDICODE', type: 'string' }, //EDICODE
{name: 'EDICODE2', type: 'string' }, //EDICODE2
{name: 'EDICODE3', type: 'string' }, //EDICODE3
{name: 'ORGANIZATIONCODE', type: 'string' },
{name: 'RMBBankAddress', type: 'string' },
{name: 'USDBankAddress', type: 'string' },
{name: 'MODIFIEDUSERNAME', type: 'string' }
]
});
Ext.define('MsExchangesUnitAccountModel', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //GID
{name: 'LINKID', type: 'string' }, //公司关联id
{name: 'CODENAME', type: 'string' }, //CODENAME
{name: 'CURRENCY', type: 'string' }, //CURRENCY
{name: 'BANKNAME', type: 'string' }, //BANKNAME
{name: 'ACCOUNT', type: 'string' }, //ACCOUNT
{name: 'SUBJECTCODE', type: 'string' }, //银行账户
{name: 'REMARK', type: 'string' }, //REMARK
{name: 'FINANCESOFTCODE', type: 'string' }, //FINANCESOFTCODE
{name: 'CWGLACCID', type: 'string'} //CWGLACCID
]
});
Ext.define('MsExchangesUnitContactModel', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' }, //惟一编号
{name: 'LINKID', type: 'string' }, //客户关联id
{name: 'CODENAME', type: 'string' }, //客户代码
{name: 'SHOWNAME', type: 'string' }, //客户名称
{name: 'ADDR', type: 'string' }, //通讯地址
{name: 'EMAIL', type: 'string' }, //电子邮箱
{name: 'TEL', type: 'string' }, //电话
{name: 'FAX', type: 'string' }, //传真
{name: 'MOBILE', type: 'string' }, //传真
{name: 'ISFINANCIALSTAFF', type: 'bool' }, //是否为财务
{name: 'ISOPERATOR', type: 'bool' }, //是否为操作
{name: 'ISSALEMAN', type: 'bool' }, //是否为销售
{name: 'ISOTHER', type: 'bool' }, //是否为其他
{name: 'CONTACTTYPE1', type: 'bool' }, //联系人类别1
{name: 'CONTACTTYPE2', type: 'bool' }, //联系人类别2
{name: 'CONTACTTYPE3', type: 'bool' }, //联系人类别3
{name: 'CONTACTTYPE4', type: 'bool' }, //联系人类别4
{name: 'CONTACTTYPE5', type: 'bool' }, //联系人类别5
{name: 'CONTACTTYPE6', type: 'bool' }, //联系人类别6
{name: 'CONTACTTYPE7', type: 'bool' }, //联系人类别7
{name: 'CREATEUSER', type: 'string' }, //创建人GID
//{name: 'CREATETIME', type: 'DateTime' }, //创建时间
{name: 'MODIFIEDUSER', type: 'string' }, //最后一次更新操作人GID
//{name: 'MODIFIEDTIME', type: 'DateTime' }, //最后一次更新操作时间
{name: 'ISSTOP', type: 'bool' }, //是否停用该联系人信息
{name: 'ISDELETED', type: 'bool' }, //联系人删除状态标志
{name: 'REMARK', type: 'string' }, //备注
//{name: 'ANNIVERSARY2', type: 'DateTime' }, //ANNIVERSARY2
{name: 'AREMARK2', type: 'string' }, //AREMARK2
//{name: 'BIRTHDAY', type: 'DateTime' }, //BIRTHDAY
//{name: 'ANNIVERSARY1', type: 'DateTime' }, //ANNIVERSARY1
{name: 'AREMARK1', type: 'string' }, //AREMARK1
{name: 'ISBIRTHDAY', type: 'bool' }, //ISBIRTHDAY
{name: 'ISANNIVERSARY1', type: 'bool' }, //ISANNIVERSARY1
{name: 'ISANNIVERSARY2', type: 'bool' }, //ISANNIVERSARY2
{name: 'BIRTHDAYDAY', type: 'int' }, //BIRTHDAYDAY
{name: 'ANNIVERSARYDAY1', type: 'int' }, //ANNIVERSARYDAY1
{name: 'ANNIVERSARYDAY2', type: 'int' }, //ANNIVERSARYDAY2
{name: 'JOB', type: 'string' }, //JOB
{name: 'SEX', type: 'string' }, //SEX
{name: 'AGE', type: 'string' }, //AGE
{name: 'MARRY', type: 'string' }, //MARRY
{name: 'CHILDREN', type: 'string' }, //CHILDREN
{name: 'HOBBIES', type: 'string' }, //HOBBIES
{name: 'FINANCESOFTCODE', type: 'string' } //FINANCESOFTCODE
]
});