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.
DS7/DSWeb/Areas/MvcShipping/Viewsjs/MsCwDesignGl/MsCwDesignGlModel.js

116 lines
6.3 KiB
JavaScript

2 years ago
Ext.define('MsCwDesignGlModel', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //唯一编码
{name: 'FSOFTCODE', type: 'int' }, //财务软件编码
{name: 'TVW', type: 'string' }, //转帐凭证字
{name: 'BPVW', type: 'string' }, //银行付款凭证字
{name: 'BRTW', type: 'string' }, //银行收款凭证字
{name: 'TVWFC', type: 'string' }, //外币转帐凭证字
{name: 'BPVWFC', type: 'string' }, //银行外币付款凭证字
{name: 'BRTWFC', type: 'string' }, //银行外币收款凭证字
//{name: 'ISTCOIIED', type: 'bool' }, //收入成本是否核算美元
//{name: 'ISUAPGE', type: 'bool' }, //使用核算项目生成分录
{name: 'AMCODE', type: 'int' }, //核算办法
//{name: 'ISATTNOTCVVGV', type: 'bool' }, //根据船名航次生成凭证
//{name: 'ISATBGV', type: 'bool' }, //根据帐单生成凭证
{name: 'ISCTGCIC', type: 'bool' }, //合并生成成本收入凭证
{name: 'ISMGSC', type: 'bool' }, //合并生成结算凭证
{name: 'ISSTLCR', type: 'bool' }, //结算凭证生成成本分录
{ name: 'ISSTLDATE', type: 'bool' }, //结算日期为凭证日期
{ name: 'ISINVRATESELF', type: 'bool' }, //结算日期为凭证日期
{ name: 'ISINVEXPLANONRATE', type: 'bool' }, //结算日期为凭证日期
{ name: 'ISSALECORP', type: 'bool' }, //结算日期为凭证日期
{ name: 'ISRPSTLDATE', type: 'bool' }, //结算日期为凭证日期
{ name: 'ISSTBANKGROUP', type: 'bool' }, //凭证禁止修改
{ name: 'ISVBM', type: 'bool' }, //凭证禁止修改
{name: 'ISFILLSERIALNO', type: 'bool' }, //是否在生成凭证号时补号
{name: 'ISMBINCOME', type: 'bool' }, //是否合并生成成本收入凭证中的主营业务科目
{name: 'ISCLIENTNAME', type: 'bool' }, //是否客户名称
{name: 'ISCUSTNO', type: 'bool' }, //是否委托编号
{name: 'ISMBLNO', type: 'bool' }, //是否主提单号
//{name: 'ISBILLNO', type: 'bool' }, //ISBILLNO
{name: 'ISVESSEL', type: 'bool' }, //是否船名
{name: 'ISVOYNO', type: 'bool' }, //是否航次
{name: 'ISRPCLIENTNAME', type: 'bool' }, //是否收付客户名称
{name: 'ISRPCUSTNO', type: 'bool' }, //是否收付委托编号
{name: 'ISRPMBLNO', type: 'bool' }, //是否收付主提单号
{name: 'ISRPVESSEL', type: 'bool' }, //是否收付船名
{name: 'ISRPVOYNO', type: 'bool' }, //是否收付航次
{name: 'ISRPBILLNO', type: 'bool' }, //是否收付结算单号
{name: 'ISRPBILLNO_ACAD', type: 'bool' }, //是否收付申请单号
{name: 'ISADVANCE', type: 'bool' }, //是否按照预收预付生成凭证
{name: 'ISSTLEGOL', type: 'bool' }, //结算生成损益
{name: 'ISRATESET', type: 'bool' }, //是否默认系统设置汇率
{name: 'AR', type: 'string' }, //应收账款
{name: 'ARFC', type: 'string' }, //应收账款外币
{name: 'AP', type: 'string' }, //应付账款
{name: 'APFC', type: 'string' }, //应付账款外币
{name: 'FC', type: 'string' }, //财务费用
{name: 'MBINCOME', type: 'string' }, //主营业务收入
{name: 'MBSPENDING', type: 'string' }, //主营业务支出
{name: 'TMFCI', type: 'string' }, //主营收入外币
{name: 'TMSFC', type: 'string' }, //主营支出外币
//{name: 'OTHERR', type: 'string' }, //其他应收
//{name: 'OTHERP', type: 'string' }, //其他应付
{name: 'EGOL', type: 'string' }, //汇兑损益
{name: 'CASH', type: 'string' }, //现金科目
{name: 'OUTPUTTAX', type: 'string' }, //销项税科目
{name: 'INPUTTAX', type: 'string' }, //进项税科目
{name: 'DR', type: 'string' }, //DR
{name: 'DRFC', type: 'string' }, //DRFC
{name: 'CR', type: 'string' }, //CR
{name: 'CRFC', type: 'string' }, //CRFC
{ name: 'DREXPLAN', type: 'string' }, //CRFC
{ name: 'CREXPLAN', type: 'string' }, //CRFC
{ name: 'STLDREXPLAN', type: 'string' }, //CRFC
{ name: 'STLCREXPLAN', type: 'string' }, //CRFC
{ name: 'MBINCOMEEXPLAN', type: 'string' }, //CRFC
{ name: 'MBSPENDINGEXPLAN', type: 'string' }, //CRFC
{ name: 'INVDREXPLAN', type: 'string' }, //CRFC
{ name: 'INVCREXPLAN', type: 'string' }, //CRFC
{ name: 'INVMBINCOMEEXPLAN', type: 'string' }, //CRFC
{ name: 'INVMBSPENDINGEXPLAN', type: 'string' }, //CRFC
{name: 'ISAPMBSPENDING', type: 'bool' }, //ISAPMBSPENDING
{name: 'APMBSPENDING', type: 'string' }, //APMBSPENDING
{name: 'ISAPTMSFC', type: 'bool' }, //ISAPTMSFC
{name: 'APTMSFC', type: 'string' }, //APTMSFC
{name: 'CORPID', type: 'string' }, //CORPID
{name: 'MODIFIEDUSER', type: 'string' }, //最后一次更新操作人
{name: 'MODIFIEDTIME', type: 'DateTime' }, //最后一次更新操作时间
{name: 'MODIFIEDUSERNAME', type: 'string' }, //最后一次更新操作人
{name: 'ISARMBSPENDING', type: 'bool' }, //ISARMBSPENDING
{name: 'ARMBSPENDING', type: 'string' }, //ARMBSPENDING
{name: 'ISARTMSFC', type: 'bool' }, //ISARTMSFC
{name: 'ARTMSFC', type: 'string' }, //ARTMSFC
{name: 'ISSETTLEMENTSOPEN', type: 'bool' }, //是否在结算自动生成凭证时自动弹出结算凭证
2 years ago
{ name: 'ISSTLEXCHANGERATEISVAR', type: 'bool' }, //是否在结算自动生成凭证时自动弹出结算凭证
{ name: 'ISSTLDRCRISGROUP', type: 'bool' }, //结算凭证应收应付账款合并
{ name: 'ISINVAMOUNTASSUM', type: 'bool' }, //销项发票根据开票金额生成凭证
2 years ago
{ name: 'ISSTLVOUBILLGROUP', type: 'bool' }, //结算凭证按照结算单号分组排序
2 years ago
2 years ago
{name: 'STARTGID', type: 'string' }, //总账已启用已登录账套GID
{name: 'PiaoHao', type: 'string'},
{name: 'PiaoHaoRP', type: 'string'},
{name: 'ISMERGEBANK', type: 'bool'} //是否合并生成结算凭证中的银行科目
]
});
Ext.define('MsCwDesignGlItemModel', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //唯一编码
{name: 'LINKGID', type: 'string' }, //关联GID
{name: 'ITEMGID', type: 'string' }, //项目GID
{name: 'OPTYPE', type: 'string' }, //业务类型
{name: 'MODIFIEDUSER', type: 'string' }, //更改操作人gid
//{name: 'MODIFIEDTIME', type: 'DateTime' }, //更改操作时间
{name: 'MODIFIEDUSERNAME', type: 'string' }, //最后一次更新操作人
{name: 'ITEMCODE', type: 'string' },
{name: 'ITEMNAME', type: 'string' }
]
});