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.
289 lines
13 KiB
JavaScript
289 lines
13 KiB
JavaScript
Ext.define('MsWlBsHead', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'BillNo',
|
|
fields: [
|
|
{ name: 'BillNo', type: 'string' },
|
|
{ name: 'LrDate', type: 'string' },
|
|
{ name: 'JzDate', type: 'string' },
|
|
{ name: 'UserCode', type: 'string' },
|
|
{ name: 'UserName', type: 'string' },
|
|
{ name: 'OrgCode', type: 'string' },
|
|
{ name: 'OrgName', type: 'string' },
|
|
{ name: 'LogisticsNo', type: 'string' },
|
|
{ name: 'CustCode', type: 'string' },
|
|
{ name: 'CustName', type: 'string' },
|
|
{ name: 'CustName_Ref', type: 'string' },
|
|
{ name: 'CustDate', type: 'string' },
|
|
{ name: 'VoyVeg', type: 'string' },
|
|
{ name: 'VoyVeg_Ref', type: 'string' },
|
|
{ name: 'EtDate', type: 'string' },
|
|
{ name: 'EndPortDate', type: 'string' },
|
|
{ name: 'MblNo', type: 'string' },
|
|
{ name: 'SalesCode', type: 'string' },
|
|
{ name: 'SalesCode_Ref', type: 'string' },
|
|
{ name: 'SalesName', type: 'string' },
|
|
{ name: 'DispatchCode', type: 'string' },
|
|
{ name: 'DispatchCode_Ref', type: 'string' },
|
|
{ name: 'DispatchName', type: 'string' },
|
|
{ name: 'SendYardCode', type: 'string' },
|
|
{ name: 'SendYardCode_Ref', type: 'string' },
|
|
{ name: 'SendYardName', type: 'string' },
|
|
{ name: 'RtnYardCode', type: 'string' },
|
|
{ name: 'RtnYard', type: 'string' },
|
|
{ name: 'DstArea', type: 'string' },
|
|
{ name: 'DetiNation', type: 'string' },
|
|
{ name: 'DetiLinkTel', type: 'string' },
|
|
{ name: 'DetiLinkMan', type: 'string' },
|
|
{ name: 'BsType', type: 'string' },
|
|
{ name: 'BsType_Ref', type: 'string' },
|
|
{ name: 'Remark', type: 'string' },
|
|
{ name: 'BillStatus', type: 'string' },
|
|
{ name: 'BillStatus_Ref', type: 'string' },
|
|
{ name: 'FeeStatus', type: 'string' },
|
|
{ name: 'FeeStatus_Ref', type: 'string' },
|
|
{ name: 'TimeMark', type: 'number' },
|
|
{ name: 'GId', type: 'string' },
|
|
{ name: 'CustLikeManCode', type: 'string' },
|
|
{ name: 'CustLikeManName', type: 'string' },
|
|
{ name: 'CustTel', type: 'string' },
|
|
{ name: 'BillRises1', type: 'string' },
|
|
{ name: 'FeeOpStatus', type: 'string' },
|
|
{ name: 'FeeOpStatus_Ref', type: 'string' },
|
|
{ name: 'VoyVegSe', type: 'string' },
|
|
{ name: 'PKGS', type: 'number' },
|
|
{ name: 'KGS', type: 'number' },
|
|
{ name: 'CBM', type: 'number' },
|
|
{ name: 'PCPKGS', type: 'number' },
|
|
{ name: 'PCKGS', type: 'number' },
|
|
{ name: 'PCCBM', type: 'number' },
|
|
{ name: 'NPKGS', type: 'number' },
|
|
{ name: 'NKGS', type: 'number' },
|
|
{ name: 'NCBM', type: 'number' },
|
|
{ name: 'GoodsName', type:'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsWlBsFixed', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'BillNo,SerialNo',
|
|
fields: [
|
|
{ name: 'BillNo', type: 'string' },
|
|
{ name: 'SerialNo', type: 'number' },
|
|
{ name: 'CreditDebit', type: 'string' },
|
|
{ name: 'CreditDebit_Ref', type: 'string' },
|
|
{ name: 'FeeTypeCode', type: 'string' },
|
|
{ name: 'FeeTypeCode_Ref', type: 'string' },
|
|
{ name: 'FeeTypeName', type: 'string' },
|
|
{ name: 'DistCount', type: 'number' },
|
|
{ name: 'Price', type: 'number' },
|
|
{ name: 'FsTotal', type: 'number' },
|
|
{ name: 'JsTotal', type: 'number' },
|
|
{ name: 'Remark', type: 'string' },
|
|
{ name: 'GId', type: 'string' },
|
|
{ name: 'FeeStatus', type: 'number' },
|
|
{ name: 'FeeStatus_Ref', type: 'string' },
|
|
{ name: 'SubmitDate', type: 'date' },
|
|
{ name: 'Auditoperator', type: 'string' },
|
|
{ name: 'AuditDate', type: 'date' },
|
|
{ name: 'AuditStatus', type: 'number' },
|
|
{ name: 'NeadLoadDate', type: 'string' },
|
|
{ name: 'NeedArriveDate', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsWlPcHead', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'BillNo',
|
|
fields: [
|
|
{ name: 'BillNo', type: 'string' },
|
|
{ name: 'LrDate', type: 'date' },
|
|
{ name: 'JzDate', type: 'date' },
|
|
{ name: 'UserCode', type: 'string' },
|
|
{ name: 'UserName', type: 'string' },
|
|
{ name: 'OrgCode', type: 'string' },
|
|
{ name: 'OrgName', type: 'string' },
|
|
{ name: 'TruckNo', type: 'string' },
|
|
{ name: 'TruckNo_Ref', type: 'string' },
|
|
{ name: 'DrvCode', type: 'string' },
|
|
{ name: 'DrvName', type: 'string' },
|
|
{ name: 'DrvCode_Ref', type: 'string' },
|
|
{ name: 'Mobile', type: 'string' },
|
|
{ name: 'ExpDate', type: 'string' },
|
|
{ name: 'ContainerType', type: 'string' },
|
|
{ name: 'ContainerType_Ref', type: 'string' },
|
|
{ name: 'ContainerQty', type: 'number' },
|
|
{ name: 'VoyVeg', type: 'string' },
|
|
{ name: 'VoyVeg_Ref', type: 'string' },
|
|
{ name: 'EtDate', type: 'string' },
|
|
{ name: 'EndPortDate', type: 'string' },
|
|
{ name: 'MblNo', type: 'string' },
|
|
{ name: 'YardCode', type: 'string' },
|
|
{ name: 'YardCode_Ref', type: 'string' },
|
|
{ name: 'YardName', type: 'string' },
|
|
{ name: 'RtnYardCode', type: 'string' },
|
|
{ name: 'RtnYardCode_Ref', type: 'string' },
|
|
{ name: 'RtnYardName', type: 'string' },
|
|
{ name: 'DstArea', type: 'string' },
|
|
{ name: 'DetiNation', type: 'string' },
|
|
{ name: 'FactoryAddr', type: 'string' },
|
|
{ name: 'LinkTel', type: 'string' },
|
|
{ name: 'LinkMan', type: 'string' },
|
|
{ name: 'RatedMil', type: 'number' },
|
|
{ name: 'RatedFuel', type: 'number' },
|
|
{ name: 'FuelQty', type: 'number' },
|
|
{ name: 'RealMil', type: 'number' },
|
|
{ name: 'RealFuel', type: 'number' },
|
|
{ name: 'NoLoadMil', type: 'number' },
|
|
{ name: 'OverLoadMil', type: 'number' },
|
|
{ name: 'Ton', type: 'number' },
|
|
{ name: 'AroundTon', type: 'number' },
|
|
{ name: 'LoadCount', type: 'number' },
|
|
{ name: 'ArriveDate', type: 'string' },
|
|
{ name: 'DdCode', type: 'string' },
|
|
{ name: 'DdCode_Ref', type: 'string' },
|
|
{ name: 'DdName', type: 'string' },
|
|
{ name: 'ReturnDate', type: 'string' },
|
|
{ name: 'RefBillNo', type: 'string' },
|
|
{ name: 'Remark', type: 'string' },
|
|
{ name: 'IsDouble', type: 'boolean', convert: function (v) { return v === '1'; } },
|
|
{ name: 'RefBillNoSe', type: 'string' },
|
|
{ name: 'ContainerTypeSe', type: 'string' },
|
|
{ name: 'ContainerTypeSe_Ref', type: 'string' },
|
|
{ name: 'ContainerQtySe', type: 'number' },
|
|
{ name: 'MblNoSe', type: 'string' },
|
|
{ name: 'VoyVegSe', type: 'string' },
|
|
{ name: 'VoyVegSe_Ref', type: 'string' },
|
|
{ name: 'EtDateSe', type: 'string' },
|
|
{ name: 'EndPortDateSe', type: 'string' },
|
|
{ name: 'YardCodeSe', type: 'string' },
|
|
{ name: 'YardCodeSe_Ref', type: 'string' },
|
|
{ name: 'YardNameSe', type: 'string' },
|
|
{ name: 'DstAreaSe', type: 'string' },
|
|
{ name: 'FactoryAddrSe', type: 'string' },
|
|
{ name: 'DetiNationSe', type: 'string' },
|
|
{ name: 'LinkManSe', type: 'string' },
|
|
{ name: 'LinkTelSe', type: 'string' },
|
|
{ name: 'RtnYardCodeSe', type: 'string' },
|
|
{ name: 'RtnYardCodeSe_Ref', type: 'string' },
|
|
{ name: 'RtnYardNameSe', type: 'string' },
|
|
{ name: 'BillStatus', type: 'string' },
|
|
{ name: 'BillStatus_Ref', type: 'string' },
|
|
{ name: 'FeeStatus', type: 'string' },
|
|
{ name: 'FeeStatus_Ref', type: 'string' },
|
|
{ name: 'GId', type: 'string' },
|
|
{ name: 'TimeMark', type: 'number' },
|
|
{ name: 'RefCustomerName', type: 'string' },
|
|
{ name: 'LoadPlace', type: 'string' },
|
|
{ name: 'LoadFuel', type: 'number' },
|
|
{ name: 'NoLoadFuel', type: 'number' },
|
|
{ name: 'BsType', type: 'string' },
|
|
{ name: 'BsType_Ref', type: 'string' },
|
|
|
|
// { name: 'NeadLoadDate', type: 'string' },
|
|
// { name: 'NeedArriveDate', type: 'string' },
|
|
{ name: 'ArriveTime', type: 'string' },
|
|
{ name: 'ReturnTime', type: 'string' },
|
|
{ name: 'CustLikeManCode', type: 'string' },
|
|
{ name: 'CustLikeManName', type: 'string' },
|
|
{ name: 'CustTel', type: 'string' },
|
|
|
|
{ name: 'BillRises1', type: 'string' },
|
|
{ name: 'ChangedMil', type: 'number' },
|
|
{ name: 'ChangedFuel', type: 'number' },
|
|
{ name: 'ChangedReson', type: 'string' },
|
|
{ name: 'FeeOpStatus', type: 'string' },
|
|
{ name: 'FeeOpStatus_Ref', type: 'string' },
|
|
|
|
{ name: 'RunTimes', type: 'number' },
|
|
|
|
{ name: 'ContainerNo', type: 'string' },
|
|
{ name: 'SealNo', type: 'string' },
|
|
{ name: 'ContainerNoSe', type: 'string' },
|
|
{ name: 'SealNoSe', type: 'string' }
|
|
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('MsWlPcFixed', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GId',
|
|
fields: [
|
|
{ name: 'BillNo', type: 'string' },
|
|
{ name: 'SerialNo', type: 'number' },
|
|
{ name: 'CreditDebit', type: 'string' },
|
|
{ name: 'CreditDebit_Ref', type: 'string' },
|
|
{ name: 'FeeTypeCode', type: 'string' },
|
|
{ name: 'FeeTypeCode_Ref', type: 'string' },
|
|
{ name: 'FeeTypeName', type: 'string' },
|
|
{ name: 'DistCount', type: 'number' },
|
|
{ name: 'Price', type: 'number' },
|
|
{ name: 'FsTotal', type: 'number' },
|
|
{ name: 'JsTotal', type: 'number' },
|
|
{ name: 'Remark', type: 'string' },
|
|
{ name: 'GId', type: 'string' },
|
|
{ name: 'FeeStatus', type: 'number' },
|
|
{ name: 'FeeStatus_Ref', type: 'string' },
|
|
{ name: 'SubmitDate', type: 'date' },
|
|
{ name: 'Auditoperator', type: 'string' },
|
|
{ name: 'AuditDate', type: 'date' },
|
|
{ name: 'AuditStatus', type: 'number' }
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('MsWlBsCtn', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'BillNo,SerialNo',
|
|
fields: [
|
|
{ name: 'BillNo', type: 'string' },
|
|
{ name: 'SerialNo', type: 'number' },
|
|
{ name: 'ContainerType', type: 'string' },
|
|
{ name: 'ContainerType_Ref', type: 'string' },
|
|
{ name: 'ContainerQty', type: 'number' },
|
|
{ name: 'ContainerNo', type: 'string' },
|
|
{ name: 'PCQTY', type: 'number' },
|
|
{ name: 'NPCQTY', type: 'number' },
|
|
{ name: 'UNITPRICE', type: 'number' },
|
|
{ name: 'FREIGHT', type: 'number' }, // 件数
|
|
{ name: 'ORUNITPRICE', type: 'number' },
|
|
{ name: 'ORFREIGHT', type: 'number' }, // 件数
|
|
{ name: 'SealNo', type: 'string' }
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('MsWlBsHeadRefMsWlTruck', {
|
|
extend: 'Ext.data.Model',
|
|
fields: [
|
|
{ name: 'TruckNo', type: 'string' },
|
|
{ name: 'DrvCode', type: 'string' },
|
|
{ name: 'Mobile', type: 'string' }
|
|
]
|
|
});
|
|
Ext.define('MsWlBsHeadRefMsWlDriver', {
|
|
extend: 'Ext.data.Model',
|
|
fields: [
|
|
{ name: 'DrvCode', type: 'string' },
|
|
{ name: 'DrvName', type: 'string' },
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
{ name: 'Mobile', type: 'string'}
|
|
]
|
|
});
|
|
|
|
Ext.define('MsWlBsHeadRefMsContainers', {
|
|
extend: 'Ext.data.Model',
|
|
fields: [
|
|
{ name: 'ContainerNo', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsWlBsHeadRefMsSeals', {
|
|
extend: 'Ext.data.Model',
|
|
fields: [
|
|
{ name: 'ContainerNo', type: 'string' },
|
|
{ name: 'SealNo', type: 'string' }
|
|
]
|
|
});
|
|
|