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
f78f4f77
Commit
f78f4f77
authored
May 20, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(@gms/gms-plugin-billexpand): 增加公式
parent
56de8128
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
0 deletions
+49
-0
emcon.js
develop/@gms/gms-plugin-billexpand/src/emcon.js
+19
-0
CheckFieldEditableOfBJZGH.js
...lugin-billexpand/src/formula/CheckFieldEditableOfBJZGH.js
+28
-0
mcon.js
develop/@gms/gms-plugin-billexpand/src/mcon.js
+2
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/emcon.js
View file @
f78f4f77
...
...
@@ -2523,6 +2523,25 @@ export default {
"extends"
:
{
"info"
:
{
"param"
:
[
],
"name"
:
"CheckFieldEditableOfBJZGH"
,
"description"
:
"CheckFieldEditableOfBJZGH"
,
"title"
:
"CheckFieldEditableOfBJZGH"
,
"return"
:
0
}
},
"description"
:
"CheckFieldEditableOfBJZGH"
,
"title"
:
"CheckFieldEditableOfBJZGH"
,
"value"
:
"CheckFieldEditableOfBJZGH"
},
{
"discard"
:
false
,
"path"
:
"通用"
,
"extends"
:
{
"info"
:
{
"param"
:
[
],
"name"
:
"GetMDByObjectcode"
,
"description"
:
"GetMDByObjectcode"
,
...
...
develop/@gms/gms-plugin-billexpand/src/formula/CheckFieldEditableOfBJZGH.js
0 → 100644
View file @
f78f4f77
export
default
{
execute
:
function
([
target
],
context
)
{
const
billId
=
context
.
getMasterData
().
getValue
(
'id'
)
const
djlczt
=
context
.
getMasterData
().
getValue
(
'DJLCZT'
)
const
res
=
$
.
ajax
({
type
:
'POST'
,
url
:
`
${
osConfig
.
baseUrl
}
/rbczgh/check/editable`
,
async
:
false
,
contentType
:
'application/json'
,
dataType
:
'json'
,
beforeSend
:
function
(
request
)
{
request
.
setRequestHeader
(
"Authorization"
,
GMS
.
util
.
getAuthorization
());
},
data
:
JSON
.
stringify
({
fieldName
:
target
.
StaticValue
,
djlczt
,
billId
,
})
})
return
res
.
responseJSON
},
getResultType
:
function
()
{
return
FMR
.
ConstDataTypes
.
Bool
;
},
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/mcon.js
View file @
f78f4f77
...
...
@@ -178,6 +178,7 @@ import SubTableHasContainField from "./formula/SubTableHasContainField";
import
SetSubFieldsByBaseData
from
"./formula/SetSubFieldsByBaseData"
;
import
SubTableSetData
from
"./formula/SubTableSetData"
;
import
GetOwnProperty
from
"./formula/GetOwnProperty"
;
import
CheckFieldEditableOfBJZGH
from
"./formula/CheckFieldEditableOfBJZGH"
;
import
GetMDByObjectcode
from
"./formula/GetMDByObjectcode"
;
import
SetSubValueToMaster
from
"./formula/SetSubValueToMaster"
;
import
UnsafeApplyFunction
from
"./formula/UnsafeApplyFunction"
;
...
...
@@ -360,6 +361,7 @@ export default {
SubTableSetData
,
GetMDByObjectcode
,
GetOwnProperty
,
CheckFieldEditableOfBJZGH
,
SetSubValueToMaster
,
UnsafeApplyFunction
,
...
GeneralImportFile
,
...
...
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