bf89cbc0 by lxs

数据定价更新

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