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.
39 lines
1.3 KiB
39 lines
1.3 KiB
4 years ago
|
define(function (require, exports, module) {
|
||
|
let Service = require('apps/rht/base/rhtService');
|
||
|
let prefix = 'cn.qdhezheng.rht.app.cnt.cnt070202.';
|
||
|
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 {
|
||
|
GetCntInfo:function(htCode){
|
||
|
return Service.doPlugin(prefix + 'GetCntInfo',{
|
||
|
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
|
||
|
})
|
||
|
},
|
||
|
DoAccount:function(billNo, ywType){
|
||
|
return Service.doPlugin(prefixpubsysBaseBL + 'CntCommBillAccount',{
|
||
|
billno:billNo,
|
||
|
ywtype:ywType
|
||
|
})
|
||
|
},
|
||
|
DoForchk:function(billNo){
|
||
|
return Service.doPlugin(prefix + 'DoForchk',{
|
||
|
billno:billNo
|
||
|
})
|
||
|
}
|
||
|
};
|
||
|
|
||
|
})
|