Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
bf89cbc0
authored
2025-08-14 17:21:18 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据定价更新
1 parent
2005dd19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/data_pricing/calculateConfig.vue
src/views/data_pricing/calculateConfig.vue
View file @
bf89cbc
...
...
@@ -149,7 +149,7 @@ const setFormItems = (info = null) => {
const
builtIndicators
=
datas
.
builtIndicators
||
buildInData
.
value
||
[];
let
buildData
=
{};
builtIndicators
.
map
(
item
=>
{
buildData
[
`build_
${
item
.
guid
}
`
]
=
item
.
targetValue
;
buildData
[
`build_
${
item
.
guid
}
`
]
=
item
.
isInputParameter
!=
'Y'
?
changeNum
(
item
.
targetValue
,
2
)
:
item
.
targetValue
!=
''
&&
item
.
targetValue
!=
null
?
parseFloat
(
item
.
targetValue
).
toFixed
(
2
)
:
''
;
});
datas
=
{
...
datas
,
...
dictData
,
...
buildData
};
baseConfigFormItems
.
value
.
map
(
item
=>
{
...
...
@@ -381,7 +381,7 @@ const setBuildInFormItems = (buildList) => {
type
:
'input'
,
placeholder
:
''
,
field
:
buildField
,
default
:
guid
?
''
:
b
.
isInputParameter
!=
'Y'
?
changeNum
(
b
.
defaultValue
,
2
)
:
b
.
defaultValue
!=
''
&&
b
.
defaultValue
!=
null
?
parseFloat
(
b
.
defaultValue
).
toFixed
(
2
)
:
''
,
default
:
''
,
inputType
:
'moneyNumber'
,
maxlength
:
18
,
clearable
:
true
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment