Ext.define('MsSeaeOrderModel', { extend: 'Ext.data.Model', idProperty: 'ORDNO', fields: [ { name: 'ORDNO', type: 'string' }, { name: 'BSNO', type: 'string' }, { name: 'ORSTATUS', type: 'string' }, { name: 'ORSTATUSREF', type: 'string' }, { name: 'ORREASON', type: 'string' }, { name: 'DRFEESTATUS', type: 'string' }, { name: 'CRFEESTATUS', type: 'string' }, { name: 'BSDATE', type: 'string' }, { name: 'MBLNO', type: 'string' }, { name: 'CUSTNO', type: 'string' }, { name: 'BSSOURCE', type: 'string' }, { name: 'BSSOURCEDETAIL', type: 'string' }, { name: 'CUSTOMERNAME', type: 'string' }, { name: 'ORDTYPE', type: 'string' }, { name: 'SHIPPERID', type: 'string' }, { name: 'CONSIGNEEID', type: 'string' }, { name: 'NOTIFYPARTYID', type: 'string' }, { name: 'SHIPPER', type: 'string' }, { name: 'CONSIGNEE', type: 'string' }, { name: 'NOTIFYPARTY', type: 'string' }, { name: 'VESSEL', type: 'string' }, { name: 'VOYNO', type: 'string' }, { name: 'ETD', type: 'string' }, { name: 'YARD', type: 'string' }, { name: 'PORTLOADID', type: 'string' }, { name: 'PORTLOAD', type: 'string' }, { name: 'TRANSPORT', type: 'string' }, { name: 'PORTDISCHARGEID', type: 'string' }, { name: 'PORTDISCHARGE', type: 'string' }, { name: 'PLACERECEIPT', type: 'string' }, { name: 'PLACERECEIPTID', type: 'string' }, { name: 'PLACEDELIVERYID', type: 'string' }, { name: 'PLACEDELIVERY', type: 'string' }, { name: 'DESTINATIONID', type: 'string' }, { name: 'DESTINATION', type: 'string' }, { name: 'NOBILL', type: 'string' }, { name: 'ISSUETYPE', type: 'string' }, { name: 'ISSUEDATE', type: 'string' }, { name: 'ISSUEPLACE', type: 'string' }, { name: 'ISSUEPLACEID', type: 'string' }, { name: 'BLFRT', type: 'string' }, { name: 'PREPARDAT', type: 'string' }, { name: 'PAYABLEAT', type: 'string' }, { name: 'SERVICE', type: 'string' }, { name: 'MARKS', type: 'string' }, { name: 'NOPKGS', type: 'string' }, { name: 'DESCRIPTION', type: 'string' }, { name: 'GROSSWEIGHT', type: 'string' }, { name: 'MEASUREMENT', type: 'string' }, { name: 'GOODSNAME', type: 'string' }, { name: 'PKGS', type: 'string' }, { name: 'KINDPKGS', type: 'string' }, { name: 'CBM', type: 'string' }, { name: 'TOTALNO', type: 'string' }, { name: 'CNTRTOTAL', type: 'string' }, { name: 'KGS', type: 'string' }, { name: 'INPUTBY', type: 'string' }, { name: 'INVNO', type: 'string' }, { name: 'CARGOID', type: 'string' }, { name: 'HSCODE', type: 'string' }, { name: 'DCLASS', type: 'string' }, { name: 'DUNNO', type: 'string' }, { name: 'REEFERF', type: 'string' }, { name: 'TEMPID', type: 'string' }, { name: 'TEMPSET', type: 'string' }, { name: 'TEMPMAX', type: 'string' }, { name: 'TEMPMIN', type: 'string' }, { name: 'DPAGE', type: 'string' }, { name: 'DLABEL', type: 'string' }, { name: 'LINKMAN', type: 'string' }, { name: 'CUSTOMSNUM', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'STATUS1', type: 'boolean' }, { name: 'STATUS2', type: 'boolean' }, { name: 'STATUS3', type: 'boolean' }, { name: 'STATUS4', type: 'boolean' }, { name: 'STATUS5', type: 'boolean' }, { name: 'ISFUMIGATION', type: 'boolean' }, { name: 'ISSTORAGE', type: 'boolean' }, { name: 'ISLAND', type: 'boolean' }, { name: 'ISCUSTOMS', type: 'boolean' }, { name: 'ISINSPECTION', type: 'boolean' }, { name: 'ISBOOKING', type: 'boolean' }, { name: 'ISAGENT', type: 'boolean' }, { name: 'ISHBLNO', type: 'boolean' }, { name: 'SERVICE9', type: 'boolean' }, { name: 'SERVICE10', type: 'boolean' }, { name: 'STLNAME', type: 'string' }, { name: 'STLDATE', type: 'string' }, { name: 'OCEANFEE', type: 'string' }, { name: 'ISUSD', type: 'boolean' }, { name: 'ISCOMMISSIONBACK', type: 'boolean' }, { name: 'CARRIER', type: 'string' }, { name: 'CARRIERATTN', type: 'string' }, { name: 'CARRIERTEL', type: 'string' }, { name: 'CARRIEREMAIL', type: 'string' }, { name: 'FORWARDER', type: 'string' }, { name: 'FORWARDERATTN', type: 'string' }, { name: 'FORWARDERTEL', type: 'string' }, { name: 'FORWARDEREMAIL', type: 'string' }, { name: 'SALE', type: 'string' }, { name: 'DEFSALE', type: 'string' }, { name: 'SALEDEPT', type: 'string' }, { name: 'PACKINGTYPE', type: 'string' }, { name: 'BLTYPE', type: 'string' }, { name: 'OP', type: 'string' }, { name: 'CUSTSERVICE', type: 'string' }, { name: 'FRCUSTSERVICE', type: 'string' }, { name: 'DOC', type: 'string' }, { name: 'AUDITOPERATOR', type: 'string' }, { name: 'AUDITDATE', type: 'string' }, { name: 'OPERATOR', type: 'string' }, { name: 'FBP', type: 'string' }, { name: 'DESTFBP', type: 'string' }, { name: 'MAXWEIGHT', type: 'string' }, { name: 'PLANPROFIT', type: 'string' }, { name: 'OPERATORTEL', type: 'string' }, { name: 'OPERATOREMAIL', type: 'string' }, { name: 'CONFIRMOP', type: 'string' }, { name: 'CONFIRMDATE', type: 'string' }, { name: 'AGENTID', type: 'string' }, { name: 'AGENT', type: 'string' }, { name: 'SERVICECONTRACTNO', type: 'string' }, { name: 'CONTRACTNO', type: 'string' }, { name: 'SALECORPID', type: 'string' }, { name: 'SALECORP', type: 'string' }, { name: 'LANE', type: 'string' } ] }); Ext.define('MsSeaeOrderBillModel', { extend: 'Ext.data.Model', idProperty: 'ORDNO', fields: [ { name: 'ORDNO', type: 'string' }, { name: 'BSNO', type: 'string' }, { name: 'ORSTATUS', type: 'string' }, { name: 'ORSTATUSREF', type: 'string' }, { name: 'ORREASON', type: 'string' }, { name: 'BSDATE', type: 'string' }, { name: 'MBLNO', type: 'string' }, { name: 'CUSTOMERNAME', type: 'string' }, { name: 'ORDTYPE', type: 'string' }, { name: 'SHIPPERID', type: 'string' }, { name: 'CONSIGNEEID', type: 'string' }, { name: 'NOTIFYPARTYID', type: 'string' }, { name: 'SHIPPER', type: 'string' }, { name: 'CONSIGNEE', type: 'string' }, { name: 'NOTIFYPARTY', type: 'string' }, { name: 'VESSEL', type: 'string' }, { name: 'VOYNO', type: 'string' }, { name: 'ETD', type: 'string' }, { name: 'PORTLOADID', type: 'string' }, { name: 'PORTLOAD', type: 'string' }, { name: 'PORTDISCHARGEID', type: 'string' }, { name: 'PORTDISCHARGE', type: 'string' }, { name: 'PLACERECEIPT', type: 'string' }, { name: 'PLACEDELIVERYID', type: 'string' }, { name: 'PLACEDELIVERY', type: 'string' }, { name: 'DESTINATIONID', type: 'string' }, { name: 'DESTINATION', type: 'string' }, { name: 'NOBILL', type: 'string' }, { name: 'ISSUETYPE', type: 'string' }, { name: 'ISSUEDATE', type: 'string' }, { name: 'ISSUEPLACE', type: 'string' }, { name: 'BLFRT', type: 'string' }, { name: 'PREPARDAT', type: 'string' }, { name: 'PAYABLEAT', type: 'string' }, { name: 'SERVICE', type: 'string' }, { name: 'MARKS', type: 'string' }, { name: 'NOPKGS', type: 'string' }, { name: 'DESCRIPTION', type: 'string' }, { name: 'GROSSWEIGHT', type: 'string' }, { name: 'MEASUREMENT', type: 'string' }, { name: 'GOODSNAME', type: 'string' }, { name: 'PKGS', type: 'string' }, { name: 'KINDPKGS', type: 'string' }, { name: 'CBM', type: 'string' }, { name: 'TOTALNO', type: 'string' }, { name: 'CNTRTOTAL', type: 'string' }, { name: 'KGS', type: 'string' }, { name: 'INPUTBY', type: 'string' }, { name: 'INVNO', type: 'string' }, { name: 'CARGOID', type: 'string' }, { name: 'HSCODE', type: 'string' }, { name: 'DCLASS', type: 'string' }, { name: 'DUNNO', type: 'string' }, { name: 'REEFERF', type: 'string' }, { name: 'TEMPID', type: 'string' }, { name: 'TEMPSET', type: 'string' }, { name: 'TEMPMAX', type: 'string' }, { name: 'TEMPMIN', type: 'string' }, { name: 'DPAGE', type: 'string' }, { name: 'DLABEL', type: 'string' }, { name: 'LINKMAN', type: 'string' }, { name: 'CUSTOMSNUM', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'UPSHIPPER', type: 'boolean' }, { name: 'UPCONSIGNEE', type: 'boolean' }, { name: 'UPNOTIFYPARTY', type: 'boolean' }, { name: 'UPVESSEL', type: 'boolean' }, { name: 'UPVOYNO', type: 'boolean' }, { name: 'UPPORTLOAD', type: 'boolean' }, { name: 'UPPORTDISCHARGE', type: 'boolean' }, { name: 'UPPLACEDELIVERY', type: 'boolean' }, { name: 'UPDESTINATION', type: 'boolean' }, { name: 'UPPKGS', type: 'boolean' }, { name: 'UPKGS', type: 'boolean' }, { name: 'UPCBM', type: 'boolean' }, { name: 'UPTOTALNO', type: 'boolean' }, { name: 'UPMARKS', type: 'boolean' }, { name: 'UPDESCRIPTION', type: 'boolean' }, { name: 'UPSERVICE', type: 'boolean' }, { name: 'UPCARGOID', type: 'boolean' }, { name: 'UPHSCODE', type: 'boolean' }, { name: 'UPDCLASS', type: 'boolean' }, { name: 'UPDUNNO', type: 'boolean' }, { name: 'UPDPAGE', type: 'boolean' }, { name: 'UPDLABEL', type: 'boolean' }, { name: 'UPLINKMAN', type: 'boolean' }, { name: 'UPREEFERF', type: 'boolean' }, { name: 'UPTEMPID', type: 'boolean' }, { name: 'UPTEMPSET', type: 'boolean' }, { name: 'UPTEMPMAX', type: 'boolean' }, { name: 'UPTEMPMIN', type: 'boolean' }, { name: 'UPBLFRT', type: 'boolean' }, { name: 'UPPREPARDAT', type: 'boolean' }, { name: 'UPPAYABLEAT', type: 'boolean' }, { name: 'UPISSUETYPE', type: 'boolean' }, { name: 'UPISSUEDATE', type: 'boolean' }, { name: 'UPISSUEPLACE', type: 'boolean' }, { name: 'ASSHIPPER', type: 'string' }, { name: 'ASCONSIGNEE', type: 'string' }, { name: 'ASNOTIFYPARTY', type: 'string' }, { name: 'ASVESSEL', type: 'string' }, { name: 'ASVOYNO', type: 'string' }, { name: 'ASPORTLOAD', type: 'string' }, { name: 'ASPORTDISCHARGE', type: 'string' }, { name: 'ASPLACEDELIVERY', type: 'string' }, { name: 'ASDESTINATION', type: 'string' }, { name: 'ASPKGS', type: 'string' }, { name: 'ASKGS', type: 'string' }, { name: 'ASCBM', type: 'string' }, { name: 'ASTOTALNO', type: 'string' }, { name: 'ASMARKS', type: 'string' }, { name: 'ASDESCRIPTION', type: 'string' }, { name: 'ASSERVICE', type: 'string' }, { name: 'ASCARGOID', type: 'string' }, { name: 'ASHSCODE', type: 'string' }, { name: 'ASDCLASS', type: 'string' }, { name: 'ASDUNNO', type: 'string' }, { name: 'ASDPAGE', type: 'string' }, { name: 'ASDLABEL', type: 'string' }, { name: 'ASLINKMAN', type: 'string' }, { name: 'ASREEFERF', type: 'string' }, { name: 'ASTEMPID', type: 'string' }, { name: 'ASTEMPSET', type: 'string' }, { name: 'ASTEMPMAX', type: 'string' }, { name: 'ASTEMPMIN', type: 'string' }, { name: 'ASBLFRT', type: 'string' }, { name: 'ASPREPARDAT', type: 'string' }, { name: 'ASPAYABLEAT', type: 'string' }, { name: 'ASISSUETYPE', type: 'string' }, { name: 'ASISSUEDATE', type: 'string' }, { name: 'ASISSUEPLACE', type: 'string' }, { name: 'SALE', type: 'string' }, { name: 'PACKINGTYPE', type: 'string' }, { name: 'BLTYPE', type: 'string' }, { name: 'OP', type: 'string' }, { name: 'CUSTSERVICE', type: 'string' }, { name: 'DOC', type: 'string' }, { name: 'AUDITOPERATOR', type: 'string' }, { name: 'AUDITDATE', type: 'string' }, { name: 'CONFIRMOP', type: 'string' }, { name: 'CONFIRMDATE', type: 'string' }, { name: 'OPERATORTEL', type: 'string' }, { name: 'OPERATOREMAIL', type: 'string' } ] }); Ext.define('MsSeaeOrderCtn', { extend: 'Ext.data.Model', idProperty: 'ORDNO,CTN_ID', fields: [ { name: 'CTN_ID', type: 'string' }, { name: 'ORDNO', type: 'string' }, { name: 'CTNNUM', type: 'int' }, { name: 'CTNALL', type: 'string' }, { name: 'REMARK', type: 'string' } ] }); Ext.define('OpSeaeShipper', { extend: 'Ext.data.Model', idProperty: 'SHIPPERID', fields: [ { name: 'SHIPPERID', type: 'string' }, { name: 'CODENAME', type: 'string' }, { name: 'SHORTNAME', type: 'string' }, { name: 'CodeAndName', type: 'string' }, { name: 'SHIPPERDETAIL', type: 'string' }, { name: 'SHIPPERTYPE', type: 'int' }, { name: 'LOADADDRESS', type: 'string' }, { name: 'DELIVERADDRESS', type: 'string' }, { name: 'ISPUBLIC', type: 'bool' } ] }); Ext.define('MsOpSeaeDetail', { extend: 'Ext.data.Model', fields: [ { name: 'GID', type: 'string' }, { name: 'CTN_ID', type: 'string' }, { name: 'MASTERNO', type: 'string' }, { name: 'BSNO', type: 'string' }, { name: 'CTNCODE', type: 'string' }, { name: 'SIZE', type: 'string' }, { name: 'CTN', type: 'string' }, { name: 'CTNNUM', type: 'int' }, { name: 'TEU', type: 'int' }, { name: 'CTNALL', type: 'string' }, { name: 'CNTRNO', type: 'string' }, { name: 'SEALNO', type: 'string' }, { name: 'PKGS', type: 'int' }, { name: 'KGS', type: 'decimal' }, { name: 'CBM', type: 'decimal' }, { name: 'REMARK', type: 'string' }, { name: 'KINDPKGS', type: 'string' } ] }); Ext.define('MsSeaeOrderStatus', { extend: 'Ext.data.Model', fields: [ { name: 'STATUS_ID', type: 'string' }, { name: 'STATUSSTR', type: 'string' } ] }); Ext.define('MsCompanysEntity', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, //GID { name: 'CODENAME', type: 'string' }, //CODENAME { name: 'NAME', type: 'string' }, //NAME { name: 'FULLNAME', type: 'string' }, //FULLNAME { name: 'ENNAME', type: 'string' }, //公司英文名称 { name: 'ADDRESS', type: 'string' }, //ADDRESS { name: 'ENADDRESS', type: 'string' }, //公司英文地址 { name: 'POSTCODE', type: 'string' }, //POSTCODE { name: 'OFFICEPHONE', type: 'string' }, //OFFICEPHONE { name: 'FAX', type: 'string' }, //FAX { name: 'EMAIL', type: 'string' }, //EMAIL { name: 'WEBSITEURL', type: 'string' }, //WEBSITEURL { name: 'LICENSECODE', type: 'string' }, //LICENSECODE { name: 'TAXCODE', type: 'string' }, //TAXCODE //{name: 'LOGO', type: 'byte[]' }, //徽标 { name: 'CREATEUSER', type: 'string' }, //CREATEUSER { name: 'CREATETIME', type: 'DateTime' }, //CREATETIME { name: 'MODIFIEDUSER', type: 'string' }, //更新人gid { name: 'MODIFIEDTIME', type: 'DateTime' }, //更新时间 { name: 'ISDELETED', type: 'bool' }, //ISDELETED { name: 'ISDISABLE', type: 'bool' }, //ISDISABLE { name: 'PARENTID', type: 'string' }, //PARENTID { name: 'BILLRISES', type: 'string' }, //发票抬头 { name: 'CHEQUEPAYABLE', type: 'string' }, //支票抬头 { name: 'PRTHEADXML1', type: 'string' }, //打印抬头1 { name: 'PRTHEADXML2', type: 'string' }, //打印抬头2 { name: 'PRTHEADXML3', type: 'string' }, //打印抬头3 { name: 'PRTHEADXML4', type: 'string' }, //打印抬头4 { name: 'PRTHEADXML5', type: 'string' }, //打印抬头5 { name: 'BANKSHEAD', type: 'string' }, //BANKSHEAD { name: 'LOCALCURR', type: 'string' }, //本地货币 { name: 'WORKFLOWMSG', type: 'string' }, //是否启用消息提示 { name: 'GPSUSER', type: 'string' }, //GPSUser { name: 'GPSPASSWORD', type: 'string' }, //GPSPassWord { name: 'ORGANIZATIONCODE', type: 'string' }, { name: 'MODIFIEDUSERNAME', type: 'string' }, { name: 'DBNAME', type: 'string' }, { name: 'LOGOURL', type: 'string' } ] });