Ext.define('BookingConfirm', { extend: 'Ext.data.Model', idProperty: 'ORDNO', fields: [ { name: 'ORDNO', type: 'string' }, { name: 'OPERATOR', type: 'string' },////发出订舱的人 { name: 'CUSTOMERNAME', type: 'string' },////发出订舱的单位在平台里的Sys_user.info_client { name: 'BSNO', type: 'string' }, { name: 'BSSTATUS', type: 'string' }, { name: 'SISTATUS', type: 'string' }, { name: 'BSSTATUSREF', type: 'string' }, { name: 'SISTATUSREF', type: 'string' }, { name: 'BSDATE', type: 'string' }, { name: 'MBLNO', type: 'string' }, { name: 'HBLNO', type: 'string' }, { name: 'ORDERNO', type: 'string' }, { name: 'CONTRACTNO', type: 'string' }, { name: 'SERVICECONTRACTNO', 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: 'NOTIFYPARTY2', type: 'string' }, { name: 'YARD', type: 'string' }, { name: 'VESSELID', type: 'string' }, { name: 'VESSEL', type: 'string' }, { name: 'VOYNO', type: 'string' }, { name: 'ETD', type: 'string' }, { name: 'CLOSINGDATE', type: 'string' }, { name: 'CLOSEDOCDATE', type: 'string' }, { name: 'ETA', type: 'string' }, { name: 'PLACERECEIPTID', type: 'string' }, { name: 'PLACERECEIPT', type: 'string' }, { name: 'PORTLOADID', type: 'string' }, { name: 'PORTLOAD', type: 'string' }, { name: 'PORTDISCHARGEID', type: 'string' }, { name: 'PORTDISCHARGE', type: 'string' }, { name: 'PLACEDELIVERYID', type: 'string' }, { name: 'PLACEDELIVERY', type: 'string' }, { name: 'DESTINATIONID', type: 'string' }, { name: 'DESTINATION', type: 'string' }, { name: 'NOBILL', type: 'string' }, { name: 'COPYNOBILL', type: 'string' }, { name: 'ISSUETYPE', type: 'string' }, { name: 'ISSUEDATE', type: 'string' }, { name: 'ISSUEPLACEID', 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: 'HSCODE', type: 'string' }, { name: 'DESCRIPTION', type: 'string' }, { name: 'PKGS', type: 'string' }, { name: 'KINDPKGS', type: 'string' }, { name: 'KGS', type: 'string' }, { name: 'CBM', type: 'string' }, { name: 'CNTRTOTAL', type: 'string' }, { name: 'INPUTBY', type: 'string' }, { name: 'CARRIER', type: 'string' }, { name: 'CARGOID', type: 'string' }, { name: 'DCLASS', type: 'string' }, { name: 'DUNNO', type: 'string' }, { name: 'DPAGE', type: 'string' }, { name: 'DLABEL', type: 'string' }, { name: 'LINKMAN', type: 'string' }, { name: 'TEMPID', type: 'string' }, { name: 'TEMPSET', type: 'string' }, { name: 'REEFERF', type: 'string' }, { name: 'HUMIDITY', type: 'string' }, { name: 'ISCONTAINERSOC', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'EDIREMARK', type: 'string' }, { name: 'CREATETIME', type: 'string' }, { name: 'MODIFYTIME', type: 'string' }, { name: 'MODIFYUSER', type: 'string' }, { name: 'USERID', type: 'string' }, { name: 'CORPID', type: 'string' }, { name: 'SHIPPERNAME', type: 'string' }, { name: 'SHIPPERADDR1', type: 'string' }, { name: 'SHIPPERADDR2', type: 'string' }, { name: 'SHIPPERADDR3', type: 'string' }, { name: 'SHIPPERCITY', type: 'string' }, { name: 'SHIPPERPROVINCE', type: 'string' }, { name: 'SHIPPERPOSTCODE', type: 'string' }, { name: 'SHIPPERCOUNTRY', type: 'string' }, { name: 'SHIPPERATTN', type: 'string' }, { name: 'SHIPPERTEL', type: 'string' }, { name: 'CONSIGNEENAME', type: 'string' }, { name: 'CONSIGNEEADDR1', type: 'string' }, { name: 'CONSIGNEEADDR2', type: 'string' }, { name: 'CONSIGNEEADDR3', type: 'string' }, { name: 'CONSIGNEECITY', type: 'string' }, { name: 'CONSIGNEEPROVINCE', type: 'string' }, { name: 'CONSIGNEEPOSTCODE', type: 'string' }, { name: 'CONSIGNEERCOUNTRY', type: 'string' }, { name: 'CONSIGNEEATTN', type: 'string' }, { name: 'CONSIGNEETEL', type: 'string' }, { name: 'NOTIFYPARTYNAME', type: 'string' }, { name: 'NOTIFYPARTYADDR1', type: 'string' }, { name: 'NOTIFYPARTYADDR2', type: 'string' }, { name: 'NOTIFYPARTYADDR3', type: 'string' }, { name: 'NOTIFYPARTYCITY', type: 'string' }, { name: 'NOTIFYPARTYPROVINCE', type: 'string' }, { name: 'NOTIFYPARTYPOSTCODE', type: 'string' }, { name: 'NOTIFYPARTYCOUNTRY', type: 'string' }, { name: 'NOTIFYPARTYATTN', type: 'string' }, { name: 'NOTIFYPARTYTEL', type: 'string' }, { name: 'SALE_NAME', type: 'string' } ] }); Ext.define('Booking_Ctn', { extend: 'Ext.data.Model', idProperty: 'CTN_ID', fields: [ { name: 'CTN_ID', type: 'string' }, { name: 'ORDNO', type: 'string' }, { name: 'CTNALL', type: 'string' }, { name: 'CTNNUM', type: 'string' }, { name: 'TEU', type: 'string' }, { name: 'CNTRNO', type: 'string' }, { name: 'SEALNO', type: 'string' }, { name: 'PKGS', type: 'number' }, { name: 'KINDPKGS', type: 'string' }, { name: 'KGS', type: 'number' }, { name: 'CBM', type: 'number' }, { name: 'TAREWEIGHT', type: 'string' }, { name: 'CTNSTATUS', type: 'string' }, { name: 'WEIGHTYPE', type: 'string' }, { name: 'WEIGHKGS', type: 'string' }, { name: 'WEIGHATTN', type: 'string' }, { name: 'VGMCONNCOM', type: 'string' }, { name: 'WEIGHTEL', type: 'string' }, { name: 'WEIGHDATE', type: 'string' }, { name: 'VGMADDR', type: 'string' }, { name: 'VGMEMAIL', type: 'string' }, { name: 'REMARK', type: 'string' } ] }); Ext.define('Booking_SImb', { extend: 'Ext.data.Model', idProperty: 'SINO', fields: [ { name: 'SINO', type: 'string' }, { name: 'ORDNO', type: 'string' }, { name: 'BSNO', type: 'string' }, { name: 'BSSTATUS', type: 'string' }, { name: 'BSSTATUSREF', type: 'string' }, { name: 'SUBMITDATE', type: 'string' }, { name: 'BSDATE', type: 'string' }, { name: 'MBLNO', type: 'string' }, { name: 'HBLNO', type: 'string' }, { name: 'ORDERNO', type: 'string' }, { name: 'CONTRACTNO', type: 'string' }, { name: 'SERVICECONTRACTNO', 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: 'NOTIFYPARTY2', type: 'string' }, { name: 'YARD', type: 'string' }, { name: 'VESSELID', type: 'string' }, { name: 'VESSEL', type: 'string' }, { name: 'VOYNO', type: 'string' }, { name: 'ETD', type: 'string' }, { name: 'CLOSINGDATE', type: 'string' }, { name: 'CLOSEDOCDATE', type: 'string' }, { name: 'ETA', type: 'string' }, { name: 'PLACERECEIPTID', type: 'string' }, { name: 'PLACERECEIPT', type: 'string' }, { name: 'PORTLOADID', type: 'string' }, { name: 'PORTLOAD', type: 'string' }, { name: 'PORTDISCHARGEID', type: 'string' }, { name: 'PORTDISCHARGE', type: 'string' }, { name: 'PLACEDELIVERYID', type: 'string' }, { name: 'PLACEDELIVERY', type: 'string' }, { name: 'DESTINATIONID', type: 'string' }, { name: 'DESTINATION', type: 'string' }, { name: 'NOBILL', type: 'string' }, { name: 'COPYNOBILL', type: 'string' }, { name: 'ISSUETYPE', type: 'string' }, { name: 'ISSUEDATE', type: 'string' }, { name: 'ISSUEPLACEID', 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: 'HSCODE', type: 'string' }, { name: 'DESCRIPTION', type: 'string' }, { name: 'PKGS', type: 'string' }, { name: 'KINDPKGS', type: 'string' }, { name: 'KGS', type: 'string' }, { name: 'CBM', type: 'string' }, { name: 'CNTRTOTAL', type: 'string' }, { name: 'INPUTBY', type: 'string' }, { name: 'CARRIER', type: 'string' }, { name: 'CARGOID', type: 'string' }, { name: 'DCLASS', type: 'string' }, { name: 'DUNNO', type: 'string' }, { name: 'DPAGE', type: 'string' }, { name: 'DLABEL', type: 'string' }, { name: 'LINKMAN', type: 'string' }, { name: 'TEMPID', type: 'string' }, { name: 'TEMPSET', type: 'string' }, { name: 'REEFERF', type: 'string' }, { name: 'HUMIDITY', type: 'string' }, { name: 'ISCONTAINERSOC', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'SIREMARK', type: 'string' }, { name: 'CREATETIME', type: 'string' }, { name: 'MODIFYTIME', type: 'string' }, { name: 'MODIFYUSER', type: 'string' }, { name: 'USERID', type: 'string' }, { name: 'CORPID', type: 'string' }, { name: 'SHIPPERNAME', type: 'string' }, { name: 'SHIPPERADDR1', type: 'string' }, { name: 'SHIPPERADDR2', type: 'string' }, { name: 'SHIPPERADDR3', type: 'string' }, { name: 'SHIPPERCITY', type: 'string' }, { name: 'SHIPPERPROVINCE', type: 'string' }, { name: 'SHIPPERPOSTCODE', type: 'string' }, { name: 'SHIPPERCOUNTRY', type: 'string' }, { name: 'SHIPPERATTN', type: 'string' }, { name: 'SHIPPERTEL', type: 'string' }, { name: 'CONSIGNEENAME', type: 'string' }, { name: 'CONSIGNEEADDR1', type: 'string' }, { name: 'CONSIGNEEADDR2', type: 'string' }, { name: 'CONSIGNEEADDR3', type: 'string' }, { name: 'CONSIGNEECITY', type: 'string' }, { name: 'CONSIGNEEPROVINCE', type: 'string' }, { name: 'CONSIGNEEPOSTCODE', type: 'string' }, { name: 'CONSIGNEERCOUNTRY', type: 'string' }, { name: 'CONSIGNEEATTN', type: 'string' }, { name: 'CONSIGNEETEL', type: 'string' }, { name: 'NOTIFYPARTYNAME', type: 'string' }, { name: 'NOTIFYPARTYADDR1', type: 'string' }, { name: 'NOTIFYPARTYADDR2', type: 'string' }, { name: 'NOTIFYPARTYADDR3', type: 'string' }, { name: 'NOTIFYPARTYCITY', type: 'string' }, { name: 'NOTIFYPARTYPROVINCE', type: 'string' }, { name: 'NOTIFYPARTYPOSTCODE', type: 'string' }, { name: 'NOTIFYPARTYCOUNTRY', type: 'string' }, { name: 'NOTIFYPARTYATTN', type: 'string' }, { name: 'NOTIFYPARTYTEL', type: 'string' }, { name: 'ISMULTI', type: 'string' }, { name: 'ORDER_BSNO', type: 'string' }, { name: 'OPERATOR', type: 'string' },////发出订舱的人 { name: 'OPERATORTEL', type: 'string' },////发出订舱的人的电话 { name: 'OPERATORMAIL', type: 'string' },////发出订舱的人的邮箱 { name: 'CUSTOMERNAME', type: 'string' }////发出订舱的单位在平台里的Sys_user.info_client ] }); Ext.define('Booking_Ctn_Detailmb', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'CTN_ID', type: 'string' }, { name: 'PKGS', type: 'number' }, { name: 'KINDPKGS', type: 'string' }, { name: 'KGS', type: 'number' }, { name: 'CBM', type: 'number' }, { name: 'HSCODE', type: 'string' }, { name: 'MARKS', type: 'string' }, { name: 'DESCRIPTION', type: 'string' }, { name: 'REMARK', type: 'string' } ] }); //#region 主数据 检测是否相同的范围 StoreDiffField = Ext.create('Ext.data.Store', { fields: ['FieldName','FieldType'] }); //选中的对比项目 CheckDiffField = Ext.create('Ext.data.Store', { fields: ['FieldName', 'FieldType'] }); // StoreDiffField.add( { "FieldName": "CONTRACTNO","FieldType":"string" }, //运费协议号 // { "FieldName": "BLTYPE" }, //装运方式 { "FieldName": "SHIPPER", "FieldType": "string" }, { "FieldName": "CONSIGNEE", "FieldType": "string" }, { "FieldName": "NOTIFYPARTY", "FieldType": "string" }, { "FieldName": "MARKS", "FieldType": "string" }, { "FieldName": "DESCRIPTION", "FieldType": "string" }, { "FieldName": "HSCODE", "FieldType": "string" }, { "FieldName": "ISCONTAINERSOC", "FieldType": "bool" }, { "FieldName": "CARGOID", "FieldType": "string" }, { "FieldName": "CNTRTOTAL", "FieldType": "string"}, { "FieldName": "PKGS", "FieldType": "string" }, { "FieldName": "KINDPKGS", "FieldType": "string" }, { "FieldName": "KGS", "FieldType": "string" }, { "FieldName": "CBM", "FieldType": "string" }, { "FieldName": "PORTLOADID", "FieldType": "string" }, { "FieldName": "PORTLOAD", "FieldType": "string" }, { "FieldName": "PLACERECEIPTID", "FieldType": "string" }, { "FieldName": "PLACERECEIPT", "FieldType": "string" }, { "FieldName": "PORTDISCHARGEID", "FieldType": "string" }, { "FieldName": "PORTDISCHARGE", "FieldType": "string" }, { "FieldName": "DESTINATIONID", "FieldType": "string" }, { "FieldName": "DESTINATION", "FieldType": "string" }, { "FieldName": "PLACEDELIVERYID", "FieldType": "string" }, { "FieldName": "PLACEDELIVERY", "FieldType": "string" }, { "FieldName": "SIREMARK", "FieldType": "string" }, { "FieldName": "ISSUETYPE", "FieldType": "string" }, { "FieldName": "SERVICE", "FieldType": "string" }, { "FieldName": "BLFRT", "FieldType": "string" }, { "FieldName": "PREPARDAT", "FieldType": "string" }, { "FieldName": "PAYABLEAT", "FieldType": "string" }, { "FieldName": "NOBILL", "FieldType": "string" }, { "FieldName": "COPYNOBILL", "FieldType": "string" } //以下不向下同步 ,{ "FieldName": "VESSEL", "FieldType": "string" }, //船名 { "FieldName": "VOYNO", "FieldType": "string" }, //航次 { "FieldName": "YARD", "FieldType": "string" }, //场站 { "FieldName": "ETD", "FieldType": "string" }, //ETD //{ "FieldName": "CLOSINGDATE", "FieldType": "string" }, //截港 //{ "FieldName": "CLOSEDOCDATE", "FieldType": "string" },//截单 { "FieldName": "VESSELID", "FieldType": "string" }, //船舶呼号 { "FieldName": "CARRIER", "FieldType": "string" }, //船公司 { "FieldName": "MBLNO", "FieldType": "string" } //主提单号 ); //#endregion //#region 集装箱数据 检测范围 CtnDiffField = Ext.create('Ext.data.Store', { fields: ['FieldName', 'FieldType'] }); // CtnDiffField.add( { "FieldName": "CNTRNO", "FieldType": "string" }, { "FieldName": "CTNALL", "FieldType": "string" }, { "FieldName": "CTNNUM", "FieldType": "int" }, { "FieldName": "SEALNO", "FieldType": "string" }, { "FieldName": "PKGS", "FieldType": "int"}, { "FieldName": "KINDPKGS", "FieldType": "string" }, { "FieldName": "KGS", "FieldType": "decimal"}, { "FieldName": "CBM", "FieldType": "decimal"}, { "FieldName": "TAREWEIGHT", "FieldType": "decimal"}, { "FieldName": "CTNSTATUS", "FieldType": "string" }, { "FieldName": "WEIGHTYPE", "FieldType": "string" }, { "FieldName": "WEIGHKGS", "FieldType": "decimal" }, { "FieldName": "WEIGHATTN", "FieldType": "string" }, { "FieldName": "VGMCONNCOM", "FieldType": "string" }, { "FieldName": "WEIGHTEL", "FieldType": "string" }, { "FieldName": "WEIGHDATE", "FieldType": "string" }, { "FieldName": "VGMADDR", "FieldType": "string" }, { "FieldName": "VGMEMAIL", "FieldType": "string" }, { "FieldName": "REMARK", "FieldType": "string" }, { "FieldName": "TEU", "FieldType": "int" } ); //#endregion //#region 集装箱多品名明细数据 检测范围 CtnDetailDiffField = Ext.create('Ext.data.Store', { fields: ['FieldName', 'FieldType'] }); // CtnDetailDiffField.add( { "FieldName": "HSCODE", "FieldType": "string"}, { "FieldName": "PKGS", "FieldType": "int"}, { "FieldName": "KINDPKGS", "FieldType": "string" }, { "FieldName": "KGS", "FieldType": "decimal"}, { "FieldName": "CBM", "FieldType": "decimal"}, { "FieldName": "MARKS", "FieldType": "string"}, { "FieldName": "DESCRIPTION", "FieldType": "string" }, { "FieldName": "REMARK", "FieldType": "string" } ); //#endregion