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/Import/Viewsjs/XXH/XXHModel.js

1374 lines
64 KiB
JavaScript

Ext.define('XXHmb', {
extend: 'Ext.data.Model',
idProperty: 'id' + 'name',
fields: [
{ name: 'preArrivalDate', type: 'date' },
{ name: 'seller', type: 'string' },
{ name: 'buyer', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'HTDATE', type: 'string' },
{ name: 'id', type: 'string' },
{ name: 'cgid', type: 'string' }, //
{ name: 'name', type: 'string' }, //
{ name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' }, //
{ name: 'port', type: 'string' },
{ name: 'portRef', type: 'string' }, //
{ name: 'ContainerNo', type: 'string' },
{ name: 'SealNo', type: 'string' },
{ name: 'STT', type: 'string' },
{ name: 'creator', type: 'string' },
{ name: 'creattime', type: 'string' },
{ name: 'Auditor', type: 'string' },
{ name: 'AuditorREF', type: 'string' },
{ name: 'Audittime', type: 'string' },
{ name: 'Printed', type: 'string' },
{ name: 'Mainstate', type: 'string' },
{ name: 'MainstateRef', type: 'string' }, //
{ name: 'CORPNAME', type: 'string' },
{ name: 'AutoAPP', type: 'string' },
{ name: 'AutoAPPApplyId', type: 'string' },
{ name: 'AutoAPPNum', type: 'string' },
{ name: 'ApplyDate', type: 'date' },
{ name: 'ShipCompany_id', type: 'string' },
{ name: 'ShipCompanyRef', type: 'string' },
{ name: 'BillNo', type: 'string' },
{ name: 'BillType', type: 'string' },
{ name: 'BillTime', type: 'string' },
{ name: 'Vessel', type: 'string' },
{ name: 'Voyage', type: 'string' },
{ name: 'Ex_sailingdate', type: 'date' },
{ name: 'Sailingdate', type: 'string' },
{ name: 'ArrivalDate', type: 'string' },
{ name: 'TransactionMethod', type: 'string' },
{ name: 'SecurityDeposit', type: 'string' },
{ name: 'PaymentMethods', type: 'string' },
{ name: 'CustomsReleaseDate', type: 'string' },
{ name: 'InspectionReleaseDate', type: 'string' },
{ name: 'SamplingDate_Plan', type: 'string' },
{ name: 'SamplingDate_Act', type: 'string' },
{ name: 'inspection_Signup_date', type: 'string' },
{ name: 'inspection_no', type: 'string' },
{ name: 'inspection_date', type: 'string' },
{ name: 'cicode', type: 'string' },
{ name: 'ciname', type: 'string' },
{ name: 'TimeMark', type: 'number' },
{ name: 'remark', type: 'string' },
{ name: 'Freetime', type: 'string' },
{ name: 'CIQ_licence', type: 'string' },
{ name: 'CIQ_canbesearch', type: 'string' },
{ name: 'CIQ_canbesearchRef', type: 'string' },
{ name: 'company', type: 'string' },
{ name: 'companyname', type: 'string' },
{ name: 'tax_date', type: 'string' },
{ name: 'tax_paydate', type: 'string' },
{ name: 'AppNo', type: 'string' }, //
{ name: 'ValidDate', type: 'string' },
{ name: 'weight', type: 'number' },
{ name: 'm_weight', type: 'number' },//
{ name: 'Writeoffs', type: 'string' }, //核销完成
{ name: 'AutoAPPRef', type: 'string' },
{ name: 'printedRef', type: 'string' },
{ name: 'WriteoffsRef', type: 'string' },
{ name: 'Paydate', type: 'string' },
{ name: 'Prepaydate', type: 'string' },
{ name: 'E_Billtime', type: 'string' },
{ name: 'HDtime', type: 'string' },
{ name: 'FinanceStatus', type: 'string' },
{ name: 'remark_2', type: 'string' },
{ name: 'remark_3', type: 'string' },
{ name: 'remark_4', type: 'string' },
{ name: 'Sampling_need', type: 'string' },
{ name: 'DeclareNumber', type: 'string' },
{ name: 'Inspection_Storage', type: 'string' },
{ name: 'DeliveryDate', type: 'string' },
{ name: 'DeliveryAddress', type: 'string' },
{ name: 'Contacter', type: 'string' },
{ name: 'Tel', type: 'string' },
{ name: 'Overfilled', type: 'string' },
{ name: 'OwnApp', type: 'string' },
{ name: 'ReceiptStatus', type: 'string' },
{ name: 'ReceiptStatusRef', type: 'string' },
{ name: 'Receiptremark', type: 'string' },
{ name: 'TRADINGAGENCY', type: 'string' },
{ name: 'FactoryNo', type: 'string' },
{ name: 'ICP', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'ContractStatus', type: 'string' },
{ name: 'AppName', type: 'string' },
{ name: 'KCClear', type: 'string' },
{ name: 'KCClearREF', type: 'string' },
{ name: 'RCVMode', type: 'string' },
{ name: 'RCVModeREF', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'Sampling_needREF', type: 'string' },
{ name: 'ZMQ', type: 'string' },
{ name: 'MZBZ', type: 'string'}//木质包装
, { name: 'MZBZREF', type: 'string'}//木质包装
, { name: 'APPREMARK', type: 'string' }
, { name: 'BUZTYPE', type: 'string' }
, { name: 'BUZTYPEREF', type: 'string' }
, { name: 'APPWEIGHT', type: 'string' }
, { name: 'SELLERFULLNAME', type: 'string' }
, { name: 'Exporter', type: 'string' }
, { name: 'Exporter2', type: 'string' }//用于在配证 审单界面显示 出口商的中文名和英文全称
, { name: 'Inspection_Contacter', type: 'string' }
, { name: 'Inspection_Tel', type: 'string' }
, { name: 'Inspection_DeliveryAddress', type: 'string' }
, { name: 'Productiondate', type: 'string' } //生产日期
, { name: 'BZTCHNO', type: 'string'} //批次号
, { name: 'HaveContract', type: 'string'} //有合同
, { name: 'HaveCargoMark', type: 'string'} //有标签
, { name: 'appusedweight', type: 'string'} //许可证使用重量
, { name: 'HAVESAMPLE', type: 'string' }
, { name: 'CHECKSAMPLE', type: 'string' }
, { name: 'price', type: 'string' }
, { name: 'price_agio', type: 'string' }
, { name: 'CTN', type: 'string' }
, { name: 'BILLTRANCNO', type: 'string' }
, { name: 'Unsealdate', type: 'string' }
, { name: 'IsRongZi', type: 'string'}//业务内包含 融资款
, { name: 'ISREFORM', type: 'string'}//业务内包含 融资款
, { name: 'SBYS', type: 'string' }
, { name: 'Agent', type: 'string' }
, { name: 'Agent2', type: 'string' }
, { name: 'Agent3', type: 'string' }
, { name: 'CreateTime_2', type: 'string' }
, { name: 'ResendTime', type: 'string' }
, { name: 'Dock', type: 'string' }//码头
, { name: 'Customs_broker', type: 'string' }//报关行
, { name: 'inspection_broker', type: 'string'}//报检行
, { name: 'TRADECOUNTRY', type: 'string' },
{ name: 'TRADECOUNTRY_REF', type: 'string' },
{ name: 'CIQDATE', type: 'string' },
{ name: 'VSIGN', type: 'string' },
{ name: 'ClearanceNo', type: 'string' }
]
});
Ext.define('XXH_CreateEditmb', {
extend: 'Ext.data.Model',
idProperty: 'id' + 'name',
fields: [
{ name: 'preArrivalDate', type: 'date' },
{ name: 'seller', type: 'string' },
{ name: 'buyer', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'HTDATE', type: 'date' },
{ name: 'id', type: 'string' },
{ name: 'cgid', type: 'string' }, //
{ name: 'name', type: 'string' }, //
{ name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' }, //
{ name: 'port', type: 'string' },
{ name: 'portRef', type: 'string' }, //
{ name: 'ContainerNo', type: 'string' },
{ name: 'SealNo', type: 'string' },
{ name: 'STT', type: 'string' },
{ name: 'creator', type: 'string' },
{ name: 'creattime', type: 'string' },
{ name: 'Auditor', type: 'string' },
{ name: 'AuditorREF', type: 'string' },
{ name: 'Audittime', type: 'string' },
{ name: 'Printed', type: 'string' },
{ name: 'Mainstate', type: 'string' },
{ name: 'MainstateRef', type: 'string' }, //
{ name: 'CORPNAME', type: 'string' },
{ name: 'AutoAPP', type: 'string' },
{ name: 'AutoAPPApplyId', type: 'string' },
{ name: 'AutoAPPNum', type: 'string' },
{ name: 'ApplyDate', type: 'date' },
{ name: 'ShipCompany_id', type: 'string' },
{ name: 'ShipCompanyRef', type: 'string' },
{ name: 'BillNo', type: 'string' },
{ name: 'BillType', type: 'string' },
{ name: 'BillTime', type: 'string' },
{ name: 'Vessel', type: 'string' },
{ name: 'Voyage', type: 'string' },
{ name: 'Ex_sailingdate', type: 'date' },
{ name: 'Sailingdate', type: 'string' },
{ name: 'ArrivalDate', type: 'string' },
{ name: 'TransactionMethod', type: 'string' },
{ name: 'SecurityDeposit', type: 'string' },
{ name: 'PaymentMethods', type: 'string' },
{ name: 'CustomsReleaseDate', type: 'string' },
{ name: 'InspectionReleaseDate', type: 'string' },
{ name: 'SamplingDate_Plan', type: 'string' },
{ name: 'SamplingDate_Act', type: 'string' },
{ name: 'inspection_Signup_date', type: 'string' },
{ name: 'inspection_no', type: 'string' },
{ name: 'inspection_date', type: 'string' },
{ name: 'cicode', type: 'string' },
{ name: 'ciname', type: 'string' },
{ name: 'TimeMark', type: 'number' },
{ name: 'remark', type: 'string' },
{ name: 'Freetime', type: 'string' },
{ name: 'CIQ_licence', type: 'string' },
{ name: 'CIQ_canbesearch', type: 'string' },
{ name: 'CIQ_canbesearchRef', type: 'string' },
{ name: 'company', type: 'string' },
{ name: 'companyname', type: 'string' },
{ name: 'tax_date', type: 'string' },
{ name: 'tax_paydate', type: 'string' },
{ name: 'AppNo', type: 'string' }, //
{ name: 'ValidDate', type: 'string' },
{ name: 'weight', type: 'number' },
{ name: 'm_weight', type: 'number' },//
{ name: 'Writeoffs', type: 'string' }, //核销完成
{ name: 'AutoAPPRef', type: 'string' },
{ name: 'printedRef', type: 'string' },
{ name: 'WriteoffsRef', type: 'string' },
{ name: 'Paydate', type: 'string' },
{ name: 'Prepaydate', type: 'string' },
{ name: 'E_Billtime', type: 'string' },
{ name: 'HDtime', type: 'string' },
{ name: 'FinanceStatus', type: 'string' },
{ name: 'remark_2', type: 'string' },
{ name: 'remark_3', type: 'string' },
{ name: 'remark_4', type: 'string' },
{ name: 'Sampling_need', type: 'string' },
{ name: 'DeclareNumber', type: 'string' },
{ name: 'Inspection_Storage', type: 'string' },
{ name: 'DeliveryDate', type: 'string' },
{ name: 'DeliveryAddress', type: 'string' },
{ name: 'Contacter', type: 'string' },
{ name: 'Tel', type: 'string' },
{ name: 'Overfilled', type: 'string' },
{ name: 'OwnApp', type: 'string' },
{ name: 'ReceiptStatus', type: 'string' },
{ name: 'ReceiptStatusRef', type: 'string' },
{ name: 'Receiptremark', type: 'string' },
{ name: 'TRADINGAGENCY', type: 'string' },
{ name: 'FactoryNo', type: 'string' },
{ name: 'ICP', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'ContractStatus', type: 'string' },
{ name: 'AppName', type: 'string' },
{ name: 'KCClear', type: 'string' },
{ name: 'KCClearREF', type: 'string' },
{ name: 'RCVMode', type: 'string' },
{ name: 'RCVModeREF', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'Sampling_needREF', type: 'string' },
{ name: 'ZMQ', type: 'string' },
{ name: 'MZBZ', type: 'string' }//木质包装
, { name: 'MZBZREF', type: 'string' }//木质包装
, { name: 'APPREMARK', type: 'string' }
, { name: 'BUZTYPE', type: 'string' }
, { name: 'BUZTYPEREF', type: 'string' }
, { name: 'APPWEIGHT', type: 'string' }
, { name: 'SELLERFULLNAME', type: 'string' }
, { name: 'Exporter', type: 'string' }
, { name: 'Exporter2', type: 'string' }//用于在配证 审单界面显示 出口商的中文名和英文全称
, { name: 'Inspection_Contacter', type: 'string' }
, { name: 'Inspection_Tel', type: 'string' }
, { name: 'Inspection_DeliveryAddress', type: 'string' }
, { name: 'Productiondate', type: 'string' } //生产日期
, { name: 'BZTCHNO', type: 'string' } //批次号
, { name: 'HaveContract', type: 'string' } //有合同
, { name: 'HaveCargoMark', type: 'string' } //有标签
, { name: 'appusedweight', type: 'string' } //许可证使用重量
, { name: 'HAVESAMPLE', type: 'string' }
, { name: 'CHECKSAMPLE', type: 'string' }
, { name: 'price', type: 'string' }
, { name: 'price_agio', type: 'string' }
, { name: 'CTN', type: 'string' }
, { name: 'BILLTRANCNO', type: 'string' }
, { name: 'Unsealdate', type: 'string' }
, { name: 'IsRongZi', type: 'string' }//业务内包含 融资款
, { name: 'ISREFORM', type: 'string' }//业务内包含 融资款
, { name: 'SBYS', type: 'string' }
, { name: 'Agent', type: 'string' }
, { name: 'Agent2', type: 'string' }
, { name: 'Agent3', type: 'string' }
, { name: 'CreateTime_2', type: 'string' }
, { name: 'ResendTime', type: 'string' }
, { name: 'Dock', type: 'string' }//码头
, { name: 'Customs_broker', type: 'string' }//报关行
, { name: 'inspection_broker', type: 'string' }//报检行
, { name: 'TRADECOUNTRY', type: 'string' },
{ name: 'TRADECOUNTRY_REF', type: 'string' },
{ name: 'CIQDATE', type: 'string' },
{ name: 'VSIGN', type: 'string' },
{ name: 'ClearanceNo', type: 'string' }
]
});
Ext.define('ConutryRef', {
extend: 'Ext.data.Model',
fields: [
{ name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' },
{ name: 'country_idandname', type: 'string' }
]
});
Ext.define('Receiptname', {
extend: 'Ext.data.Model',
fields: [
{ name: 'name', type: 'string' }
]
});
Ext.define('Receiptmb', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'id', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'Receiptid', type: 'string' },
{ name: 'ReceiptName', type: 'string' },
{ name: 'ReceiptNo', type: 'string' },
{ name: 'state', type: 'string' },
{ name: 'statename', type: 'string' },
{ name: 'Send_date', type: 'date' },
{ name: 'receive_date', type: 'date' },
{ name: 'repeat_date', type: 'date' },
{ name: 'trancer', type: 'string' },
{ name: 'trancNo', type: 'string' },
{ name: 'remark', type: 'string' }
]
});
Ext.define('RECEIPTmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'RECEIPTNO', type: 'string' },
{ name: 'RECEIPTTYPE', type: 'string' },
{ name: 'RECEIVE_MAN', type: 'string' },
{ name: 'RECEIVE_DATE', type: 'string' },
{ name: 'SEND_MAN', type: 'string' },
{ name: 'SEND_DATE', type: 'string' },
{ name: 'TRANCER', type: 'string' },
{ name: 'TRANCNO', type: 'string' },
{ name: 'ISREPEAT', type: 'string' },
{ name: 'REPEAT_MAN', type: 'string' },
{ name: 'REPEAT_DATE', type: 'string' },
{ name: 'ISRECEIVE', type: 'string' },
{ name: 'RETURN_MAN', type: 'string' },
{ name: 'RETURN_DATE', type: 'string' },
{ name: 'RETURN_TRANCER', type: 'string' },
{ name: 'RETURN_TRANCNO', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' }
]
});
Ext.define('MainstateRef', {
extend: 'Ext.data.Model',
fields: [
{ name: 'id', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'idandname', type: 'string' }
]
});
Ext.define('Cargomb', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'id', type: 'string' },
{ name: 'GID', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'cargoinfo_id', type: 'string' },
{ name: 'cargociq_id', type: 'string' },
{ name: 'AGENCRATE', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'Ename', type: 'string' },
{ name: 'Unit', type: 'string' },
{ name: 'UnitRate', type: 'string' },
{ name: 'U_PRICE', type: 'number' },
{ name: 'U_weight', type: 'number' },
{ name: 'weight', type: 'number' },
{ name: 'm_weight', type: 'number' },
{ name: 't_weight', type: 'number' },
{ name: 'price', type: 'number' },
{ name: 'price_agio', type: 'number' },
{ name: 'price_limit', type: 'number' },
{ name: 'Amount', type: 'number' },//合同价格
{name: 'tax_Amount', type: 'number' }, //完税价格
{name: 'tax_Amount_RMB', type: 'number' }, //完税价格
{ name: 'pay_Amount', type: 'number' },//购货价格
{ name: 'BoxCount', type: 'number' },
{ name: 'BoxWeight', type: 'number' },
{ name: 'Exporter', type: 'string' },
{ name: 'FactoryNo', type: 'string' },
{ name: 'Productiondate', type: 'string' },
{ name: 'currid', type: 'string' },
{ name: 'prepayments', type: 'number' },
{ name: 'balance', type: 'number' },
{ name: 'pay_prepayments', type: 'number' },
{ name: 'pay_balance', type: 'number' },
{ name: 'Paypart', type: 'string' },
{ name: 'cicode', type: 'string' },
{ name: 'ciname', type: 'string' },
{ name: 'cicodeandname', type: 'string' },
{ name: 'ciqcode', type: 'string' },
{ name: 'ciqname', type: 'string' },
{ name: 'ciqcodeandname', type: 'string' },
{ name: 'codename', type: 'string' },
{ name: 'defaultrate', type: 'string' },
{ name: 'UnitRef', type: 'string' },
{ name: 'paypartRef', type: 'string' },
{ name: 'baolv', type: 'string' },
{ name: 'tariff', type: 'string' },
{ name: 'tax', type: 'number' },
{ name: 'tax_zz', type: 'number' },
//20190929 增加对从量税率的存储 分/kg
{ name: 'tax_cl', type: 'number' },
{ name: 'Declarenumber', type: 'string' },
{ name: 'Exchangerate', type: 'number' },
{ name: 'Exchangerate_Customs', type: 'number' },
//20140109 增加对计算值的保存,用于向应收应付列表和费用通知单提供数据
{ name: 'tax_1', type: 'string' },
{ name: 'tax_zz_1', type: 'string' },
{ name: 'tax_2', type: 'string' },
{ name: 'tax_zz_2', type: 'string' }
//20140307 增加 预付比例,用于许可证核销的总金额
, { name: 'RecProportion', type: 'string' }
, { name: 'PreProportion', type: 'string' }
, { name: 'AMOUNT_WRITEOFFS', type: 'string' }
, { name: 'NAME_REF', type: 'string' }
, { name: 'SEQUENCE', type: 'number' }
, { name: 'Ename', type: 'string' }
, { name: 'SBYS', type: 'string' }
, { name: 'BZTCHNO', type: 'string' }
, { name: 'CargoType', type: 'string' }
, { name: 'REMARK', type: 'string' }
, { name: 'SPECIFICATIONS', type: 'string' }
, { name: 'SHIJIGUANSHUI', type: 'number' }
, { name: 'SHIJIZENGZHISHUI', type: 'number' }
, { name: 'XIANJIAJINE', type: 'number' }
, { name: 'BAOZHENGJIN', type: 'number' }
, { name: 'ZHIBAOJIN', type: 'number' }
, { name: 'ZONGJINE', type: 'number' }
,{ name: 'TAGPICURL', type: 'string' }
]
});
Ext.define('CargoRef', {
extend: 'Ext.data.Model',
fields: [
{ name: 'id', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'codeandname', type: 'string' }
]
});
Ext.define('CargoTax', {
extend: 'Ext.data.Model',
fields: [
{ name: 'id', type: 'string' },
{ name: 'code', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'codeandname', type: 'string' },
{ name: 'tariff', type: 'string' },
{ name: 'tax', type: 'string' },
{ name: 'tax_zz', type: 'string' },
{ name: 'tax_cl', type: 'string' }
]
});
Ext.define('CargociqRef', {
extend: 'Ext.data.Model',
fields: [
{ name: 'id', type: 'string' },
{ name: 'ciqname', type: 'string' },
{ name: 'codeandname', type: 'string' }
]
});
Ext.define('Appstatemb', {
extend: 'Ext.data.Model',
idProperty: 'app_id' + 'cargo_id',
fields: [
{ name: 'id', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'appno', type: 'string' },
{ name: 'app_id', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'cargo_id', type: 'string' },
{ name: 'cargoname', type: 'string' },
{ name: 'appweight', type: 'string' },
{ name: 'appremain', type: 'string' },
{ name: 'canbeused', type: 'string' },
{ name: 'country', type: 'string' },
{ name: 'validdate', type: 'string' },
{ name: 'weight', type: 'number' },
{ name: 'info', type: 'string' },
{ name: 'remain', type: 'string' },
{ name: 'cancellation', type: 'string' },
{ name: 'cancellation_date', type: 'date' },
{ name: 'cancellationRef', type: 'string' },
{ name: 'SEQUENCE', type: 'number' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('Appmb', {
extend: 'Ext.data.Model',
idProperty: 'app_id',
fields: [
{ name: 'appno', type: 'string' },
{ name: 'app_id', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'company', type: 'string' },
{ name: 'appweight', type: 'string' },
{ name: 'appremain', type: 'string' },
{ name: 'canbeused', type: 'string' },
{ name: 'country', type: 'string' },
{ name: 'validdate', type: 'string' },
{ name: 'weight', type: 'number' },
{ name: 'info', type: 'string' }
, { name: 'SPECIFICATIONS', type: 'string' }
]
});
Ext.define('currRef', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'codename', type: 'string' },
{ name: 'defaultrate', type: 'string' }
]
});
Ext.define('companymb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'name', type: 'string' }
]
});
Ext.define('remind', {
extend: 'Ext.data.Model',
fields: [
{ name: 'RemindName', type: 'string' },
{ name: 'RemindSql', type: 'string' }
]
});
Ext.define('KCmb', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'id', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'cargo_id', type: 'string' },
{ name: 'cargoname', type: 'string' },
{ name: 'czstate', type: 'string' },
{ name: 'innum', type: 'number' },
{ name: 'outnum', type: 'number' },
{ name: 'kfstate', type: 'string' },
{ name: 'czdate', type: 'date' },
{ name: 'text', type: 'string' },
{ name: 'czref', type: 'string' },
{ name: 'kfref', type: 'string' },
{ name: 'days', type: 'number' },
{ name: 'FeeName', type: 'string' },
{ name: 'UnitPrice', type: 'number' },
{ name: 'Quantity', type: 'number' },
{ name: 'Amount', type: 'number' },
{ name: 'Sended', type: 'string' },
{ name: 'TRUCKNO', type: 'string' },
{ name: 'TRUCKTEL', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'ENTEROPERATOR', type: 'string' },
{ name: 'PLEDGE', type: 'string' },
{ name: 'PLEDGEREF', type: 'string' }
]
});
Ext.define('Tradermb', {
extend: 'Ext.data.Model',
idProperty: 'gid',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'codename', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'EnFullName', type: 'string' },
{ name: 'codeEnName', type: 'string' },
{ name: 'ISSTOP', type: 'string' },
{ name: 'RCVMode', type: 'string' }
]
});
Ext.define('HTmb', {
extend: 'Ext.data.Model',
//idProperty: 'Count',
fields: [
/*
{ name: 'ContractNo', type: 'string' },
{ name: 'HTH', type: 'string' }*/
{name: 'Count', type: 'string' }
]
});
Ext.define('MLmb', {
extend: 'Ext.data.Model',
//idProperty: 'Count',
fields: [
{ name: 'RMBYS', type: 'string' },
{ name: 'RMBYF', type: 'string' },
{ name: 'RMBML', type: 'string' },
{ name: 'USDYS', type: 'string' },
{ name: 'USDYF', type: 'string' },
{ name: 'USDML', type: 'string' }
]
});
Ext.define('Fieldmb', {
extend: 'Ext.data.Model',
//idProperty: 'Count',
fields: [
{ name: 'FieldId', type: 'string' },
{ name: 'FieldValue', type: 'string' }
]
});
Ext.define('AppCargomb', {
extend: 'Ext.data.Model',
//idProperty: 'Count',
fields: [
{ name: 'Match', type: 'string' }
]
});
Ext.define('HTstatemb', {
extend: 'Ext.data.Model',
//idProperty: 'Count',
fields: [
{ name: 'APPNO', type: 'string' },
{ name: 'USEDWEIGHT', type: 'string' }
]
});
Ext.define('XXH_singlemb', {
extend: 'Ext.data.Model',
idProperty: 'id' + 'cgid',
fields: [
{ name: 'seller', type: 'string' },
{ name: 'buyer', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'HTDATE', type: 'string' },
{ name: 'id', type: 'string' },
{ name: 'cgid', type: 'string' }, //
{ name: 'name', type: 'string' }, //
{ name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' }, //
{name: 'TRADECOUNTRY', type: 'string' }, //
{name: 'TRADECOUNTRY_REF', type: 'string' }, //
{ name: 'port', type: 'string' },
{ name: 'portRef', type: 'string' }, //
{ name: 'ContainerNo', type: 'string' },
{ name: 'SealNo', type: 'string' },
{ name: 'STT', type: 'string' },
{ name: 'creator', type: 'string' },
{ name: 'creattime', type: 'string' },
{ name: 'Auditor', type: 'string' },
{ name: 'AuditorREF', type: 'string' },
{ name: 'Audittime', type: 'string' },
{ name: 'Printed', type: 'string' },
{ name: 'Mainstate', type: 'string' },
{ name: 'MainstateRef', type: 'string' }, //
{ name: 'AutoAPP', type: 'string' },
{ name: 'AutoAPPApplyId', type: 'string' },
{ name: 'AutoAPPNum', type: 'string' },
{ name: 'ApplyDate', type: 'date' },
{ name: 'ShipCompany_id', type: 'string' },
{ name: 'ShipCompanyRef', type: 'string' },
{ name: 'BillNo', type: 'string' },
{ name: 'BillType', type: 'string' },
{ name: 'BillTime', type: 'string' },
{ name: 'Vessel', type: 'string' },
{ name: 'Voyage', type: 'string' },
{ name: 'Ex_sailingdate', type: 'string' },
{ name: 'Sailingdate', type: 'string' },
{ name: 'ArrivalDate', type: 'string' },
{ name: 'TransactionMethod', type: 'string' },
{ name: 'SecurityDeposit', type: 'string' },
{ name: 'PaymentMethods', type: 'string' },
{ name: 'InventoryState', type: 'string' },
{ name: 'InventoryStateRef', type: 'string' },
{ name: 'CustomsReleaseDate', type: 'string' },
{ name: 'InspectionReleaseDate', type: 'string' },
{ name: 'SamplingDate_Plan', type: 'string' },
{ name: 'SamplingDate_Act', type: 'string' },
{ name: 'inspection_Signup_date', type: 'string' },
{ name: 'inspection_no', type: 'string' },
{ name: 'inspection_date', type: 'string' },
{ name: 'cicode', type: 'string' },
{ name: 'ciname', type: 'string' },
{ name: 'TimeMark', type: 'number' },
{ name: 'remark', type: 'string' },
{ name: 'Freetime', type: 'string' },
{ name: 'CIQ_licence', type: 'string' },
{ name: 'CIQ_canbesearch', type: 'string' },
{ name: 'CIQ_canbesearchRef', type: 'string' },
{ name: 'company', type: 'string' },
{ name: 'companyname', type: 'string' },
{ name: 'tax_date', type: 'string' },
{ name: 'tax_paydate', type: 'string' },
{ name: 'AppNo', type: 'string' }, //
{ name: 'ValidDate', type: 'string' },
{ name: 'weight', type: 'number' }, //
{ name: 'Writeoffs', type: 'string' }, //核销完成
{ name: 'AutoAPPRef', type: 'string' },
{ name: 'printedRef', type: 'string' },
{ name: 'WriteoffsRef', type: 'string' },
{ name: 'Paydate', type: 'string' },
{ name: 'Prepaydate', type: 'string' },
{ name: 'E_Billtime', type: 'string' },
{ name: 'HDtime', type: 'string' },
{ name: 'FinanceStatus', type: 'string' },
{ name: 'remark_2', type: 'string' },
{ name: 'remark_3', type: 'string' },
{ name: 'remark_4', type: 'string' },
{ name: 'Sampling_need', type: 'string' },
{ name: 'DeclareNumber', type: 'string' },
{ name: 'Inspection_Storage', type: 'string' },
{ name: 'DeliveryDate', type: 'string' },
{ name: 'DeliveryAddress', type: 'string' },
{ name: 'Contacter', type: 'string' },
{ name: 'Tel', type: 'string' },
{ name: 'Overfilled', type: 'string' },
{ name: 'OwnApp', type: 'string' },
{ name: 'ReceiptStatus', type: 'string' },
{ name: 'ReceiptStatusRef', type: 'string' },
{ name: 'Receiptremark', type: 'string' },
{ name: 'FactoryNo', type: 'string' },
{ name: 'boxcount', type: 'string' },
{ name: 'amount', type: 'string' },
{ name: 'weight', type: 'string' },
{ name: 'price', type: 'string' },
{ name: 'TRADINGAGENCY', type: 'string' },
{ name: 'CreateTime_2', type: 'string' },
{ name: 'ResendTime', type: 'string' },
{ name: 'Inspection_StorageREF', type: 'string' },
{ name: 'BilltypeREF', type: 'string' }
, { name: 'MZBZ', type: 'string'}//木质包装
, { name: 'MZBZREF', type: 'string'}//木质包装
, { name: 'OPBillTime', type: 'string' }, //放单时间
{ name: 'Dock', type: 'string' },//码头
{ name: 'Customs_broker', type: 'string' },//报关行
{name: 'inspection_broker', type: 'string'}//报检行
,
{ name: 'Shuidan_Time', type: 'string' },
{ name: 'Jianyizheng_Time', type: 'string' },
{ name: 'AutoAPP_Time', type: 'string' },
{ name: 'HXD_Time', type: 'string' }
, { name: 'Unsealdate', type: 'string' }
, { name: 'Agent', type: 'string' }
, { name: 'Agent2', type: 'string' }
, { name: 'Agent3', type: 'string' }
, { name: 'OP', type: 'string' }
, { name: 'ClearanceNo', type: 'string' }
]
});
Ext.define('XXH_ALLmb', {//Portoperate
extend: 'Ext.data.Model',
idProperty: 'id' + 'name',
fields: [
{ name: 'preArrivalDate', type: 'date' },
{
name: 'tax_amount_RMB', type: 'number'
}, //完税价格
{ name: 'seller', type: 'string' },
{ name: 'buyer', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'HTDATE', type: 'string' },
{ name: 'id', type: 'string' },
{ name: 'cgid', type: 'string' }, //
{ name: 'RECEIVE_MAN', type: 'string' },
{name: 'name', type: 'string' }, //
{name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' }, //
{name: 'port', type: 'string' },
{ name: 'portRef', type: 'string' }, //
{name: 'ContainerNo', type: 'string' },
{ name: 'SealNo', type: 'string' },
{ name: 'STT', type: 'string' },
{ name: 'creator', type: 'string' },
{ name: 'creattime', type: 'string' },
{ name: 'Auditor', type: 'string' },
{ name: 'AuditorREF', type: 'string' },
{ name: 'CORPNAME', type: 'string' },
{ name: 'Audittime', type: 'string' },
{ name: 'Printed', type: 'string' },
{ name: 'Mainstate', type: 'string' },
{ name: 'MainstateRef', type: 'string' }, //
{ name: 'AutoAPP', type: 'string' },
{ name: 'AutoAPPApplyId', type: 'string' },
{ name: 'AutoAPPNum', type: 'string' },
{ name: 'ApplyDate', type: 'date' },
{ name: 'ShipCompany_id', type: 'string' },
{ name: 'ShipCompanyRef', type: 'string' },
{ name: 'BillNo', type: 'string' },
{ name: 'BillType', type: 'string' },
{ name: 'BillTime', type: 'string' },
{ name: 'Vessel', type: 'string' },
{ name: 'Voyage', type: 'string' },
{ name: 'Ex_sailingdate', type: 'string' },
{ name: 'Sailingdate', type: 'string' },
{ name: 'ArrivalDate', type: 'string' },
{ name: 'TransactionMethod', type: 'string' },
{ name: 'SecurityDeposit', type: 'string' },
{ name: 'PaymentMethods', type: 'string' },
{ name: 'TransactionMethodRef', type: 'string' },
{ name: 'PaymentMethodsRef', type: 'string' },
{ name: 'CustomsReleaseDate', type: 'string' },
{ name: 'InspectionReleaseDate', type: 'string' },
{ name: 'SamplingDate_Plan', type: 'string' },
{ name: 'SamplingDate_Act', type: 'string' },
{ name: 'inspection_Signup_date', type: 'string' },
{ name: 'inspection_no', type: 'string' },
{ name: 'inspection_date', type: 'string' },
{ name: 'cicode', type: 'string' },
{ name: 'ciname', type: 'string' },
{ name: 'TimeMark', type: 'number' },
{ name: 'remark', type: 'string' },
{ name: 'Freetime', type: 'string' },
{ name: 'CIQ_licence', type: 'string' },
{ name: 'CIQ_canbesearch', type: 'string' },
{ name: 'CIQ_canbesearchRef', type: 'string' },
{ name: 'company', type: 'string' },
{ name: 'companyname', type: 'string' },
{ name: 'tax_date', type: 'string' },
{ name: 'tax_paydate', type: 'string' },
{ name: 'AppNo', type: 'string' }, //
{name: 'ValidDate', type: 'string' },
{ name: 'weight_t', type: 'number' }, //
{ name: 'weight', type: 'number' }, //
{name: 'Writeoffs', type: 'string' }, //核销完成
{name: 'AutoAPPRef', type: 'string' },
{ name: 'printedRef', type: 'string' },
{ name: 'WriteoffsRef', type: 'string' },
{ name: 'Paydate', type: 'string' },
{ name: 'Prepaydate', type: 'string' },
{ name: 'E_Billtime', type: 'string' },
{ name: 'HDtime', type: 'string' },
{ name: 'FinanceStatus', type: 'string' },
{ name: 'FinanceStatusREF', type: 'string' },
{ name: 'remark_2', type: 'string' },
{ name: 'remark_3', type: 'string' },
{ name: 'remark_4', type: 'string' },
{ name: 'Sampling_need', type: 'string' },
{ name: 'DeclareNumber', type: 'string' },
{ name: 'Inspection_Storage', type: 'string' },
{ name: 'Inspection_StorageREF', type: 'string' },
{ name: 'DeliveryDate', type: 'string' },
{ name: 'DeliveryAddress', type: 'string' },
{ name: 'Contacter', type: 'string' },
{ name: 'Tel', type: 'string' },
{ name: 'Overfilled', type: 'string' },
{ name: 'OwnApp', type: 'string' },
{ name: 'ReceiptStatus', type: 'string' },
{ name: 'ReceiptStatusRef', type: 'string' },
{ name: 'Receiptremark', type: 'string' },
{ name: 'm_weight', type: 'number' },
{ name: 'price', type: 'string' },
{ name: 'price_agio', type: 'string' },
{ name: 'price_limit', type: 'string' },
{ name: 'amount', type: 'number' },
{ name: 'tax_amount', type: 'number' },
{ name: 'pay_amount', type: 'number' },
{ name: 'codename', type: 'string' },
{ name: 'boxcount', type: 'string' },
{ name: 'boxweight', type: 'number' },
{ name: 'exporter', type: 'string' },
{ name: 'FactoryNo', type: 'string' },
{ name: 'productiondate', type: 'string' },
{ name: 'prepayments', type: 'number' },
{ name: 'balance', type: 'number' },
{ name: 'pay_prepayments', type: 'number' },
{ name: 'pay_balance', type: 'number' },
{ name:'RECEIVE_MAN',type:'string'},
{ name: 'baolv', type: 'string' },
{ name: 'tariff', type: 'string' },
{ name: 'tax', type: 'number' },
{ name: 'tax_zz', type: 'number' },
{ name: 'exchangerate', type: 'string' },
{ name: 'exchangerate_customs', type: 'string' },
{ name: 'tax_1', type: 'number' },
{ name: 'tax_zz_1', type: 'number' },
{ name: 'tax_2', type: 'number' },
{ name: 'tax_zz_2', type: 'number' },
{ name: 'TRADINGAGENCY', type: 'string' },
{ name: 'RMBAmount', type: 'number' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'ContractStatus', type: 'string' },
{ name: 'RCVMode', type: 'string' },
{ name: 'RCVModeREF', type: 'string' },
{ name: 'BilltypeREF', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'Sampling_needREF', type: 'string' },
{ name: 'ZMQ', type: 'string'}//标记量 自贸区
, { name: 'MZBZ', type: 'string'}//木质包装
, { name: 'MZBZREF', type: 'string'}//木质包装
, { name: 'RecDate', type: 'string'}//return empty containers date
, { name: 'PortDays', type: 'string'}//港口天数
, { name: 'BUZTYPEREF', type: 'string'}//业务类型 融资/进口贸易
, { name: 'DeliveryDate', type: 'string'}//送货时间
, { name: 'DeliveryAddress', type: 'string'}//送货时间
, { name: 'IsRongZi', type: 'string'}//业务内包含 融资款
, { name: 'CHECKSAMPLE', type: 'string' }
, { name: 'SBYS', type: 'string' }
, { name: 'BILL_RECEIVE_DATE', type: 'string' }
, { name: 'BILL_SEND_DATE', type: 'string' }
, { name: 'BILLTRANCNO', type: 'string' }
, { name: 'Unsealdate', type: 'string' }//商检启封整改时间
, { name: 'ISREFORM', type: 'string'}//是否整改
, { name: 'InspectionNo', type: 'string'}//出口商企业备案号
, { name: 'TRADECOUNTRY', type: 'string' },
{ name: 'TRADECOUNTRY_REF', type: 'string' },
{ name: 'CIQDATE', type: 'string' },
{ name: 'VSIGN', type: 'string' }
, { name: 'ClearanceNo', type: 'string' },
{ name: 'Supplier_Billno', type: 'string' },
//{ name: 'ResendTime', type: 'string' },
{name: 'ShipAgent', type: 'string' },
{ name: 'BillReleaseDate', type: 'string' },
{ name: 'IsLBill', type: 'string' },
{ name: 'LBillShipAgent', type: 'string' },
{ name: 'IsInnerLine', type: 'string' },
{ name: 'InnerLinePort', type: 'string' },
{ name: 'YARD', type: 'string' },
{ name: 'PriceLimitDate', type: 'string' },
{ name: 'PriceLimitRemark', type: 'string' },
//{ name: 'ClearanceNo', type: 'string' },
{name: 'ClearanceDate', type: 'string' },
{ name: 'TaxRecvDate', type: 'string' },
{ name: 'GetBoxDate', type: 'string' },
{ name: 'IsRec', type: 'string' },
{ name: 'InventoryState', type: 'string' },
{ name: 'InventoryStateRef', type: 'string' },
{ name: 'ResendTime2', type: 'string' },
{ name: 'TAGPICURL', type: 'string' }
]
});
Ext.define('XXH_ALL_Editmb', {//Portoperate
extend: 'Ext.data.Model',
idProperty: 'id' + 'name',
fields: [
{ name: 'preArrivalDate', type: 'date' },
{ name: 'tax_amount_RMB', type: 'number' }, //完税价格
{ name: 'seller', type: 'string' },
{ name: 'buyer', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'HTDATE', type: 'string' },
{ name: 'id', type: 'string' },
{ name: 'cgid', type: 'string' }, //
{ name: 'name', type: 'string' }, //
{ name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' }, //
{ name: 'port', type: 'string' },
{ name: 'CORPNAME', type: 'string' },
{ name: 'portRef', type: 'string' }, //
{ name: 'ContainerNo', type: 'string' },
{ name: 'SealNo', type: 'string' },
{ name: 'STT', type: 'string' },
{ name: 'creator', type: 'string' },
{ name: 'creattime', type: 'string' },
{ name: 'Auditor', type: 'string' },
{ name: 'AuditorREF', type: 'string' },
{ name: 'Audittime', type: 'string' },
{ name: 'Printed', type: 'string' },
{ name: 'Mainstate', type: 'string' },
{ name: 'MainstateRef', type: 'string' }, //
{ name: 'AutoAPP', type: 'string' },
{ name: 'AutoAPPApplyId', type: 'string' },
{ name: 'AutoAPPNum', type: 'string' },
{ name: 'ApplyDate', type: 'date' },
{ name: 'ShipCompany_id', type: 'string' },
{ name: 'ShipCompanyRef', type: 'string' },
{ name: 'BillNo', type: 'string' },
{ name: 'BillType', type: 'string' },
{ name: 'BillTime', type: 'date' },
{ name: 'Vessel', type: 'string' },
{ name: 'Voyage', type: 'string' },
{ name: 'Ex_sailingdate', type: 'date' },
{ name: 'Sailingdate', type: 'date' },
{ name: 'ArrivalDate', type: 'date' },
{ name: 'TransactionMethod', type: 'string' },
{ name: 'SecurityDeposit', type: 'string' },
{ name: 'PaymentMethods', type: 'string' },
{ name: 'TransactionMethodRef', type: 'string' },
{ name: 'PaymentMethodsRef', type: 'string' },
{ name: 'CustomsReleaseDate', type: 'date' },
{ name: 'InspectionReleaseDate', type: 'date' },
{ name: 'SamplingDate_Plan', type: 'date' },
{ name: 'SamplingDate_Act', type: 'date' },
{ name: 'inspection_Signup_date', type: 'date' },
{ name: 'inspection_no', type: 'string' },
{ name: 'inspection_date', type: 'date' },
{ name: 'cicode', type: 'string' },
{ name: 'ciname', type: 'string' },
{ name: 'TimeMark', type: 'number' },
{ name: 'remark', type: 'string' },
{ name: 'Freetime', type: 'string' },
{ name: 'CIQ_licence', type: 'string' },
{ name: 'CIQ_canbesearch', type: 'string' },
{ name: 'CIQ_canbesearchRef', type: 'string' },
{ name: 'company', type: 'string' },
{ name: 'companyname', type: 'string' },
{ name: 'tax_date', type: 'date' },
{ name: 'tax_paydate', type: 'date' },
{ name: 'AppNo', type: 'string' }, //
{name: 'ValidDate', type: 'string' },
{ name: 'weight', type: 'number' }, //
{ name: 'm_weight', type: 'number' }, //
{name: 'Writeoffs', type: 'string' }, //核销完成
{name: 'AutoAPPRef', type: 'string' },
{ name: 'printedRef', type: 'string' },
{ name: 'WriteoffsRef', type: 'string' },
{ name: 'Paydate', type: 'date' },
{ name: 'Prepaydate', type: 'date' },
{ name: 'E_Billtime', type: 'date' },
{ name: 'HDtime', type: 'date' },
{ name: 'FinanceStatus', type: 'string' },
{ name: 'FinanceStatusREF', type: 'string' },
{ name: 'remark_2', type: 'string' },
{ name: 'remark_3', type: 'string' },
{ name: 'remark_4', type: 'string' },
{ name: 'Sampling_need', type: 'string' },
{ name: 'DeclareNumber', type: 'string' },
{ name: 'Inspection_Storage', type: 'string' },
{ name: 'Inspection_StorageREF', type: 'string' },
{ name: 'DeliveryDate', type: 'date' },
{ name: 'DeliveryAddress', type: 'string' },
{ name: 'Contacter', type: 'string' },
{ name: 'Tel', type: 'string' },
{ name: 'Overfilled', type: 'string' },
{ name: 'OwnApp', type: 'string' },
{ name: 'ReceiptStatus', type: 'string' },
{ name: 'ReceiptStatusRef', type: 'string' },
{ name: 'Receiptremark', type: 'string' },
{ name: 'm_weight', type: 'number' },
{ name: 'price', type: 'string' },
{ name: 'price_agio', type: 'string' },
{ name: 'price_limit', type: 'string' },
{ name: 'amount', type: 'number' },
{ name: 'tax_amount', type: 'number' },
{ name: 'pay_amount', type: 'number' },
{ name: 'codename', type: 'string' },
{ name: 'boxcount', type: 'string' },
{ name: 'boxweight', type: 'number' },
{ name: 'exporter', type: 'string' },
{ name: 'FactoryNo', type: 'string' },
{ name: 'productiondate', type: 'string' },
{ name: 'prepayments', type: 'string' },
{ name: 'balance', type: 'number' },
{ name: 'baolv', type: 'string' },
{ name: 'tariff', type: 'string' },
{ name: 'tax', type: 'number' },
{ name: 'tax_zz', type: 'number' },
{ name: 'exchangerate', type: 'string' },
{ name: 'exchangerate_customs', type: 'string' },
{ name: 'tax_1', type: 'number' },
{ name: 'tax_zz_1', type: 'number' },
{ name: 'tax_2', type: 'number' },
{ name: 'tax_zz_2', type: 'number' },
{ name: 'TRADINGAGENCY', type: 'string' },
{ name: 'RMBAmount', type: 'number' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'ContractStatus', type: 'string' },
{ name: 'RCVMode', type: 'string' },
{ name: 'RCVModeREF', type: 'string' },
{ name: 'BilltypeREF', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'Sampling_needREF', type: 'string' },
{ name: 'ZMQ', type: 'string'}//标记量 自贸区
, { name: 'MZBZ', type: 'string'}//木质包装
, { name: 'MZBZREF', type: 'string'}//木质包装
, { name: 'RecDate', type: 'date'}//return empty containers date
, { name: 'PortDays', type: 'string'}//港口天数
, { name: 'BUZTYPEREF', type: 'string'}//业务类型 融资/进口贸易
, { name: 'DeliveryDate', type: 'date'}//送货时间
, { name: 'DeliveryAddress', type: 'string'}//送货时间
, { name: 'Inspection_Buyer', type: 'string'}//商检收货人
, { name: 'Inspection_BuyerRef', type: 'string'}//
, { name: 'CHECKSAMPLE', type: 'string' }
, { name: 'BILLTRANCNO', type: 'string' }
, { name: 'Unsealdate', type: 'date' }//商检启封整改时间
,{ name: 'InventoryState', type: 'string' }
, { name: 'InventoryStateRef', type: 'string' }
, { name: 'ISREFORM', type: 'string' }//是否整改
, { name: 'TAGPICURL', type: 'string' }
]
});
Ext.define('XXH_ALL_singlemb', {//Portoperate
extend: 'Ext.data.Model',
idProperty: 'HTH',
fields: [
{ name: 'tax_amount_RMB', type: 'number' }, //完税价格
{ name: 'seller', type: 'string' },
{ name: 'buyer', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'HTDATE', type: 'string' },
{ name: 'id', type: 'string' },
{ name: 'cgid', type: 'string' }, //
{name: 'name', type: 'string' }, //
{name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' }, //
{name: 'port', type: 'string' },
{ name: 'portRef', type: 'string' }, //
{name: 'ContainerNo', type: 'string' },
{ name: 'SealNo', type: 'string' },
{ name: 'STT', type: 'string' },
{ name: 'creator', type: 'string' },
{ name: 'creattime', type: 'string' },
{ name: 'Auditor', type: 'string' },
{ name: 'AuditorREF', type: 'string' },
{ name: 'CORPNAME', type: 'string' },
{ name: 'Audittime', type: 'string' },
{ name: 'Printed', type: 'string' },
{ name: 'Mainstate', type: 'string' },
{ name: 'MainstateRef', type: 'string' }, //
{ name: 'AutoAPP', type: 'string' },
{ name: 'AutoAPPApplyId', type: 'string' },
{ name: 'AutoAPPNum', type: 'string' },
{ name: 'ApplyDate', type: 'date' },
{ name: 'ShipCompany_id', type: 'string' },
{ name: 'ShipCompanyRef', type: 'string' },
{ name: 'BillNo', type: 'string' },
{ name: 'BillType', type: 'string' },
{ name: 'BillTime', type: 'string' },
{ name: 'Vessel', type: 'string' },
{ name: 'Voyage', type: 'string' },
{ name: 'Ex_sailingdate', type: 'string' },
{ name: 'Sailingdate', type: 'string' },
{ name: 'ArrivalDate', type: 'string' },
{ name: 'TransactionMethod', type: 'string' },
{ name: 'SecurityDeposit', type: 'string' },
{ name: 'PaymentMethods', type: 'string' },
{ name: 'TransactionMethodRef', type: 'string' },
{ name: 'PaymentMethodsRef', type: 'string' },
{ name: 'CustomsReleaseDate', type: 'string' },
{ name: 'InspectionReleaseDate', type: 'string' },
{ name: 'SamplingDate_Plan', type: 'string' },
{ name: 'SamplingDate_Act', type: 'string' },
{ name: 'inspection_Signup_date', type: 'string' },
{ name: 'inspection_no', type: 'string' },
{ name: 'inspection_date', type: 'string' },
{ name: 'cicode', type: 'string' },
{ name: 'ciname', type: 'string' },
{ name: 'TimeMark', type: 'number' },
{ name: 'remark', type: 'string' },
{ name: 'Freetime', type: 'string' },
{ name: 'CIQ_licence', type: 'string' },
{ name: 'CIQ_canbesearch', type: 'string' },
{ name: 'CIQ_canbesearchRef', type: 'string' },
{ name: 'company', type: 'string' },
{ name: 'companyname', type: 'string' },
{ name: 'tax_date', type: 'string' },
{ name: 'tax_paydate', type: 'string' },
{ name: 'AppNo', type: 'string' }, //
{ name: 'ValidDate', type: 'string' },
{ name: 'weight', type: 'number' }, //
{ name: 'weight_t', type: 'number' }, //
{ name: 'Writeoffs', type: 'string' }, //核销完成
{ name: 'AutoAPPRef', type: 'string' },
{ name: 'printedRef', type: 'string' },
{ name: 'WriteoffsRef', type: 'string' },
{ name: 'Paydate', type: 'string' },
{ name: 'Prepaydate', type: 'string' },
{ name: 'E_Billtime', type: 'string' },
{ name: 'HDtime', type: 'string' },
{ name: 'FinanceStatus', type: 'string' },
{ name: 'FinanceStatusREF', type: 'string' },
{ name: 'remark_2', type: 'string' },
{ name: 'remark_3', type: 'string' },
{ name: 'remark_4', type: 'string' },
{ name: 'Sampling_need', type: 'string' },
{ name: 'DeclareNumber', type: 'string' },
{ name: 'Inspection_Storage', type: 'string' },
{ name: 'Inspection_StorageREF', type: 'string' },
{ name: 'DeliveryDate', type: 'string' },
{ name: 'DeliveryAddress', type: 'string' },
{ name: 'Contacter', type: 'string' },
{ name: 'Tel', type: 'string' },
{ name: 'Overfilled', type: 'string' },
{ name: 'OwnApp', type: 'string' },
{ name: 'ReceiptStatus', type: 'string' },
{ name: 'ReceiptStatusRef', type: 'string' },
{ name: 'Receiptremark', type: 'string' },
{ name: 'm_weight', type: 'number' },
{ name: 'price', type: 'string' },
{ name: 'price_agio', type: 'string' },
{ name: 'price_limit', type: 'string' },
{ name: 'amount', type: 'number' },
{ name: 'tax_amount', type: 'number' },
{ name: 'pay_amount', type: 'number' },
{ name: 'codename', type: 'string' },
{ name: 'boxcount', type: 'string' },
{ name: 'boxweight', type: 'string' },
{ name: 'exporter', type: 'string' },
{ name: 'FactoryNo', type: 'string' },
{ name: 'productiondate', type: 'string' },
{ name: 'prepayments', type: 'string' },
{ name: 'balance', type: 'number' },
{ name: 'pay_balance', type: 'number' },
{ name: 'baolv', type: 'string' },
{ name: 'tariff', type: 'string' },
{ name: 'tax', type: 'number' },
{ name: 'tax_zz', type: 'number' },
{ name: 'exchangerate', type: 'string' },
{ name: 'exchangerate_customs', type: 'string' },
{ name: 'tax_1', type: 'number' },
{ name: 'tax_zz_1', type: 'number' },
{ name: 'tax_2', type: 'number' },
{ name: 'tax_zz_2', type: 'number' },
{ name: 'TRADINGAGENCY', type: 'string' },
{ name: 'RMBAmount', type: 'number' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'ContractStatus', type: 'string' },
{ name: 'RCVMode', type: 'string' },
{ name: 'RCVModeREF', type: 'string' },
{ name: 'BilltypeREF', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'Sampling_needREF', type: 'string' },
{ name: 'ZMQ', type: 'string'}//标记量 自贸区
, { name: 'MZBZ', type: 'string'}//木质包装
, { name: 'MZBZREF', type: 'string'}//木质包装
, { name: 'RecDate', type: 'string'}//return empty containers date
, { name: 'PortDays', type: 'string'}//港口天数
, { name: 'BUZTYPEREF', type: 'string'}//业务类型 融资/进口贸易
, { name: 'DeliveryDate', type: 'string'}//送货时间
, { name: 'DeliveryAddress', type: 'string'}//送货时间
, { name: 'IsRongZi', type: 'string'}//业务内包含 融资款
, { name: 'SBYS', type: 'string'}//申报要素
, { name: 'CHECKSAMPLE', type: 'string' }
,{ name: 'InventoryState', type: 'string' }
, { name: 'InventoryStateRef', type: 'string' }
, { name: 'BILL_RECEIVE_DATE', type: 'string' }
, { name: 'BILL_SEND_DATE', type: 'string' }
, { name: 'BILLTRANCNO', type: 'string' }
, { name: 'Unsealdate', type: 'string'}//商检启封整改时间
, { name: 'ISREFORM', type: 'string'}//是否整改
, { name: 'TRADECOUNTRY', type: 'string' },
{ name: 'TRADECOUNTRY_REF', type: 'string' },
{ name: 'CIQDATE', type: 'string' },
{ name: 'VSIGN', type: 'string' }
, { name: 'ClearanceNo', type: 'string' },
{ name: 'preArrivalDate', type: 'date' },
{ name: 'RECEIVE_MAN', type: 'string' }
]
});
Ext.define('Enummb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'EnumValueId', type: 'string' },
{ name: 'EnumValueName', type: 'string' }
]
});
Ext.define('Import_Paymentmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'COMPANY', type: 'string' },
{ name: 'FEENAME', type: 'string' },
{ name: 'AMOUNT', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'BUYER', type: 'string' },
{ name: 'SELLER', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'PAYTIME', type: 'string' }
]
});
Ext.define('FactoryNomb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'CLIENTGID', type: 'string' },
{ name: 'FACTORYNO', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('CargoNamemb', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'CLIENTGID', type: 'string' },
{ name: 'ENNAME', type: 'string' },
{ name: 'CNNAME', type: 'string' },
{ name: 'HS_ID', type: 'string' },
{ name: 'CIQ_ID', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' },
{ name: 'HSREF', type: 'string' },
{ name: 'CIQREF', type: 'string' },
{ name: 'SBYS', type: 'string' },
{ name: 'CARGOTYPE', type: 'string' }
]
});
Ext.define('ReceiptDocmb', {
extend: 'Ext.data.Model',
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('MsFeeCurr', {
extend: 'Ext.data.Model',
idProperty: 'CURR',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'CURR', type: 'string' },
{ name: 'DEFRATE', type: 'number' }
]
});