|
|
|
|
Ext.define('SysBillNoSet', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'OPLBNAME', type: 'string' },
|
|
|
|
|
{ name: 'BILLTYPE', type: 'string' },
|
|
|
|
|
{ name: 'BILLTYPEREF', type: 'string' },
|
|
|
|
|
{ name: 'RULEBLNO', type: 'string' },
|
|
|
|
|
{ name: 'RULEDATETYPE', type: 'string' },
|
|
|
|
|
{ name: 'ISEDIT', type: 'string' },
|
|
|
|
|
{ name: 'ISAUTO', type: 'string' },
|
|
|
|
|
{ name: 'CUSTOMHEAD', type: 'string' },
|
|
|
|
|
{ name: 'COMPANYID', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('SysBillType', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'BillCode', type: 'string' },
|
|
|
|
|
{ name: 'BillName', type: 'string' },
|
|
|
|
|
{ name: 'BillGrp', type: 'string' },
|
|
|
|
|
{ name: 'IsRule', type: 'string' },
|
|
|
|
|
{ name: 'NoLength', type: 'number' },
|
|
|
|
|
{ name: 'SerialLen', type: 'number' },
|
|
|
|
|
{ name: 'IsPrefix', type: 'string' },
|
|
|
|
|
{ name: 'PrefixLen', type: 'number' },
|
|
|
|
|
{ name: 'PrefixNo', type: 'string' },
|
|
|
|
|
{ name: 'IsDate', type: 'string' },
|
|
|
|
|
{ name: 'DateFmt', type: 'string' },
|
|
|
|
|
{ name: 'YearNo', type: 'string' },
|
|
|
|
|
{ name: 'MonthNo', type: 'string' },
|
|
|
|
|
{ name: 'DayNo', type: 'string' },
|
|
|
|
|
{ name: 'MaxSerial', type: 'number' },
|
|
|
|
|
{ name: 'BillHeadTbl', type: 'string' },
|
|
|
|
|
{ name: 'IsOrgPrefix', type: 'string' },
|
|
|
|
|
{ name: 'IsEmpPrefix', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|