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
83bbf04f
Commit
83bbf04f
authored
Mar 16, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
刷新异步
parent
770a8f92
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
SubTableSetBaseData.js
.../gms-plugin-billexpand/src/formula/SubTableSetBaseData.js
+3
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/formula/SubTableSetBaseData.js
View file @
83bbf04f
// 子表根据基础数据带出基础数据
// 子表根据基础数据带出基础数据
export
default
{
export
default
{
execute
:
function
()
{
execute
:
function
()
{
debugger
console
.
log
(
"子表中的某个字段是否等于某个值"
);
console
.
log
(
"子表中的某个字段是否等于某个值"
);
//从那个字段取,那个字段里面的对应的基础数据的名称,要取的基础数据字段标识,要赋值给谁
//从那个字段取,那个字段里面的对应的基础数据的名称,要取的基础数据字段标识,要赋值给谁
if
(
arguments
&&
arguments
[
0
]
&&
arguments
[
0
].
length
>
1
&&
arguments
[
1
])
{
if
(
arguments
&&
arguments
[
0
]
&&
arguments
[
0
].
length
>
1
&&
arguments
[
1
])
{
...
@@ -37,7 +36,9 @@ export default {
...
@@ -37,7 +36,9 @@ export default {
if
(
oldIndex
!==
newIndex
)
{
if
(
oldIndex
!==
newIndex
)
{
context
.
setSubFocus
(
newIndex
)
context
.
setSubFocus
(
newIndex
)
}
}
context
.
refreshSubDataRow
(
subTableObject
.
title
)
setTimeout
(()
=>
{
context
.
refreshSubDataRow
(
subTableObject
.
title
);
},
0
)
},
(
resp
)
=>
{
},
(
resp
)
=>
{
GAMS
.
Common
.
messagePrompt
(
"境内住宿标准金额获取接口请求失败,请联系管理员"
)
GAMS
.
Common
.
messagePrompt
(
"境内住宿标准金额获取接口请求失败,请联系管理员"
)
console
.
error
(
"获取境内住宿标准公式直接失败"
+
resp
)
console
.
error
(
"获取境内住宿标准公式直接失败"
+
resp
)
...
...
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