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.

74 lines
3.1 KiB
JavaScript

Ext.define('MsCodeFeeTemplate', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'OPTYPE', type: 'number' },
{ name: 'FEETYPE', type: 'number' },
{ name: 'OPTYPEREF', type: 'string' },
{ name: 'FEETYPEREF', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATEUSERREF', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'BGNDATE', type: 'string' },
{ name: 'ENDDATE', type: 'string' },
{ name: 'ISPUBLIC', type: 'string' },
{ name: 'ISSTOP', type: 'string' },
{ name: 'ISDEF', type: 'string' },
{ name: 'FEEGROUP', type: 'string' },
{ name: 'CLASS', type: 'number' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('MsCodeFeeTemplateDetail', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'TEMPLATEID', type: 'string' },
{ name: 'FEECODE', type: 'string' },
{ name: 'FEENAME', type: 'string' },
{ name: 'FEEDESCRIPTION', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'CLIENT', type: 'string' },
{ name: 'CLIENTREF', type: 'string' },
{ name: 'UNIT', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'UNITPRICE', type: 'number' },
{ name: 'TAXUNITPRICE', type: 'number' },
{ name: 'SORT', type: 'number' },
{ name: 'EXCHANGERATE', type: 'number' },
{ name: 'TAXRATE', type: 'number' },
{ name: 'TAX', type: 'number' },
{ name: 'ACCTAXRATE', type: 'number' },
{ name: 'FEEFRT', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'SALECORP', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'UNITPRICEDESCRPTION', type: 'string' },
{ name: 'ISCTNREF', type: 'string' },
{ name: 'ISCTN', type: 'bool' },
{ name: 'ISINVOICE', type: 'bool' },
{ name: 'ISADVANCEDPAY', type: 'bool' }
]
});
Ext.define('MsCodeFeeTemplateCondit', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'TEMPLATEID', type: 'string' },
{ name: 'FIELDNAME', type: 'string' },
{ name: 'FIELDCNAME', type: 'string' },
{ name: 'FIELDTYPE', type: 'string' },
{ name: 'FIELDCONDIT', type: 'string' },
{ name: 'FIELDVALUE', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' }
]
});