Commit d1a5bbc0 authored by 胡's avatar

fix: 融资意向字段错误

parent 2aa3ce52
......@@ -35,7 +35,7 @@ let location = useLocation()
const formRaw = [
{
title: '合同总额',
propName: 'contractAmount',
propName: 'financeAmount',
type: 'currency',
value: '',
isRequired: true
......@@ -123,7 +123,7 @@ const save = async () => {
}
console.log(formValueObj);
if (formConfig.validate()) {
let res = await api.saveInfo({ remark: message, ...formValueObj })
let res = await api.saveInfo({ remark: message, ...formValueObj, financeAmount: +formValueObj.financeAmount})
if (res.success) {
Toast.success('保存成功');
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment