对立减金组件进行全局提取调整
This commit is contained in:
parent
bbf0aef548
commit
9a5e398e9c
|
@ -1,11 +1,11 @@
|
||||||
import { useState, useEffect, useRef } from 'react'
|
import { useState, useEffect, useRef } from 'react'
|
||||||
import './index.less'
|
import './index.less'
|
||||||
import Ipt from '../../../components/input/main'
|
import Ipt from '@/components/input/main'
|
||||||
import Form from '../../../components/form/main'
|
import Form from '@/components/form/main'
|
||||||
import FormItem from '../../../components/form-item/main'
|
import FormItem from '@/components/form-item/main'
|
||||||
import rules from './rules'
|
import rules from './rules'
|
||||||
import { Button, Notify } from 'zent'
|
import { Button, Notify } from 'zent'
|
||||||
import { addFund, handelResponse } from '../../../assets/api'
|
import { addFund, handelResponse } from '@/assets/api'
|
||||||
export default ({ data, onChangeMoney }) => {
|
export default ({ data, onChangeMoney }) => {
|
||||||
const [stateData, setStateData] = useState({ addNew: '' })
|
const [stateData, setStateData] = useState({ addNew: '' })
|
||||||
const ref = useRef()
|
const ref = useRef()
|
|
@ -34,7 +34,7 @@ import {
|
||||||
getProductInfoSelect
|
getProductInfoSelect
|
||||||
} from '../../../assets/api.js'
|
} from '../../../assets/api.js'
|
||||||
import Productform from '../product/add'
|
import Productform from '../product/add'
|
||||||
import KnockGold from '../../plan/knockGold/' /* 立减金 */
|
import KnockGold from '@/components/knockGold' /* 立减金 */
|
||||||
|
|
||||||
import Bus from '../../../assets/eventBus.js'
|
import Bus from '../../../assets/eventBus.js'
|
||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
|
|
|
@ -32,7 +32,7 @@ import {
|
||||||
} from '../../../assets/api.js'
|
} from '../../../assets/api.js'
|
||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
import Productform from '../product/add'
|
import Productform from '../product/add'
|
||||||
import KnockGold from '../../plan/knockGold/' /* 立减金 */
|
import KnockGold from '@/components/knockGold' /* 立减金 */
|
||||||
|
|
||||||
import './edit.less'
|
import './edit.less'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
|
|
|
@ -31,7 +31,7 @@ import {
|
||||||
} from '../../../assets/api.js'
|
} from '../../../assets/api.js'
|
||||||
|
|
||||||
import Productform from '../product/add' /* 商品 */
|
import Productform from '../product/add' /* 商品 */
|
||||||
import KnockGold from '../knockGold' /* 立减金 */
|
import KnockGold from '@/components/knockGold' /* 立减金 */
|
||||||
import Bus from '../../../assets/eventBus.js'
|
import Bus from '../../../assets/eventBus.js'
|
||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
|
|
|
@ -44,7 +44,7 @@ import _ from 'lodash'
|
||||||
import './edit.less'
|
import './edit.less'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
import { isSameDay } from 'date-fns'
|
import { isSameDay } from 'date-fns'
|
||||||
import KnockGold from '../knockGold' /* 立减金 */
|
import KnockGold from '@/components/knockGold' /* 立减金 */
|
||||||
const TabPanel = Tabs.TabPanel
|
const TabPanel = Tabs.TabPanel
|
||||||
|
|
||||||
const initArray = (targetNum) => {
|
const initArray = (targetNum) => {
|
||||||
|
|
Loading…
Reference in New Issue