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.

45 lines
1.6 KiB

This file contains ambiguous Unicode characters!

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.sys010101.';
return {
//bas001service的BeforeAdd方法调用Server端名为BeforeAdd类
//获取日结汇总列表的最大序号
//获取仓库类型
getOrgType:function(OrgCode){
return Service.doPlugin(prefix + 'getOrgType',{
orgcode:OrgCode
})
},
checkOrg:function(zbOrgCode,orgCode){
return Service.doPlugin(prefix + 'checkOrg',{
ZbOrgCode:zbOrgCode,
OrgCode:orgCode
})
},
checkPreItemSerial:function(orgCode,preItemCode,serialNo){
return Service.doPlugin(prefix + 'checkPreItemSerial',{
orgCode:orgCode,
preItemCode:preItemCode,
serialNo:serialNo
})
},
checkScriptCodeReOver:function(scriptCode,itemCode){
return Service.doPlugin(prefix + 'checkScriptCodeReOver',{
scriptCode:scriptCode,
itemCode:itemCode
})
},
CheckScriptCode:function(scriptCode){
return Service.doPlugin(prefix + 'CheckScriptCode',{
scriptCode:scriptCode
})
},
getMaxSerialno:function(){
return Service.doPlugin(prefix + 'getMaxSerialno',{
})
}
}
});