|
|
|
|
Ext.define('MsKfLyHead', {
|
|
|
|
|
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: 'BillType', type: 'string' },
|
|
|
|
|
{ name: 'BillType_Ref', type: 'string' },
|
|
|
|
|
{ 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: 'LyDate', type: 'string' },
|
|
|
|
|
{ name: 'LyrCode', type: 'string' },
|
|
|
|
|
{ name: 'LyrCode_Ref', type: 'string' },
|
|
|
|
|
{ name: 'LyrName', type: 'string' },
|
|
|
|
|
{ name: 'LyCount', type: 'number' },
|
|
|
|
|
{ name: 'TruckNo', type: 'string' },
|
|
|
|
|
{ name: 'TruckNo_Ref', type: 'string' },
|
|
|
|
|
{ name: 'Remark', type: 'string' },
|
|
|
|
|
{ name: 'PluType', type: 'string' },
|
|
|
|
|
{ name: 'PluType_Ref', type: 'string' },
|
|
|
|
|
{ name: 'WxBillNo', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('MsKfLyHeadRefMsWlTruck', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'TruckNo', type: 'string' },
|
|
|
|
|
{ name: 'TruckSpec', type: 'string' },
|
|
|
|
|
{ name: 'CodeAndName', type: 'string' }
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ext.define('MsKfLyBody', {
|
|
|
|
|
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: 'Unit', type: 'string' },
|
|
|
|
|
{ name: 'Price', type: 'number' },
|
|
|
|
|
{ name: 'LyCount', type: 'number' },
|
|
|
|
|
{ name: 'Remark', type: 'string' },
|
|
|
|
|
{ name: 'PcNo', type: 'string' },
|
|
|
|
|
{ name: 'TyreType', type: 'string' },
|
|
|
|
|
{ name: 'PlanMil', type: 'number' },
|
|
|
|
|
{ name: 'TyreType_Ref', type: 'string' },
|
|
|
|
|
{ name: 'TyrePos', type: 'string' },
|
|
|
|
|
{ name: 'TyrePos_Ref', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('MsKflyJhinfo', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'PcNo',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'PcNo', type: 'string' },
|
|
|
|
|
{ name: 'Price', type: 'number' }
|
|
|
|
|
]
|
|
|
|
|
});
|