数据定价更新
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -149,7 +149,7 @@ const setFormItems = (info = null) => { | ... | @@ -149,7 +149,7 @@ const setFormItems = (info = null) => { |
| 149 | const builtIndicators = datas.builtIndicators || buildInData.value || []; | 149 | const builtIndicators = datas.builtIndicators || buildInData.value || []; |
| 150 | let buildData = {}; | 150 | let buildData = {}; |
| 151 | builtIndicators.map(item => { | 151 | builtIndicators.map(item => { |
| 152 | buildData[`build_${item.guid}`] = item.targetValue; | 152 | buildData[`build_${item.guid}`] = item.isInputParameter != 'Y' ? changeNum(item.targetValue, 2) : item.targetValue != '' && item.targetValue != null ? parseFloat(item.targetValue).toFixed(2) : ''; |
| 153 | }); | 153 | }); |
| 154 | datas = { ...datas, ...dictData, ...buildData }; | 154 | datas = { ...datas, ...dictData, ...buildData }; |
| 155 | baseConfigFormItems.value.map(item => { | 155 | baseConfigFormItems.value.map(item => { |
| ... | @@ -381,7 +381,7 @@ const setBuildInFormItems = (buildList) => { | ... | @@ -381,7 +381,7 @@ const setBuildInFormItems = (buildList) => { |
| 381 | type: 'input', | 381 | type: 'input', |
| 382 | placeholder: '', | 382 | placeholder: '', |
| 383 | field: buildField, | 383 | field: buildField, |
| 384 | default: guid ? '' : b.isInputParameter != 'Y' ? changeNum(b.defaultValue, 2) : b.defaultValue != '' && b.defaultValue != null ? parseFloat(b.defaultValue).toFixed(2) : '', | 384 | default: '', |
| 385 | inputType: 'moneyNumber', | 385 | inputType: 'moneyNumber', |
| 386 | maxlength: 18, | 386 | maxlength: 18, |
| 387 | clearable: true, | 387 | clearable: true, | ... | ... |
-
Please register or sign in to post a comment