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/MsKfJh/MsKfJhModel.js

54 lines
2.3 KiB
JavaScript

Ext.define('MsKfJhHead', {
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: 'BillType', type: 'string' },
{ name: 'BillType_Ref', type: 'string' },
{ name: 'CkCode', type: 'string' },
{ name: 'CkCode_Ref', type: 'string' },
{ name: 'CkName', type: 'string' },
{ name: 'JhDate', type: 'string' },
{ name: 'JhrCode', type: 'string' },
{ name: 'JhrCode_Ref', type: 'string' },
{ name: 'JhrName', type: 'string' },
{ name: 'JhCount', type: 'number' },
{ name: 'JhTotal', type: 'number' },
{ name: 'Remark', type: 'string' },
{ name: 'PluType', type: 'string' },
{ name: 'PluType_Ref', type: 'string' },
{ name: 'Supplier', type: 'string' },
{ name: 'Supplier_Ref', type: 'string' }
]
});
Ext.define('MsKfJhBody', {
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: 'JhCount', type: 'number' },
{ name: 'JhTotal', type: 'number' },
{ name: 'Remark', type: 'string' },
{ name: 'PcNo', type: 'string' },
{ name: 'TyreType', type: 'string' },
{ name: 'TyreType_Ref', type: 'string' }
]
});