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/MsKfLy/MsKfLyModel.js

86 lines
3.3 KiB
JavaScript

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('MsPriceJxCount', {
extend: 'Ext.data.Model',
idProperty: 'PriceAndJxCount',
fields: [
{ name: 'PriceAndJxCount', type: 'string' },
{ name: 'PluCode', type: 'string' },
{ name: 'Price', type: 'number' },
{ name: 'JxCount', type: 'number' }
]
});
Ext.define('MsPrice', {
extend: 'Ext.data.Model',
idProperty: 'Price',
fields: [
{ name: 'Price', type: 'number' },
]
});
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: 'PriceJxCount', type: 'string' },
{ name: 'Price', type: 'number' },
{ name: 'LyCount', type: 'number' },
{ name: 'LyTotal', type: 'number' },
{ name: 'Remark', type: 'string' },
{ name: 'PcNo', type: 'string' },
{ name: 'TyreType', type: 'string' },
{ name: 'TyreType_Ref', type: 'string' },
{ name: 'TyrePos', type: 'string' },
{ name: 'TyrePos_Ref', type: 'string' }
]
});