Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
rbc-demo
Commits
7c790a11
Commit
7c790a11
authored
Mar 17, 2022
by
袁成
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
ssh://nvwa.jiuqi.com.cn:2222/GFP/RBC/rbc-frontend
into develop-yuancheng
parents
c38d5a20
e18ffe10
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
69 additions
and
0 deletions
+69
-0
emcon.js
develop/@gms/gms-plugin-billexpand/src/emcon.js
+55
-0
ApplyTemplateString.js
.../gms-plugin-billexpand/src/formula/ApplyTemplateString.js
+1
-0
UpdateBillMoneyFunction.js
...-plugin-billexpand/src/formula/UpdateBillMoneyFunction.js
+10
-0
mcon.js
develop/@gms/gms-plugin-billexpand/src/mcon.js
+3
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/emcon.js
View file @
7c790a11
...
...
@@ -4339,11 +4339,66 @@ export default {
"discard"
:
false
,
"path"
:
"通用"
,
"extends"
:
{
"info"
:
{
"param"
:
[],
"name"
:
"SubTableSetBaseData"
,
"description"
:
"例如MdFilterInfiniteValue(1.在该基础数据中他的扩展字段名:bm,2.上一个参数取到字段名后具体的值是多少如果你要从单据上取那就是xxx.code等等,以此类推两个参数为一组无限制的or方式过滤)"
,
"title"
:
"根据多个条件去过滤基础数据"
,
"return"
:
0
}
},
"description"
:
"例如MdFilterInfiniteValue(1.在该基础数据中他的扩展字段名:bm,2.上一个参数取到字段名后具体的值是多少如果你要从单据上取那就是xxx.code等等,以此类推两个参数为一组无限制的or方式过滤)"
,
"title"
:
"根据多个条件去过滤基础数据"
,
"value"
:
"MdFilterInfiniteValue"
},
{
"discard"
:
false
,
"path"
:
"通用"
,
"extends"
:
{
"info"
:
{
"param"
:
[
{
"isOmitable"
:
true
,
"dataType"
:
0
,
"name"
:
"_value"
,
"title"
:
"目标值"
},
{
"isOmitable"
:
true
,
"dataType"
:
6
,
"name"
:
"_relationBillIdField"
,
"title"
:
"关联单据唯一标识"
},
{
"isOmitable"
:
true
,
"dataType"
:
6
,
"name"
:
"_relationBillDefine"
,
"title"
:
"关联单据定义"
},
{
"isOmitable"
:
true
,
"dataType"
:
6
,
"name"
:
"_relationBillField"
,
"title"
:
"赋值字段"
},
{
"isOmitable"
:
true
,
"dataType"
:
6
,
"name"
:
"operator"
,
"title"
:
"运算符号"
}
],
"name"
:
"UpdateBillMoneyFunction"
,
"description"
:
"修改引用的回写金额公式,例如还款单引用借款单后需要修改借款单的剩余金额"
,
"title"
:
"修改引用的回写金额公式,例如还款单引用借款单后需要修改借款单的剩余金额"
,
"return"
:
0
}
},
"description"
:
"修改引用的回写金额公式,例如还款单引用借款单后需要修改借款单的剩余金额"
,
"title"
:
"修改引用的回写金额公式,例如还款单引用借款单后需要修改借款单的剩余金额"
,
"value"
:
"UpdateBillMoneyFunction"
},
],
dropdownOptionList
:
[
{
...
...
develop/@gms/gms-plugin-billexpand/src/formula/ApplyTemplateString.js
View file @
7c790a11
...
...
@@ -57,6 +57,7 @@ export default {
for
(
let
i
=
1
;
i
<
value
.
length
;
++
i
)
{
ans
=
ans
[
value
[
i
]]
}
if
(
!
ans
)
ans
=
''
templateString
=
templateString
.
replace
(
str
,
ans
)
})
return
templateString
...
...
develop/@gms/gms-plugin-billexpand/src/formula/UpdateBillMoneyFunction.js
0 → 100644
View file @
7c790a11
/**
* 修改引用的回写金额公式,例如还款单引用借款单后需要修改借款单的剩余金额
*/
export
default
{
execute
:
function
()
{
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/mcon.js
View file @
7c790a11
...
...
@@ -183,6 +183,8 @@ import EqualsMasterAndSubField from "./formula/EqualsMasterAndSubField";
import
SubTableHasContainField
from
"./formula/SubTableHasContainField"
;
import
GetUserStaffInfo
from
"./formula/GetUserStaffInfo"
;
import
MdFilterInfiniteValue
from
"./formula/MdFilterInfiniteValue"
;
import
UpdateBillMoneyFunction
from
"./formula/UpdateBillMoneyFunction"
;
export
default
{
actions
:
{
updateFieldAction
,
...
...
@@ -370,6 +372,7 @@ export default {
SubTableHasContainField
,
GetUserStaffInfo
,
ApplyTemplateString
,
UpdateBillMoneyFunction
},
routes
:
{
showPrint
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment