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.
|
|
|
|
|
|
|
|
|
define (function (require,exports,module) {
|
|
|
|
|
//引入Server模块,Web与Server的通讯
|
|
|
|
|
let Service = require('apps/rht/base/rhtService');
|
|
|
|
|
let prefix = 'cn.qdhezheng.rht.app.sys.sys010307.';
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
//调用Server端名为JudgeHasDate类,判断对应表中是否已经存在数据
|
|
|
|
|
ChkHasData:function (TableName) {
|
|
|
|
|
return Service.doPlugin(prefix + 'ChkHasData',{
|
|
|
|
|
tableName:TableName
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//判断采购验收多少比例是否允许编辑
|
|
|
|
|
ChkOrdMoreRateCanEdit:function(){
|
|
|
|
|
return Service.doPlugin(prefix + 'ChkOrdMoreRateCanEdit',{
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//判断紧急编辑时限是否允许编辑
|
|
|
|
|
ChkChgMaxLimit:function(){
|
|
|
|
|
return Service.doPlugin(prefix + 'ChkChgMaxLimit',{
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//判断应付结算流程是否允许编辑
|
|
|
|
|
ChkAcpAcc:function(){
|
|
|
|
|
return Service.doPlugin(prefix + 'ChkAcpAcc',{
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|