Ext.define('MsInfoClientModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'PCORPNAME', type: 'string' }, { name: 'CODENAME', type: 'string' }, { name: 'CodeAndName', type: 'string' }, { name: 'SHORTNAME', type: 'string' }, { name: 'DESCRIPTION', type: 'string' }, { name: 'ENFULLNAME', type: 'string' }, { name: 'STATUS', type: 'number' }, { 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: 'OP', type: 'string' }, { name: 'DOC', type: 'string' }, { name: 'SALE', type: 'string' }, { name: 'OPNAME', type: 'string' }, { name: 'OPTIME', type: 'string' }, { name: 'CORPID', type: 'string' }, { name: 'SALECORPID', type: 'string' }, { name: 'OTHERS', type: 'string' }, { name: 'ISSTOP', type: 'boolean' }, { name: 'COUNTRY', type: 'string' }, { name: 'PROVINCE', type: 'string' }, { name: 'CITY', type: 'string' }, { name: 'BLCONTENT', type: 'string' }, { name: 'BILLRISES1', type: 'string' }, { name: 'BILLRISES2', type: 'string' }, { name: 'INVADDRTEL', type: 'string' }, { name: 'RMBBILLRISES', type: 'string' }, { name: 'USDBILLRISES', type: 'string' }, { name: 'USDMAXAMOUNTCREDIT', type: 'number' }, { name: 'RMBMAXAMOUNTCREDIT', type: 'number' }, { name: 'MAXAMOUNTCREDIT', type: 'number' }, { name: 'STLNAME', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'ACCREMARK', type: 'string' }, { name: 'USDEXCHANGERATE', type: 'number' }, { name: 'TICHENG', type: 'number' }, { name: 'FENCHENG', type: 'number' }, { name: 'TICHENGCANYU', type: 'string' }, { name: 'STLDATE', type: 'string' }, { name: 'STLFIRSTHALFDATE', type: 'string' }, { name: 'STLMIDDLEDATE', type: 'string' }, { name: 'STLDATEPJ', type: 'string' }, { name: 'LEVEL', type: 'string' }, { name: 'LOGINNAME', type: 'string' }, { name: 'LOGINPASSWORD', type: 'string' }, { name: 'QQ', type: 'string' }, { name: 'MSN', type: 'string' }, { name: 'FARCODE', type: 'string' }, { name: 'FAPCODE', type: 'string' }, { name: 'UNITPRICE', type: 'string' }, { name: 'REGISTRATIONNO', type: 'string' }, { name: 'TAXNO', type: 'string' }, { name: 'InspectionNo', type: 'string' }, { name: 'EDICODE', type: 'string' }, { name: 'EDICODE2', type: 'string' }, { name: 'EDICODE3', type: 'string' }, { name: 'ORGANIZATIONCODE', type: 'string' }, { name: 'ISCARRIER', type: 'boolean' }, { name: 'ISBOOKING', type: 'boolean' }, { name: 'ISYARD', type: 'boolean' }, { name: 'ISTRUCK', type: 'boolean' }, { name: 'ISCONTROLLER', type: 'boolean' }, { name: 'ISCUSTOM', type: 'boolean' }, { name: 'ISAGENT', type: 'boolean' }, { name: 'ISAGENTCN', type: 'boolean' }, { name: 'ISEXPRESS', type: 'boolean' }, { name: 'ISAIRLINES', type: 'boolean' }, { name: 'ISSHIPPER', type: 'boolean' }, { name: 'ISCONSIGNEE', type: 'boolean' }, { name: 'ISNOTIFYPARTY', type: 'boolean' }, { name: 'ISWAREHOUSE', type: 'boolean' }, { name: 'ISINSURE', type: 'boolean' }, { name: 'ISLEASING', type: 'boolean' }, { name: 'ISTRADINGAGENCY', type: 'boolean' }, { name: 'ISOTHER', type: 'boolean' }, { name: 'ISENTERP', type: 'boolean' }, { name: 'ISSHIPAGENCY', type: 'boolean' }, { name: 'ORDERNO', type: 'string' }, { name: 'BLSTATUSREF', type: 'string' }, { name: 'ISSP', type: 'string' }, { name: 'FEEFRT', type: 'string' }, { name: 'CUSTTYPE', type: 'string' }, { name: 'CUSTGUIMO', type: 'string' }, { name: 'CUSTCLASS', type: 'string' }, { name: 'QUALIFICATION', type: 'string' }, { name: 'REGDATE', type: 'string' }, { name: 'CARGOL', type: 'string' }, { name: 'PRODUCT', type: 'string' }, { name: 'EXPREGION', type: 'string' }, { name: 'CARRIERLIST', type: 'string' }, { name: 'CTNTYPE', type: 'string' }, { name: 'CUSTNUM', type: 'string' }, { name: 'NATURE', type: 'string' }, { name: 'BSSOURCE', type: 'string' }, { name: 'CRMREMARK1', type: 'string' }, { name: 'CRMREMARK2', type: 'string' }, { name: 'CRMREMARK3', type: 'string' }, { name: 'CRMREMARK4', type: 'string' }, { name: 'CRMREMARK5', type: 'string' }, { name: 'CRMREMARK6', type: 'string' }, { name: 'CUSTPROP', type: 'string' }, { name: 'ACCTYPE', type: 'string' },//结算方式 {name: 'ACCMONTH', type: 'string' }, //结算方式 {name: 'ACCDAYS', type: 'string'}//结算日期 ] }); Ext.define('MsInfoClientContactModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'LINKID', type: 'string' }, { name: 'CODENAME', type: 'string' }, { name: 'SHOWNAME', type: 'string' }, { name: 'ADDR', type: 'string' }, { name: 'EMAIL', type: 'string' }, { name: 'MOBILE', type: 'string' }, { name: 'TEL', type: 'string' }, { name: 'QQ', type: 'string' }, { name: 'FAX', type: 'string' }, { name: 'JOB', type: 'string' }, { name: 'SEX', type: 'string' }, { name: 'AGE', type: 'string' }, { name: 'MARRY', type: 'string' }, { name: 'CHILDREN', type: 'string' }, { name: 'HOBBIES', type: 'string' }, { name: 'ISFINANCIALSTAFF', type: 'boolean' }, { name: 'ISOPERATOR', type: 'boolean' }, { name: 'ISSALEMAN', type: 'boolean' }, { name: 'ISOTHER', type: 'boolean' }, { name: 'ISSTOP', type: 'boolean' }, { name: 'ISINSURANCE', type: 'boolean' }, { name: 'ISDUI', type: 'boolean' }, { name: 'REMARK', type: 'string' }, { name: 'BIRTHDAY', type: 'string' }, { name: 'ISBIRTHDAY', type: 'boolean' }, { name: 'BIRTHDAYDAY', type: 'number' }, { name: 'ANNIVERSARY1', type: 'string' }, { name: 'ISANNIVERSARY1', type: 'boolean' }, { name: 'ANNIVERSARYDAY1', type: 'number' }, { name: 'AREMARK1', type: 'string' }, { name: 'ANNIVERSARY2', type: 'string' }, { name: 'ISANNIVERSARY2', type: 'boolean' }, { name: 'ANNIVERSARYDAY2', type: 'number' }, { name: 'AREMARK2', type: 'string' } ] }); Ext.define('MsInfoClientContractModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'LINKID', type: 'string' }, { name: 'CUSTNAME', type: 'string' }, { name: 'CONTRACTNO', type: 'string' }, { name: 'CONTRACTNAME', type: 'string' }, { name: 'SIGNINGDATE', type: 'string' }, { name: 'STARTDATE', type: 'string' }, { name: 'CANCELDATE', type: 'string' }, { name: 'CHIEF', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'CORPID', type: 'string' }, { name: 'DEPTGID', type: 'string' }, { name: 'CREATETIME', type: 'string' }, { name: 'CREATEUSER', type: 'string' }, { name: 'CREATEUSERREF', type: 'string' } ] }); Ext.define('MsInfoClientBankModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'LINKID', type: 'string' }, { name: 'ACCOUNTNAME', type: 'string' }, { name: 'CODENAME', type: 'string' }, { name: 'CURRENCY', type: 'string' }, { name: 'BANKNAME', type: 'string' }, { name: 'ACCOUNT', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'FINANCESOFTCODE', type: 'string' }, { name: 'CREATEUSER', type: 'string' }, { name: 'CREATETIME', type: 'string' }, { name: 'CWGLACCID', type: 'string' }, { name: 'SWIFT', type: 'string' }, { name: 'BANKAGENTNAME', type: 'string' }, { name: 'BANKADDR', type: 'string' }, { name: 'BANKACNO', type: 'string' }, { name: 'COUNTRYID', type: 'string' }, { name: 'COUNTRY', type: 'string' }, { name: 'ISINVDEF', type: 'string' }, { name: 'ISINVDEFREF', type: 'string' }, { name: 'BANKNAME_ACCOUNT', type: 'string' } ] }); Ext.define('Info_Client_ACCDATEmb', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'LINKGID', type: 'string' }, { name: 'CONTRACTGID', type: 'string' }, { name: 'BGNDATE', type: 'date' }, { name: 'ENDDATE', type: 'date' }, { name: 'OPLBNAME', type: 'string' }, { name: 'SALE', type: 'string' }, { name: 'BSSOURCE', type: 'string' }, { name: 'COMMISSIONRATE', type: 'number' }, { name: 'ACCTYPE', type: 'string' }, { name: 'ACCSTARTDATE', type: 'string' }, { name: 'ACCMONTH', type: 'string' }, { name: 'ACCDAYS', type: 'string' }, { name: 'ALLOWAMOUNT', type: 'string' }, { name: 'MODIFIEDUSER', type: 'string' }, { name: 'MODIFIEDUSERREF', type: 'string' }, { name: 'MODIFIEDTIME', type: 'string' }, { name: 'REMARK', type: 'string' } ] }); Ext.define('MsInfoClientShipperModel', { extend: 'Ext.data.Model', idProperty: 'SHIPPERID', fields: [ { name: 'SHIPPERID', type: 'string' }, { name: 'CODENAME', type: 'string' }, { name: 'CUSTOMERNAME', type: 'string' }, { name: 'SHORTNAME', type: 'string' }, { name: 'SHIPPERDETAIL', type: 'string' }, { name: 'SHIPPERTYPE', type: 'string' }, { name: 'SERVICECONTRACTNO', type: 'string' }, { name: 'COUNTRY', type: 'string' }, { name: 'ATTN', type: 'string' }, { name: 'TEL', type: 'string' }, { name: 'EMAIL', type: 'string' }, { name: 'CORPID', type: 'string' }, { name: 'ISPUBLIC', type: 'bool' } ] }); Ext.define('ConutryRef', { extend: 'Ext.data.Model', fields: [ { name: 'countryid', type: 'string' }, { name: 'country', type: 'string' }, { name: 'country_idandname', type: 'string' } ] }); Ext.define('ReceiptDocmb', { extend: 'Ext.data.Model', idProperty: 'FieldName', fields: [ { name: 'GID', type: 'string' }, { name: 'RECEIPTTYPE', type: 'string' }, { name: 'R_GID', type: 'string' }, { name: 'BSNO', type: 'string' }, { name: 'URL', type: 'string' }, { name: 'Driect_URL', type: 'string' }, { name: 'MODIFIEDUSER', type: 'string' }, { name: 'MODIFIEDUSERRef', type: 'string' }, { name: 'MODIFIEDTIME', type: 'string' } ] }); Ext.define('MsInfoClientFeeDetailModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'FEENAME', type: 'string' }, { name: 'CUSTOMERNAME', type: 'string' }, { name: 'CLIENTREF', type: 'string' }, { name: 'UNIT', type: 'string' }, { name: 'CURRENCY', type: 'string' }, { name: 'UNITPRICE', type: 'number' }, { name: 'EXCHANGERATE', type: 'number' }, { name: 'TAXRATE', type: 'number' }, { name: 'TAX', type: 'number' }, { name: 'FEEFRT', type: 'string' }, { name: 'CREATEUSER', type: 'string' }, { name: 'CREATETIME', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'ISCTNREF', type: 'string' }, { name: 'ISCTN', type: 'bool' }, { name: 'ISINVOICE', type: 'bool' }, { name: 'ISADVANCEDPAY', type: 'bool' } ] }); Ext.define('MsInfoClientImgmb', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'LINKGID', type: 'string' }, { name: 'NAME', type: 'string' }, { name: 'DESCRIPTION', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'IMGURL', type: 'string' }, { name: 'IMG', type: 'string' }, { name: 'INDATABASE', type: 'string' }, { name: 'INDATABASE_OLD', type: 'string' } ] });