Ext.define('MsCwVouitemsGlModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ {name: 'GID', type: 'string' }, //唯一编码 {name: 'ORDNO', type: 'string' }, //关联cw_vouchers { name: 'COPYORDNO', type: 'string' }, //关联cw_vouchers { name: 'ITEMNO', type: 'int' }, //行号 {name: 'ACCID', type: 'string' }, //科目代码 //{name: 'PACCID', type: 'string' }, //父级科目代码 {name: 'ACCNAME', type: 'string' }, //科目名称 //{name: 'PROPERTY', type: 'int' }, //科目属性 //{name: 'GRADE', type: 'int' }, //科目级别 {name: 'DC', type: 'string' }, //科目借贷方向 {name: 'AMTDR', type: 'decimal' }, //本位币借方金额(互斥) {name: 'AMTCR', type: 'decimal' }, //本位币贷方金额(互斥) //{name: 'ISFCY', type: 'bool' }, //是否外币 {name: 'FCYNO', type: 'string' }, //外币编号usd {name: 'FCYEXRATE', type: 'decimal' }, //汇率 //{name: 'FCYDR', type: 'decimal' }, //外币借方金额 //{name: 'FCYCR', type: 'decimal' }, //外币贷方金额 //{name: 'QTYUNIT', type: 'string' }, //数量包装单位 //{name: 'QTYDR', type: 'decimal' }, //借方数量 //{name: 'QTYCR', type: 'decimal' }, //贷方数量 {name: 'EXPLAN', type: 'string' }, //摘要,规则生成 //{name: 'ISDEPTACC', type: 'bool' }, //核算部门,按规则设置生成 //{name: 'ISEMPLACC', type: 'bool' }, //核算人员,按规则设置生成 //{name: 'ISCORPACC', type: 'bool' }, //核算客户,按规则设置生成 //{name: 'ISITEMACC', type: 'bool' }, //核算项目,按规则设置生成 {name: 'DEPTID', type: 'string' }, //部门(系统) {name: 'EMPLID', type: 'string' }, //人员(系统) {name: 'CORPID', type: 'string' }, //客户(系统) //{name: 'PITEMID', type: 'int' }, //父级项目编号 {name: 'ITEMID', type: 'string' }, //项目编号 //{name: 'FIELD10', type: 'string' }, //预留字段1 //{name: 'FIELD9', type: 'string' }, //预留字段1 //{name: 'FIELD8', type: 'string' }, //预留字段1 //{name: 'FIELD7', type: 'string' }, //预留字段1 //{name: 'FIELD6', type: 'string' }, //预留字段1 //{name: 'FIELD5', type: 'string' }, //预留字段1 //{name: 'FIELD4', type: 'string' }, //预留字段1 //{name: 'FIELD3', type: 'string' }, //预留字段1 //{name: 'FIELD2', type: 'string' }, //预留字段1 //{name: 'FIELD1', type: 'string' }, //预留字段1 //{name: 'ISSYS', type: 'bool' }, //是否手动录入 {name: 'FSETTLCODE', type: 'string' }, //结算方式 {name: 'FSETTLENO', type: 'string' }, //财务辅助编号 //{name: 'FSETTLDATE', type: 'string' }, //结算日期 //{name: 'MODIFIEDUSER', type: 'string' }, //最后一次更新操作人 //{name: 'MODIFIEDTIME', type: 'DateTime' }, //最后一次更新操作时间 { name: 'ISCOPY', type: 'bool' }, //是否审核 { name: 'ISAUTO', type: 'bool' }, //是否审核 { name: 'ISAUTOSTR', type: 'string' }, //是否审核 {name: 'CUSTOMERNAME', type: 'string' }, //CUSTOMERNAME {name: 'SALE', type: 'string' }, {name: 'BLNO', type: 'string' }, {name: 'ITEMGID', type: 'string' }, {name: 'DEPTGID', type: 'string' }, {name: 'ACCALL', type: 'string' }, {name: 'FCYAMT', type: 'decimal' } ] }); Ext.define('MsCwVVModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ {name: 'GID', type: 'string' }, //唯一编码 //{name: 'VOUNO', type: 'string' }, //自动生成编号,月初清零 {name: 'VOUNO', type: 'int' }, //自动生成编号,月初清零 {name: 'VKNO', type: 'string' }, //凭证字 {name: 'VOUDATE', type: 'string' }, //凭证日期 {name: 'EXPLAN', type: 'string' }, //摘要,规则生成 {name: 'ACCALL', type: 'string' }, { name: 'ACCID', type: 'string' }, {name: 'AMTDR', type: 'decimal' }, //本位币借方 {name: 'AMTCR', type: 'decimal' }, //本位币贷方 {name: 'FCYDR', type: 'decimal' }, //外币借方 {name: 'FCYCR', type: 'decimal' }, //外币贷方 {name: 'QTYDR', type: 'decimal' }, //综合本位币借方 {name: 'QTYCR', type: 'decimal' }, //综合本位币贷方 {name: 'PREPARED', type: 'string' }, //制单人 {name: 'VOUALLNO', type: 'string' }, //年+月+自动生成编号=凭证号 {name: 'ISEXPORT', type: 'bool'}, //是否导出凭证 {name: 'ORDNO', type: 'string' }, //唯一编码GID { name: 'COPYORDNO', type: 'string' }, //唯一编码GID { name: 'BLNO', type: 'string' }, //唯一编码GID { name: 'CHECKED', type: 'string' }, //审核人GID {name: 'ISCHECKED', type: 'bool' }, //是否审核 { name: 'ISCOPY', type: 'bool' }, //是否审核 { name: 'ISAUTO', type: 'bool' }, //是否审核 { name: 'ISAUTOSTR', type: 'string' }, //是否审核 { name: 'CREATETIME', type: 'DateTime' }, //审核时间 { name: 'CHECKEDTIME', type: 'DateTime' }, //审核时间 {name: 'MODIFIEDUSERNAME', type: 'string' }, {name: 'ATTACHS', type: 'string' }, ] }); Ext.define('ReceiptDocmb', { extend: 'Ext.data.Model', idProperty: 'FieldName', fields: [ { name: 'GID', type: 'string' }, { name: 'RECEIPTTYPE', type: 'string' }, { name: 'R_GID', type: 'string' }, { name: 'BSNO', type: 'string' }, { name: 'URL', type: 'string' }, { name: 'Driect_URL', type: 'string' }, { name: 'MODIFIEDUSER', type: 'string' }, { name: 'MODIFIEDUSERRef', type: 'string' }, { name: 'MODIFIEDTIME', type: 'string' } ] });