🐞 fix(ID1001619收款列表新建收款时报错):
This commit is contained in:
parent
5c8c164904
commit
0aa47cb0e5
@ -2,6 +2,7 @@ import { Button, Input, Textarea, View } from '@tarojs/components'
|
||||
import Taro, { useDidShow } from '@tarojs/taro'
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
|
||||
import classnames from 'classnames'
|
||||
import Big from 'big.js'
|
||||
import styles from './index.module.scss'
|
||||
import Form from './components/form'
|
||||
import {
|
||||
@ -128,7 +129,7 @@ const AddCollection = () => {
|
||||
const query = {
|
||||
payment_credential_url: picUrl.current,
|
||||
purchaser_id: Query.purchaser_id,
|
||||
receipt_amount: Number(Query.money) * 100,
|
||||
receipt_amount: parseFloat(new Big(Query.money).times(100)),
|
||||
receiving_account_id: Query.bankId,
|
||||
remark: TextareaValue,
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user