|
|
|
|
Ext.define('MsWlTyreRepHead', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'BillNo',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'BillNo', type: 'string' },
|
|
|
|
|
{ name: 'LrDate', type: 'string' },
|
|
|
|
|
{ name: 'JzDate', type: 'string' },
|
|
|
|
|
{ name: 'UserCode', type: 'string' },
|
|
|
|
|
{ name: 'UserCode_Ref', type: 'string' },
|
|
|
|
|
{ name: 'UserName', type: 'string' },
|
|
|
|
|
{ name: 'TimeMark', type: 'number' },
|
|
|
|
|
{ name: 'OrgCode', type: 'string' },
|
|
|
|
|
{ name: 'OrgCode_Ref', type: 'string' },
|
|
|
|
|
{ name: 'OrgName', type: 'string' },
|
|
|
|
|
{ name: 'CkCode', type: 'string' },
|
|
|
|
|
{ name: 'CkCode_Ref', type: 'string' },
|
|
|
|
|
{ name: 'CkName', type: 'string' },
|
|
|
|
|
{ name: 'TruckNo', type: 'string' },
|
|
|
|
|
{ name: 'TruckNo_Ref', type: 'string' },
|
|
|
|
|
{ name: 'RepDate', type: 'string' },
|
|
|
|
|
{ name: 'RepCode', type: 'string' },
|
|
|
|
|
{ name: 'RepCode_Ref', type: 'string' },
|
|
|
|
|
{ name: 'RepName', type: 'string' },
|
|
|
|
|
{ name: 'Remark', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('MsWlTyreRepHeadRefMsWlTruck', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'TruckNo', type: 'string' },
|
|
|
|
|
{ name: 'TruckSpec', type: 'string' },
|
|
|
|
|
{ name: 'CodeAndName', type: 'string' }
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ext.define('MsWlTyreRepBody', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'BillNo,SerialNo',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'BillNo', type: 'string' },
|
|
|
|
|
{ name: 'SerialNo', type: 'number' },
|
|
|
|
|
{ name: 'PluCode', type: 'string' },
|
|
|
|
|
{ name: 'PluCode_Ref', type: 'string' },
|
|
|
|
|
{ name: 'PluName', type: 'string' },
|
|
|
|
|
{ name: 'Spec', type: 'string' },
|
|
|
|
|
{ name: 'PcNo', type: 'string' },
|
|
|
|
|
{ name: 'TyreType', type: 'string' },
|
|
|
|
|
{ name: 'TyreType_Ref', type: 'string' },
|
|
|
|
|
{ name: 'TyrePos', type: 'string' },
|
|
|
|
|
{ name: 'TyrePos_Ref', type: 'string' },
|
|
|
|
|
{ name: 'NewPluCode', type: 'string' },
|
|
|
|
|
{ name: 'NewPluCode_Ref', type: 'string' },
|
|
|
|
|
{ name: 'NewPluName', type: 'string' },
|
|
|
|
|
{ name: 'NewSpec', type: 'string' },
|
|
|
|
|
{ name: 'NewPcNo', type: 'string' },
|
|
|
|
|
{ name: 'TyreStatus', type: 'string' },
|
|
|
|
|
{ name: 'TyreStatus_Ref', type: 'string' },
|
|
|
|
|
{ name: 'RealMil', type: 'number',defaultValue: 0 },
|
|
|
|
|
{ name: 'PlanMil', type: 'number', defaultValue: 0 },
|
|
|
|
|
{ name: 'NewTyreType', type: 'string' },
|
|
|
|
|
{ name: 'NewTyreType_Ref', type: 'string' },
|
|
|
|
|
{ name: 'Remark', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|