You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
define ( function ( require , exports , module ) {
//引入Server模块, Web与Server的通讯
let Service = require ( 'apps/rht/base/rhtService' ) ;
let prefix = 'cn.qdhezheng.rht.app.sys.sys010103.' ;
return {
//获取组织树信息
getOrgTree : function ( sOrgCode ) {
return Service . doPlugin ( prefix + 'getOrgTree' , {
orgcode : sOrgCode
} )
} ,
//获取日结项目
getRjItem : function ( sOrgCode ) {
return Service . doPlugin ( prefix + 'getRjItem' , {
orgcode : sOrgCode
} )
} ,
//结账
doOrgJZ : function ( sOrgCode , sOrgList , bIsOneTime , bIsChooseOne , sSelJZItem , dJzDate ) {
return Service . doPlugin ( prefix + 'doOrgJZ' , {
orgcode : sOrgCode ,
sorglist : sOrgList ,
bisonetime : bIsOneTime ,
bischooseone : bIsChooseOne ,
sseljzcode : sSelJZCode ,
sseljzname : sSelJZName ,
sseljzitem : sSelJZItem ,
djzdate : dJzDate
} )
} ,
//结账(异步)
doOrgJZAsync : function ( sOrgCode , sOrgList , bIsOneTime , bIsChooseOne , sSelJZCode , sSelJZName , sSelJZItem , dJzDate , callback ) {
return Service . doPluginAsync ( prefix + 'doOrgJZ' , {
orgcode : sOrgCode ,
sorglist : sOrgList ,
bisonetime : bIsOneTime ,
bischooseone : bIsChooseOne ,
sseljzcode : sSelJZCode ,
sseljzname : sSelJZName ,
sseljzitem : sSelJZItem ,
djzdate : dJzDate
} , callback ) ;
}
}
} ) ;