Ext.define('MsWlCkHead', { extend: 'Ext.data.Model', idProperty: 'BillNo', fields: [ { name: 'BillNo', type: 'string' }, { name: 'LrDate', type: 'date' }, { name: 'JzDate', type: 'date' }, { name: 'UserCode', type: 'string' }, { name: 'UserName', type: 'string' }, { name: 'TimeMark', type: 'number' }, { name: 'YwBillNo', type: 'string' }, { name: 'YwType', type: 'string' }, { name: 'YwType_Ref', type: 'string' }, { name: 'EtpCode', type: 'string' }, { name: 'EtpCode_Ref', type: 'string' }, { name: 'EtpName', type: 'string' }, { name: 'OrgCode', type: 'string' }, { name: 'OrgCode_Ref', type: 'string' }, { name: 'OrgName', type: 'string' }, { name: 'CkCount', type: 'number' }, { name: 'Remark', type: 'string' } ] }); Ext.define('MsWlCkBody', { extend: 'Ext.data.Model', idProperty: 'BillNo,SerialNo', fields: [ { name: 'BillNo', type: 'string' }, { name: 'SerialNo', type: 'number' }, { name: 'WlCode', type: 'string' }, { name: 'CwCode', type: 'string' }, { name: 'PluCode', type: 'string' }, { name: 'PluCode_Ref', type: 'string' }, { name: 'PluName', type: 'string' }, { name: 'Spec', type: 'string' }, { name: 'Weight', type: 'number' }, { name: 'Volume', type: 'string' }, { name: 'Unit', type: 'string' }, { name: 'PcNo', type: 'string' }, { name: 'CkCount', type: 'number' }, { name: 'Remark', type: 'string' } ] });