bf89cbc0 by lxs

数据定价更新

1 parent 2005dd19
...@@ -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,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!