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.
63 lines
2.1 KiB
63 lines
2.1 KiB
4 years ago
|
define(function (require, exports, module) {
|
||
|
let Service = require('apps/rht/base/rhtService');
|
||
|
let prefix = 'cn.qdhezheng.rht.app.cnt.cnt070210.';
|
||
|
let prefixsyspub = 'cn.qdhezheng.rht.app.comm.plugins.sys.';
|
||
|
let prefixpubsysBaseBL = 'cn.qdhezheng.rht.app.comm.plugins.cnt.';
|
||
|
let preSkuBL = 'cn.qdhezheng.rht.app.comm.plugins.sku.';
|
||
|
|
||
|
return {
|
||
|
CntValid:function(htCode){
|
||
|
return Service.doPlugin(prefix + 'CntValid',{
|
||
|
htcode:htCode
|
||
|
})
|
||
|
},
|
||
|
GetCntEtp:function(htCode){
|
||
|
return Service.doPlugin(prefix + 'GetCntInfo',{
|
||
|
htcode:htCode
|
||
|
})
|
||
|
},
|
||
|
GetCntOutLay:function(htCode){
|
||
|
return Service.doPlugin(prefix + 'GetCntOutLay',{
|
||
|
htcode:htCode
|
||
|
})
|
||
|
},
|
||
|
GetCntKxRate:function(htCode){
|
||
|
return Service.doPlugin(prefix + 'GetCntKxRate',{
|
||
|
htcode:htCode
|
||
|
})
|
||
|
},
|
||
|
CheckCntOrgDepRightAll:function(checkType, userId, cntId, htCode, orgCode, depCode, params){
|
||
|
return Service.doPlugin(prefixpubsysBaseBL + 'CheckCntOrgDepRightAll',{
|
||
|
checktype:checkType,
|
||
|
userid:userId,
|
||
|
cntid:cntId,
|
||
|
htcode:htCode,
|
||
|
orgcode:orgCode,
|
||
|
depcode:depCode,
|
||
|
params:params
|
||
|
})
|
||
|
},
|
||
|
GetAccMonth:function(year, month){
|
||
|
return Service.doPlugin(prefix + 'GetAccMonth',{
|
||
|
year:year,
|
||
|
month:month
|
||
|
})
|
||
|
},
|
||
|
GetOutlayClauseInfo:function(cntId, itemCode, itemNo, usOrgCode, months){
|
||
|
return Service.doPlugin(prefix + 'GetOutlayClauseInfo',{
|
||
|
cntid:cntId,
|
||
|
itemcode:itemCode,
|
||
|
itemno:itemNo,
|
||
|
usorgcode:usOrgCode,
|
||
|
months:months
|
||
|
})
|
||
|
},
|
||
|
DoForchk:function(billNo){
|
||
|
return Service.doPlugin(prefix + 'DoForchk',{
|
||
|
billno:billNo
|
||
|
})
|
||
|
}
|
||
|
};
|
||
|
|
||
|
})
|