对立减金组件进行全局提取调整
This commit is contained in:
parent
bbf0aef548
commit
9a5e398e9c
|
@ -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()
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue