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/TruckMng/Viewsjs/MsWlBulkPc/MsWlBulkPcModel.js

167 lines
7.0 KiB
JavaScript

2 years ago
Ext.define('MsWlPcHead', {
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: 'TruckNo', type: 'string' },
{ name: 'TruckNo_Ref', type: 'string' },
{ name: 'DrvCode', type: 'string' },
{ name: 'DrvName', type: 'string' },
{ name: 'DrvName_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: '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: 'TotalMil', type: 'number' },
{ name: 'TimeMark', type: 'number' },
{ name: 'PcBillType', type: 'string' },
{ name: 'OilticketNO', type: 'string' },
{ name: 'TransTotal', 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('MsWlBulkPound', {
extend: 'Ext.data.Model',
idProperty: 'BillNo,SerialNo',
fields: [
{ name: 'BillNo', type: 'string' },
{ name: 'SerialNo', type: 'number' },
{ name: 'BulkBillNo', type: 'string' },
{ name: 'BulkBillNo_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: 'PackSpec', type: 'string' },
{ name: 'DepartureDate', type: 'date' },
{ name: 'DepartureTime', 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: 'Weight', type: 'number' },
{ name: 'PayCustCode', type: 'string' },
{ name: 'PayCustCode_Ref', type: 'string' },
{ name: 'PayCustName', type: 'string' },
{ name: 'TransPrice', type: 'number' },
{ name: 'TransTotal', type: 'number' },
{ name: 'TruckNo', type: 'string' },
{ name: 'DrvName', type: 'string' },
{ name: 'WorkTime', type: 'string' },
{ name: 'UnLoadCount', type: 'number' },
{ name: 'RatedFuel', type: 'number' },
{ name: 'TonMil', type: 'number' },
{ name: 'HeapWeight', type: 'number' },
{ name: 'OneMil', type: 'number' }
]
});
Ext.define('MsWlBulkPoundRefMsWlBulkHead', {
extend: 'Ext.data.Model',
fields: [
{ name: 'BillNo', type: 'string' }
]
});
Ext.define('MsWlBulkQuery', {
extend: 'Ext.data.Model',
idProperty: 'GId',
fields: [
{ name: 'BillNo', type: 'string' },
{ name: 'TruckNo', type: 'string' },
{ name: 'DrvName', type: 'string' },
{ name: 'SerialNo', type: 'number' },
{ name: 'BulkBillNo', type: 'string' },
{ name: 'UserCode', type: 'string' },
{ name: 'UserName', type: 'string' },
{ name: 'OrgCode', type: 'string' },
{ name: 'OrgName', type: 'string' },
{ name: 'ExpDate', type: 'string' },
{ name: 'GId', type: 'string' },
{ name: 'CustName', type: 'string' },
{ name: 'ClsName', type: 'string' },
{ name: 'DepartureDate', type: 'date' },
{ name: 'DepartureTime', type: 'string' },
{ name: 'LoadPlace', type: 'string' },
{ name: 'UnLoadPlace', type: 'string' },
{ name: 'Vessel', 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: 'Weight', type: 'number' },
{ name: 'TransPrice', type: 'number' },
{ name: 'TransTotal', type: 'number' },
{ name: 'WorkTime', type: 'string' },
{ name: 'UnLoadCount', type: 'number' },
{ name: 'RatedFuel', type: 'number' },
{ name: 'TonMil', type: 'number' },
{ name: 'HeapWeight', type: 'number' },
{ name: 'OneMil', type: 'number' }
]
});