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

4 years ago
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',{
})
}
}
});