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/TruckMng/Viewsjs/MsWlDjPc/MsWlDjPcModel.js

160 lines
6.5 KiB
JavaScript

3 years ago
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: '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: '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: 'ArriveTime', type: 'string' },
{ name: 'ReturnTime', 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: 'TotalMil', type: 'number' },
{ name: 'RunTimes', type: 'number' },
{ name: 'TransTotal', type: 'number' }
]
});
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('MsWlPcHeadRefMsWlTruck', {
extend: 'Ext.data.Model',
fields: [
{ name: 'TruckNo', type: 'string' },
{ name: 'DrvCode', type: 'string' },
{ name: 'Mobile', type: 'string' }
]
});
Ext.define('MsWlPcHeadRefMsWlDriver', {
extend: 'Ext.data.Model',
fields: [
{ name: 'DrvCode', type: 'string' },
{ name: 'DrvName', type: 'string' },
{ name: 'CodeAndName', type: 'string' }
]
});
Ext.define('MsWlDjPound', {
extend: 'Ext.data.Model',
idProperty: 'BillNo,SerialNo',
fields: [
{ name: 'BillNo', type: 'string' },
{ name: 'SerialNo', type: 'number' },
{ name: 'DjBillNo', type: 'string' },
{ name: 'DjBillNo_Ref', type: 'string' },
{ name: 'GId', type: 'string' },
{ name: 'CustCode', type: 'string' },
{ name: 'CustCode_Ref', type: 'string' },
{ name: 'CustName', type: 'string' },
{ name: 'ClsName', type: 'string' },
{ name: 'DepartureDate', type: 'string' },
{ name: 'LoadPlace', type: 'string' },
{ name: 'UnLoadPlace', type: 'string' },
{ name: 'PlanOverLoadMil', type: 'number' },
{ name: 'PlanNoLoadMil', type: 'number' },
{ name: 'PlanLoadCount', type: 'number' },
{ name: 'OverLoadMil', type: 'number' },
{ name: 'NoLoadMil', type: 'number' },
{ name: 'LoadCount', type: 'number' },
{ name: 'PNum', type: 'number' },
{ name: 'PKgs', type: 'number' },
{ name: 'Weight', type: 'number' },
{ name: 'RatedFuel', type: 'number' },
{ name: 'RealFuel', type: 'number' },
{ name: 'TonMil', type: 'number' },
{ name: 'WorkTime', type: 'string' }
]
});
Ext.define('MsWlDjPoundRefMsWlDjHead', {
extend: 'Ext.data.Model',
fields: [
{ name: 'BillNo', type: 'string' }
]
});