Commit 8531cf81 by raojiaguan

林草相关代码提交

parent 3e3a0fea
...@@ -3,10 +3,15 @@ export default { ...@@ -3,10 +3,15 @@ export default {
execute: function (bill, param) { execute: function (bill, param) {
let name = GMS.$hideContainer.addComponent(lincaoView, {}, function (c) { let name = GMS.$hideContainer.addComponent(lincaoView, {}, function (c) {
const year = nros.getUser().loginDate.substring(0,4) const year = nros.getUser().loginDate.substring(0,4)
const unitCode = nros.getUser().loginUnit
c.bill = bill.dom c.bill = bill.dom
c.url =`http://${param.param.ipAddress}/jq/addAssociateDatas.do?unitCode=130324&type=${param.param.type}&projectNum=1&year=${year}` const projectNum = bill.dom.getMasterData().getData().billCode.value
c.url =`http://${param.param.ipAddress}/jq/addAssociateDatas.do?unitCode=${unitCode}&type=${param.param.type}&projectNum=${projectNum}&year=${year}`
c.name = name c.name = name
c.modalShow = true; c.modalShow = true;
}) })
// } else {
// GAMS.Common.messagePrompt('缺少参数')
// }
} }
} }
\ No newline at end of file
...@@ -4704,13 +4704,13 @@ export default { ...@@ -4704,13 +4704,13 @@ export default {
"info": { "info": {
"param": [], "param": [],
"name": "GetMdOrgParentField", "name": "GetMdOrgParentField",
"description": "1:根据MD_ORG表中的区划字段进行筛选,2:是否启用上级区划(也就是第一个参数的值1为启用,0为不启用),3:获取的字段名(最后返回的字段名)例子:GetMdOrgParentField('SFSJ','1','name')", "description": "1:MD_ORG表中的字段名",
"title": "根据当前组织机构获取需要的区划级别字段", "title": "传入MD_ORG表中的字段获取字段的值",
"return": 0 "return": 0
} }
}, },
"description": "1:根据MD_ORG表中的区划字段进行筛选,2:是否启用上级区划(也就是第一个参数的值1为启用,0为不启用),3:获取的字段名(最后返回的字段名)例子:GetMdOrgParentField('SFSJ','1','name')", "description": "1:MD_ORG表中的字段名",
"title": "根据当前组织机构获取需要的区划级别字段", "title": "传入MD_ORG表中的字段获取字段的值",
"value": "GetMdOrgParentField" "value": "GetMdOrgParentField"
},{ },{
"discard": false, "discard": false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment