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/MsWlDj/MsWlDjModel.js

90 lines
4.0 KiB
JavaScript

3 years ago
Ext.define('MsWlDjHead', {
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: 'YwType', type: 'string' },
{ name: 'TimeMark', type: 'number' },
{ name: 'GId', type: 'string' },
{ name: 'SalesCode', type: 'string' },
{ name: 'SalesCode_Ref', type: 'string' },
{ name: 'SalesName', type: 'string' },
{ name: 'CustCode', type: 'string' },
{ name: 'CustCode_Ref', type: 'string' },
{ name: 'CustName', type: 'string' },
{ name: 'CustDate', type: 'string' },
{ name: 'NeedLoadDate', type: 'string' },
{ name: 'NeedArriveDate', type: 'string' },
{ name: 'ClsName', type: 'string' },
{ name: 'PNum', type: 'number' },
{ name: 'PKgs', type: 'number' },
{ name: 'Weight', type: 'number' },
{ name: 'Length', type: 'number' },
{ name: 'Wide', type: 'number' },
{ name: 'Height', type: 'number' },
{ name: 'InsureTotal', type: 'number' },
{ name: 'SedArea', type: 'string' },
{ name: 'SedNation', type: 'string' },
{ name: 'DstArea', type: 'string' },
{ name: 'DetNation', type: 'string' },
{ name: 'BillStatus', type: 'string' },
{ name: 'BillStatus_Ref', type: 'string' },
{ name: 'FeeStatus', type: 'string' },
{ name: 'FeeStatus_Ref', type: 'string' },
{ name: 'FeeOpStatus', type: 'string' },
{ name: 'FeeOpStatus_Ref', type: 'string' },
{ name: 'OneMil', type: 'number' },
{ name: 'OverPNum', type: 'number' },
{ name: 'Remark', type: 'string' }
]
});
Ext.define('MsWlDjPoundView', {
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' },
{ 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' }
]
});