|
|
|
|
Ext.define('MsWlRkHead', {
|
|
|
|
|
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: 'EtpName', type: 'string' },
|
|
|
|
|
{ name: 'OrgCode', type: 'string' },
|
|
|
|
|
{ name: 'OrgName', type: 'string' },
|
|
|
|
|
{ name: 'RkCount', type: 'number' },
|
|
|
|
|
{ name: 'Remark', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('MsWlRkBody', {
|
|
|
|
|
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: 'RkCount', type: 'number' },
|
|
|
|
|
{ name: 'Remark', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|