Selaa lähdekoodia

feat: 入账汇总字段错误

lanjianrong 4 vuotta sitten
vanhempi
commit
9eaff85ea8

+ 0 - 2
src/components/Modal/src/components/CustomModal.tsx

@@ -1,7 +1,6 @@
 /* eslint-disable */
 /** 此处组件应用的是完全的modalRender */
 
-import { createUid } from '@/utils/utils'
 import { PropsWithChildren } from 'react'
 import { useDispatch } from 'umi'
 import { CloseOutlined } from '@ant-design/icons'
@@ -12,7 +11,6 @@ interface CustomModalProps {
 }
 const CustomModal = ({ title, children }) => {
   const dispatch = useDispatch()
-  const uid = createUid(10)
   const closeModal = () => {
     dispatch({
       type: 'single/changeModal'

+ 2 - 2
src/pages/Statistic/Product/InvoiceAggregate/index.jsx

@@ -9,9 +9,9 @@ import React, { useRef, useState } from 'react'
 import OptionSelect from '../../components/OptionSelect'
 
 const columnGroupMap = {
-  creditPrice: '开票金额',
+  invoicePrice: '开票金额',
   receivablesPrice: '收款金额',
-  invoicePrice: '入账金额'
+  creditPrice: '入账金额'
 }
 const InvoiceAggregate = () => {
   const [state, setState] = useState({