对立减金组件进行全局提取调整

This commit is contained in:
wangsongsole 2022-06-06 14:58:03 +08:00
parent bbf0aef548
commit 9a5e398e9c
9 changed files with 8 additions and 8 deletions

View File

@ -1,11 +1,11 @@
import { useState, useEffect, useRef } from 'react'
import './index.less'
import Ipt from '../../../components/input/main'
import Form from '../../../components/form/main'
import FormItem from '../../../components/form-item/main'
import Ipt from '@/components/input/main'
import Form from '@/components/form/main'
import FormItem from '@/components/form-item/main'
import rules from './rules'
import { Button, Notify } from 'zent'
import { addFund, handelResponse } from '../../../assets/api'
import { addFund, handelResponse } from '@/assets/api'
export default ({ data, onChangeMoney }) => {
const [stateData, setStateData] = useState({ addNew: '' })
const ref = useRef()

View File

@ -34,7 +34,7 @@ import {
getProductInfoSelect
} from '../../../assets/api.js'
import Productform from '../product/add'
import KnockGold from '../../plan/knockGold/' /* 立减金 */
import KnockGold from '@/components/knockGold' /* 立减金 */
import Bus from '../../../assets/eventBus.js'
import _ from 'lodash'

View File

@ -32,7 +32,7 @@ import {
} from '../../../assets/api.js'
import _ from 'lodash'
import Productform from '../product/add'
import KnockGold from '../../plan/knockGold/' /* 立减金 */
import KnockGold from '@/components/knockGold' /* 立减金 */
import './edit.less'
import moment from 'moment'

View File

@ -31,7 +31,7 @@ import {
} from '../../../assets/api.js'
import Productform from '../product/add' /* 商品 */
import KnockGold from '../knockGold' /* 立减金 */
import KnockGold from '@/components/knockGold' /* 立减金 */
import Bus from '../../../assets/eventBus.js'
import _ from 'lodash'
import moment from 'moment'

View File

@ -44,7 +44,7 @@ import _ from 'lodash'
import './edit.less'
import moment from 'moment'
import { isSameDay } from 'date-fns'
import KnockGold from '../knockGold' /* 立减金 */
import KnockGold from '@/components/knockGold' /* 立减金 */
const TabPanel = Tabs.TabPanel
const initArray = (targetNum) => {