Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
merchant-manage-ui
Commits
df7492db
Commit
df7492db
authored
Mar 22, 2022
by
luoxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
版本4.0
parent
52366057
Changes
31
Show whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
110 additions
and
66434 deletions
+110
-66434
package-lock.json
package-lock.json
+0
-66367
package.json
package.json
+6
-4
index.jsx
src/components/CopyBlock/index.jsx
+3
-2
AvatarDropdown.jsx
src/components/GlobalHeader/AvatarDropdown.jsx
+9
-5
RightContent.jsx
src/components/GlobalHeader/RightContent.jsx
+1
-1
index.jsx
src/components/HeaderSearch/index.jsx
+3
-2
index.jsx
src/components/NoticeIcon/index.jsx
+3
-2
BasicLayout.jsx
src/layouts/BasicLayout.jsx
+4
-3
Admin.jsx
src/pages/Admin.jsx
+2
-4
auditModal.jsx
src/pages/AfterSaleManage/components/auditModal.jsx
+3
-1
rejectModal.jsx
src/pages/AfterSaleManage/components/rejectModal.jsx
+3
-1
index.jsx
src/pages/GoodsManage/SearchForm/index.jsx
+3
-1
index.jsx
src/pages/GoodsManage/UpdateStock/index.jsx
+3
-1
batchSetting.jsx
src/pages/GoodsManage/createModal/batchSetting.jsx
+4
-1
index.jsx
src/pages/GoodsManage/createModal/index.jsx
+8
-10
skuNameChange.jsx
src/pages/GoodsManage/createModal/skuNameChange.jsx
+3
-1
index.jsx
src/pages/GoodsManage/index.jsx
+3
-1
audit.jsx
src/pages/afterSale/components/audit.jsx
+3
-1
form.jsx
src/pages/afterSaleAddress/form.jsx
+3
-1
auditModal.jsx
src/pages/cancelBillManage/components/auditModal.jsx
+3
-1
rejectModal.jsx
src/pages/cancelBillManage/components/rejectModal.jsx
+3
-1
index.jsx
src/pages/components/sortablUpload/index.jsx
+5
-6
upload.jsx
src/pages/components/upload.jsx
+3
-2
LogisticsForm.jsx
...rManage/pendingDeliveryOrder/components/LogisticsForm.jsx
+6
-3
modal.jsx
src/pages/reconciliation/detail/modal.jsx
+3
-1
form.jsx
src/pages/reconciliation/form.jsx
+3
-1
index.jsx
src/pages/settleManage/uploadModal/index.jsx
+3
-2
LoginItem.jsx
src/pages/user/login/components/Login/LoginItem.jsx
+3
-1
LoginSubmit.jsx
src/pages/user/login/components/Login/LoginSubmit.jsx
+3
-1
index.jsx
src/pages/user/login/components/Login/index.jsx
+3
-1
map.jsx
src/pages/user/login/components/Login/map.jsx
+5
-5
No files found.
package-lock.json
deleted
100644 → 0
View file @
52366057
This source diff could not be displayed because it is too large. You can
view the blob
instead.
package.json
View file @
df7492db
...
@@ -48,11 +48,13 @@
...
@@ -48,11 +48,13 @@
"not ie <= 10"
"not ie <= 10"
],
],
"dependencies"
:
{
"dependencies"
:
{
"
@ant-design/compatible
"
:
"
^1.0.0
"
,
"
@ant-design/icons
"
:
"
^4.6.4
"
,
"
@ant-design/colors
"
:
"
^3.1.0
"
,
"
@ant-design/colors
"
:
"
^3.1.0
"
,
"
@ant-design/pro-layout
"
:
"
^4.10.0
"
,
"
@ant-design/pro-layout
"
:
"
^4.10.0
"
,
"
@ant-design/pro-table
"
:
"
^1.0.31
"
,
"
@ant-design/pro-table
"
:
"
^1.0.31
"
,
"
@antv/data-set
"
:
"
^0.10.2
"
,
"
@antv/data-set
"
:
"
^0.10.2
"
,
"
antd
"
:
"
^
3.23.6
"
,
"
antd
"
:
"
^
4.0.0
"
,
"
antd-virtual-select
"
:
"
^1.1.2
"
,
"
antd-virtual-select
"
:
"
^1.1.2
"
,
"
classnames
"
:
"
^2.2.6
"
,
"
classnames
"
:
"
^2.2.6
"
,
"
date-fns
"
:
"
^2.16.1
"
,
"
date-fns
"
:
"
^2.16.1
"
,
...
@@ -63,9 +65,9 @@
...
@@ -63,9 +65,9 @@
"
omit.js
"
:
"
^1.0.2
"
,
"
omit.js
"
:
"
^1.0.2
"
,
"
path-to-regexp
"
:
"
^3.1.0
"
,
"
path-to-regexp
"
:
"
^3.1.0
"
,
"
qs
"
:
"
^6.9.0
"
,
"
qs
"
:
"
^6.9.0
"
,
"
react
"
:
"
^16.
8.6
"
,
"
react
"
:
"
^16.
9.0
"
,
"
react-copy-to-clipboard
"
:
"
^5.0.1
"
,
"
react-copy-to-clipboard
"
:
"
^5.0.1
"
,
"
react-dom
"
:
"
^16.
8.6
"
,
"
react-dom
"
:
"
^16.
9.0
"
,
"
react-helmet
"
:
"
^5.2.1
"
,
"
react-helmet
"
:
"
^5.2.1
"
,
"
react-sortablejs
"
:
"
^6.0.0
"
,
"
react-sortablejs
"
:
"
^6.0.0
"
,
"
redux
"
:
"
^4.0.1
"
,
"
redux
"
:
"
^4.0.1
"
,
...
...
src/components/CopyBlock/index.jsx
View file @
df7492db
import
{
Icon
,
Popover
,
Typography
}
from
'
antd
'
;
import
{
DownloadOutlined
}
from
'
@ant-design/icons
'
;
import
{
Popover
,
Typography
}
from
'
antd
'
;
import
React
,
{
useRef
}
from
'
react
'
;
import
React
,
{
useRef
}
from
'
react
'
;
import
{
connect
}
from
'
dva
'
;
import
{
connect
}
from
'
dva
'
;
import
{
isAntDesignPro
}
from
'
@/utils/utils
'
;
import
{
isAntDesignPro
}
from
'
@/utils/utils
'
;
...
@@ -63,7 +64,7 @@ export default connect(({ routing }) => ({
...
@@ -63,7 +64,7 @@ export default connect(({ routing }) => ({
getPopupContainer=
{
dom
=>
(
divDom
.
current
?
divDom
.
current
:
dom
)
}
getPopupContainer=
{
dom
=>
(
divDom
.
current
?
divDom
.
current
:
dom
)
}
>
>
<
div
className=
{
styles
[
'
copy-block
'
]
}
ref=
{
divDom
}
>
<
div
className=
{
styles
[
'
copy-block
'
]
}
ref=
{
divDom
}
>
<
Icon
type=
"download"
/>
<
DownloadOutlined
/>
</
div
>
</
div
>
</
Popover
>
</
Popover
>
);
);
...
...
src/components/GlobalHeader/AvatarDropdown.jsx
View file @
df7492db
import
{
Avatar
,
Icon
,
Menu
,
Spin
}
from
'
antd
'
;
import
{
LogoutOutlined
,
SettingOutlined
,
UserOutlined
}
from
'
@ant-design/icons
'
;
import
{
Avatar
,
Menu
,
Spin
}
from
'
antd
'
;
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
connect
}
from
'
dva
'
;
import
{
connect
}
from
'
dva
'
;
import
router
from
'
umi/router
'
;
import
router
from
'
umi/router
'
;
...
@@ -36,20 +37,20 @@ class AvatarDropdown extends React.Component {
...
@@ -36,20 +37,20 @@ class AvatarDropdown extends React.Component {
<
Menu
className=
{
styles
.
menu
}
selectedKeys=
{
[]
}
onClick=
{
this
.
onMenuClick
}
>
<
Menu
className=
{
styles
.
menu
}
selectedKeys=
{
[]
}
onClick=
{
this
.
onMenuClick
}
>
{
menu
&&
(
{
menu
&&
(
<
Menu
.
Item
key=
"center"
>
<
Menu
.
Item
key=
"center"
>
<
Icon
type=
"user"
/>
<
UserOutlined
/>
个人中心
个人中心
</
Menu
.
Item
>
</
Menu
.
Item
>
)
}
)
}
{
menu
&&
(
{
menu
&&
(
<
Menu
.
Item
key=
"settings"
>
<
Menu
.
Item
key=
"settings"
>
<
Icon
type=
"setting"
/>
<
SettingOutlined
/>
个人设置
个人设置
</
Menu
.
Item
>
</
Menu
.
Item
>
)
}
)
}
{
menu
&&
<
Menu
.
Divider
/>
}
{
menu
&&
<
Menu
.
Divider
/>
}
<
Menu
.
Item
key=
"logout"
>
<
Menu
.
Item
key=
"logout"
>
<
Icon
type=
"logout"
/>
<
LogoutOutlined
/>
退出登录
退出登录
</
Menu
.
Item
>
</
Menu
.
Item
>
</
Menu
>
</
Menu
>
...
@@ -57,7 +58,10 @@ class AvatarDropdown extends React.Component {
...
@@ -57,7 +58,10 @@ class AvatarDropdown extends React.Component {
return
currentUser
&&
currentUser
.
name
?
(
return
currentUser
&&
currentUser
.
name
?
(
<
HeaderDropdown
overlay=
{
menuHeaderDropdown
}
>
<
HeaderDropdown
overlay=
{
menuHeaderDropdown
}
>
<
span
className=
{
`${styles.action} ${styles.account}`
}
>
<
span
className=
{
`${styles.action} ${styles.account}`
}
>
<
Avatar
icon=
"user"
style=
{
{
backgroundColor
:
'
#388bd8
'
,
marginRight
:
'
10px
'
}
}
/>
<
Avatar
icon=
{
<
UserOutlined
/>
}
style=
{
{
backgroundColor
:
'
#388bd8
'
,
marginRight
:
'
10px
'
}
}
/>
<
span
className=
{
styles
.
name
}
>
{
currentUser
.
name
}
</
span
>
<
span
className=
{
styles
.
name
}
>
{
currentUser
.
name
}
</
span
>
</
span
>
</
span
>
</
HeaderDropdown
>
</
HeaderDropdown
>
...
...
src/components/GlobalHeader/RightContent.jsx
View file @
df7492db
import
{
Icon
,
Tooltip
}
from
'
antd
'
;
import
{
Tooltip
}
from
'
antd
'
;
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
connect
}
from
'
dva
'
;
import
{
connect
}
from
'
dva
'
;
import
Avatar
from
'
./AvatarDropdown
'
;
import
Avatar
from
'
./AvatarDropdown
'
;
...
...
src/components/HeaderSearch/index.jsx
View file @
df7492db
import
{
AutoComplete
,
Icon
,
Input
}
from
'
antd
'
;
import
{
SearchOutlined
}
from
'
@ant-design/icons
'
;
import
{
AutoComplete
,
Input
}
from
'
antd
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
classNames
from
'
classnames
'
;
import
classNames
from
'
classnames
'
;
import
debounce
from
'
lodash/debounce
'
;
import
debounce
from
'
lodash/debounce
'
;
...
@@ -112,7 +113,7 @@ export default class HeaderSearch extends Component {
...
@@ -112,7 +113,7 @@ export default class HeaderSearch extends Component {
}
}
}
}
}
}
>
>
<
Icon
type=
"search"
key=
"Icon"
/>
<
SearchOutlined
key=
"Icon"
/>
<
AutoComplete
<
AutoComplete
key=
"AutoComplete"
key=
"AutoComplete"
{
...
restProps
}
{
...
restProps
}
...
...
src/components/NoticeIcon/index.jsx
View file @
df7492db
import
{
Badge
,
Icon
,
Spin
,
Tabs
}
from
'
antd
'
;
import
{
BellOutlined
}
from
'
@ant-design/icons
'
;
import
{
Badge
,
Spin
,
Tabs
}
from
'
antd
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
classNames
from
'
classnames
'
;
import
classNames
from
'
classnames
'
;
import
NoticeList
from
'
./NoticeList
'
;
import
NoticeList
from
'
./NoticeList
'
;
...
@@ -116,7 +117,7 @@ export default class NoticeIcon extends Component {
...
@@ -116,7 +117,7 @@ export default class NoticeIcon extends Component {
const
{
visible
}
=
this
.
state
;
const
{
visible
}
=
this
.
state
;
const
noticeButtonClass
=
classNames
(
className
,
styles
.
noticeButton
);
const
noticeButtonClass
=
classNames
(
className
,
styles
.
noticeButton
);
const
notificationBox
=
this
.
getNotificationBox
();
const
notificationBox
=
this
.
getNotificationBox
();
const
NoticeBellIcon
=
bell
||
<
Icon
type=
"bell"
className=
{
styles
.
icon
}
/>;
const
NoticeBellIcon
=
bell
||
<
BellOutlined
className=
{
styles
.
icon
}
/>;
const
trigger
=
(
const
trigger
=
(
<
span
<
span
className=
{
classNames
(
noticeButtonClass
,
{
className=
{
classNames
(
noticeButtonClass
,
{
...
...
src/layouts/BasicLayout.jsx
View file @
df7492db
...
@@ -8,7 +8,8 @@ import ProLayout from '@ant-design/pro-layout';
...
@@ -8,7 +8,8 @@ import ProLayout from '@ant-design/pro-layout';
import
React
,
{
useState
,
useEffect
}
from
'
react
'
;
import
React
,
{
useState
,
useEffect
}
from
'
react
'
;
import
Link
from
'
umi/link
'
;
import
Link
from
'
umi/link
'
;
import
{
connect
}
from
'
dva
'
;
import
{
connect
}
from
'
dva
'
;
import
{
Result
,
Button
,
Layout
,
Menu
,
Icon
}
from
'
antd
'
;
import
{
Icon
as
LegacyIcon
}
from
'
@ant-design/compatible
'
;
import
{
Result
,
Button
,
Layout
,
Menu
}
from
'
antd
'
;
import
Authorized
from
'
@/utils/Authorized
'
;
import
Authorized
from
'
@/utils/Authorized
'
;
import
RightContent
from
'
@/components/GlobalHeader/RightContent
'
;
import
RightContent
from
'
@/components/GlobalHeader/RightContent
'
;
import
{
getAuthorityFromRouter
}
from
'
@/utils/utils
'
;
import
{
getAuthorityFromRouter
}
from
'
@/utils/utils
'
;
...
@@ -84,7 +85,7 @@ const BasicLayout = props => {
...
@@ -84,7 +85,7 @@ const BasicLayout = props => {
key=
{
v
.
path
}
key=
{
v
.
path
}
title=
{
title=
{
<
span
>
<
span
>
<
Icon
type=
{
v
.
icon
}
/>
<
Legacy
Icon
type=
{
v
.
icon
}
/>
<
span
>
{
v
.
name
}
</
span
>
<
span
>
{
v
.
name
}
</
span
>
</
span
>
</
span
>
}
}
...
@@ -94,7 +95,7 @@ const BasicLayout = props => {
...
@@ -94,7 +95,7 @@ const BasicLayout = props => {
)
:
(
)
:
(
<
Menu
.
Item
key=
{
v
.
path
}
>
<
Menu
.
Item
key=
{
v
.
path
}
>
<
Link
to=
{
v
.
path
}
>
<
Link
to=
{
v
.
path
}
>
<
Icon
type=
{
v
.
icon
}
/>
<
Legacy
Icon
type=
{
v
.
icon
}
/>
<
span
className=
"nav-text"
>
{
v
.
name
}
</
span
>
<
span
className=
"nav-text"
>
{
v
.
name
}
</
span
>
</
Link
>
</
Link
>
</
Menu
.
Item
>
</
Menu
.
Item
>
...
...
src/pages/Admin.jsx
View file @
df7492db
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
Card
,
Typography
,
Alert
,
Icon
}
from
'
antd
'
;
import
{
Card
,
Typography
,
Alert
}
from
'
antd
'
;
import
{
PageHeaderWrapper
}
from
'
@ant-design/pro-layout
'
;
import
{
PageHeaderWrapper
}
from
'
@ant-design/pro-layout
'
;
export
default
()
=>
(
export
default
()
=>
<
h2
>
欢迎使用商户管理后台系统
</
h2
>;
<
h2
>
欢迎使用商户管理后台系统
</
h2
>
);
src/pages/AfterSaleManage/components/auditModal.jsx
View file @
df7492db
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
Modal
,
Form
,
Input
,
Cascader
,
notification
,
InputNumber
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Modal
,
Input
,
Cascader
,
notification
,
InputNumber
}
from
'
antd
'
;
import
{
shopAudit
}
from
'
../services
'
;
import
{
shopAudit
}
from
'
../services
'
;
const
FormItem
=
Form
.
Item
;
const
FormItem
=
Form
.
Item
;
...
...
src/pages/AfterSaleManage/components/rejectModal.jsx
View file @
df7492db
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
Modal
,
Form
,
Input
,
notification
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Modal
,
Input
,
notification
}
from
'
antd
'
;
import
{
shopCheck
}
from
'
../services
'
;
import
{
shopCheck
}
from
'
../services
'
;
const
FormItem
=
Form
.
Item
;
const
FormItem
=
Form
.
Item
;
...
...
src/pages/GoodsManage/SearchForm/index.jsx
View file @
df7492db
import
{
Button
,
Form
,
Input
,
Select
,
notification
,
Upload
,
Cascader
,
InputNumber
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Button
,
Input
,
Select
,
notification
,
Upload
,
Cascader
,
InputNumber
}
from
'
antd
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
{
connect
}
from
'
dva
'
;
import
{
connect
}
from
'
dva
'
;
import
styles
from
'
../style.less
'
;
import
styles
from
'
../style.less
'
;
...
...
src/pages/GoodsManage/UpdateStock/index.jsx
View file @
df7492db
import
{
Modal
,
InputNumber
,
notification
,
Form
,
Input
,
Radio
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Modal
,
InputNumber
,
notification
,
Input
,
Radio
}
from
'
antd
'
;
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
updateStock
}
from
'
../service
'
;
import
{
updateStock
}
from
'
../service
'
;
...
...
src/pages/GoodsManage/createModal/batchSetting.jsx
View file @
df7492db
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
import
{
Form
,
Select
,
Input
,
InputNumber
,
Button
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Select
,
Input
,
InputNumber
,
Button
}
from
'
antd
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
React
,
{
Component
}
from
'
react
'
;
// import styles from '../style.less';
// import styles from '../style.less';
...
...
src/pages/GoodsManage/createModal/index.jsx
View file @
df7492db
/* eslint-disable no-param-reassign */
import
{
MinusCircleOutlined
,
PlusOutlined
,
RestOutlined
}
from
'
@ant-design/icons
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
import
{
Modal
,
Modal
,
Table
,
Table
,
Button
,
Button
,
Form
,
Select
,
Select
,
Input
,
Input
,
Icon
,
Row
,
Row
,
Col
,
Col
,
Checkbox
,
Checkbox
,
...
@@ -678,9 +678,8 @@ class goodsManage extends Component {
...
@@ -678,9 +678,8 @@ class goodsManage extends Component {
/>,
/>,
)
}
)
}
{
firstKeys
.
length
>
0
?
(
{
firstKeys
.
length
>
0
?
(
<
Icon
<
MinusCircleOutlined
className=
"dynamic-delete-button"
className=
"dynamic-delete-button"
type=
"minus-circle-o"
onClick=
{
()
=>
this
.
remove
(
'
firstKeys
'
,
k
)
}
onClick=
{
()
=>
this
.
remove
(
'
firstKeys
'
,
k
)
}
/>
/>
)
:
null
}
)
:
null
}
...
@@ -693,7 +692,7 @@ class goodsManage extends Component {
...
@@ -693,7 +692,7 @@ class goodsManage extends Component {
onClick=
{
()
=>
this
.
add
(
'
firstKeys
'
)
}
onClick=
{
()
=>
this
.
add
(
'
firstKeys
'
)
}
style=
{
{
textAlign
:
'
center
'
}
}
style=
{
{
textAlign
:
'
center
'
}
}
>
>
<
Icon
type=
"plus"
/>
<
PlusOutlined
/>
</
Button
>
</
Button
>
</
FormItem
>
</
FormItem
>
</
Row
>
</
Row
>
...
@@ -742,9 +741,8 @@ class goodsManage extends Component {
...
@@ -742,9 +741,8 @@ class goodsManage extends Component {
validateTrigger
:
[
'
onChange
'
,
'
onBlur
'
],
validateTrigger
:
[
'
onChange
'
,
'
onBlur
'
],
})(<
Input
key=
{
k
}
style=
{
{
width
:
'
60%
'
,
marginRight
:
8
}
}
/>)
}
})(<
Input
key=
{
k
}
style=
{
{
width
:
'
60%
'
,
marginRight
:
8
}
}
/>)
}
{
secondKeys
.
length
>
0
?
(
{
secondKeys
.
length
>
0
?
(
<
Icon
<
MinusCircleOutlined
className=
"dynamic-delete-button"
className=
"dynamic-delete-button"
type=
"minus-circle-o"
onClick=
{
()
=>
this
.
remove
(
'
secondKeys
'
,
k
)
}
onClick=
{
()
=>
this
.
remove
(
'
secondKeys
'
,
k
)
}
/>
/>
)
:
null
}
)
:
null
}
...
@@ -757,7 +755,7 @@ class goodsManage extends Component {
...
@@ -757,7 +755,7 @@ class goodsManage extends Component {
style=
{
{
textAlign
:
'
center
'
}
}
style=
{
{
textAlign
:
'
center
'
}
}
disabled=
{
isJDGoods
}
disabled=
{
isJDGoods
}
>
>
<
Icon
type=
"plus"
/>
<
PlusOutlined
/>
</
Button
>
</
Button
>
</
FormItem
>
</
FormItem
>
</
Row
>
</
Row
>
...
@@ -813,7 +811,7 @@ class goodsManage extends Component {
...
@@ -813,7 +811,7 @@ class goodsManage extends Component {
size=
"small"
size=
"small"
onClick=
{
this
.
deleteImg
}
onClick=
{
this
.
deleteImg
}
style=
{
{
marginTop
:
'
10px
'
}
}
style=
{
{
marginTop
:
'
10px
'
}
}
icon=
"rest"
icon=
{
<
RestOutlined
/>
}
>
>
图片批量删除
图片批量删除
</
Button
>
</
Button
>
...
...
src/pages/GoodsManage/createModal/skuNameChange.jsx
View file @
df7492db
import
{
Form
,
Input
,
Modal
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Input
,
Modal
}
from
'
antd
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
React
,
{
Component
}
from
'
react
'
;
const
{
TextArea
}
=
Input
;
const
{
TextArea
}
=
Input
;
...
...
src/pages/GoodsManage/index.jsx
View file @
df7492db
import
{
Card
,
Form
,
Pagination
,
Table
,
notification
,
Drawer
,
Spin
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Card
,
Pagination
,
Table
,
notification
,
Drawer
,
Spin
}
from
'
antd
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
{
PageHeaderWrapper
}
from
'
@ant-design/pro-layout
'
;
import
{
PageHeaderWrapper
}
from
'
@ant-design/pro-layout
'
;
import
{
connect
}
from
'
dva
'
;
import
{
connect
}
from
'
dva
'
;
...
...
src/pages/afterSale/components/audit.jsx
View file @
df7492db
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
Modal
,
Row
,
Col
,
Input
,
Form
,
Select
,
notification
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Modal
,
Row
,
Col
,
Input
,
Select
,
notification
}
from
'
antd
'
;
import
{
audit
}
from
'
../appeal/services
'
;
import
{
audit
}
from
'
../appeal/services
'
;
const
{
TextArea
}
=
Input
;
const
{
TextArea
}
=
Input
;
...
...
src/pages/afterSaleAddress/form.jsx
View file @
df7492db
import
React
,
{
useState
,
useEffect
}
from
'
react
'
;
import
React
,
{
useState
,
useEffect
}
from
'
react
'
;
import
{
Modal
,
Form
,
Select
,
Input
,
notification
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Modal
,
Select
,
Input
,
notification
}
from
'
antd
'
;
import
_
from
'
lodash
'
;
import
_
from
'
lodash
'
;
import
{
addrQuery
,
update
}
from
'
./services
'
;
import
{
addrQuery
,
update
}
from
'
./services
'
;
...
...
src/pages/cancelBillManage/components/auditModal.jsx
View file @
df7492db
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
Modal
,
Form
,
Input
,
Cascader
,
notification
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Modal
,
Input
,
Cascader
,
notification
}
from
'
antd
'
;
import
{
shopAudit
}
from
'
../service
'
;
import
{
shopAudit
}
from
'
../service
'
;
const
FormItem
=
Form
.
Item
;
const
FormItem
=
Form
.
Item
;
...
...
src/pages/cancelBillManage/components/rejectModal.jsx
View file @
df7492db
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
Modal
,
Form
,
Input
,
notification
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Modal
,
Input
,
notification
}
from
'
antd
'
;
import
{
shopCheck
}
from
'
../service
'
;
import
{
shopCheck
}
from
'
../service
'
;
const
FormItem
=
Form
.
Item
;
const
FormItem
=
Form
.
Item
;
...
...
src/pages/components/sortablUpload/index.jsx
View file @
df7492db
import
{
Upload
,
Icon
,
Modal
,
notification
}
from
'
antd
'
;
import
{
DeleteOutlined
,
EyeOutlined
,
PlusOutlined
}
from
'
@ant-design/icons
'
;
import
{
Upload
,
Modal
,
notification
}
from
'
antd
'
;
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
ReactSortable
}
from
'
react-sortablejs
'
;
import
{
ReactSortable
}
from
'
react-sortablejs
'
;
import
lodash
from
'
lodash
'
;
import
lodash
from
'
lodash
'
;
...
@@ -152,7 +153,7 @@ class PicturesWall extends React.Component {
...
@@ -152,7 +153,7 @@ class PicturesWall extends React.Component {
const
{
previewVisible
,
previewImage
,
fileList
}
=
this
.
state
;
const
{
previewVisible
,
previewImage
,
fileList
}
=
this
.
state
;
const
uploadButton
=
(
const
uploadButton
=
(
<
div
>
<
div
>
<
Icon
type=
"plus"
/>
<
PlusOutlined
/>
<
div
className=
"ant-upload-text"
>
上传图片
</
div
>
<
div
className=
"ant-upload-text"
>
上传图片
</
div
>
</
div
>
</
div
>
);
);
...
@@ -213,13 +214,11 @@ class PicturesWall extends React.Component {
...
@@ -213,13 +214,11 @@ class PicturesWall extends React.Component {
</
div
>
</
div
>
{
this
.
state
.
activeImgIndex
===
index
&&
(
{
this
.
state
.
activeImgIndex
===
index
&&
(
<
div
className=
{
styles
.
mask
}
>
<
div
className=
{
styles
.
mask
}
>
<
Icon
<
EyeOutlined
type=
"eye"
className=
{
styles
.
maskIcon
}
className=
{
styles
.
maskIcon
}
onClick=
{
()
=>
this
.
handlePreview
(
item
)
}
onClick=
{
()
=>
this
.
handlePreview
(
item
)
}
/>
/>
<
Icon
<
DeleteOutlined
type=
"delete"
className=
{
styles
.
maskIcon
}
className=
{
styles
.
maskIcon
}
onClick=
{
()
=>
this
.
onRemoveImg
(
item
)
}
onClick=
{
()
=>
this
.
onRemoveImg
(
item
)
}
/>
/>
...
...
src/pages/components/upload.jsx
View file @
df7492db
import
{
Upload
,
Icon
,
Modal
,
message
}
from
'
antd
'
;
import
{
PlusOutlined
}
from
'
@ant-design/icons
'
;
import
{
Upload
,
Modal
,
message
}
from
'
antd
'
;
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
config
from
'
../../../config/env.config
'
;
import
config
from
'
../../../config/env.config
'
;
import
{
qiniuToken
}
from
'
@/services/qiniu
'
;
import
{
qiniuToken
}
from
'
@/services/qiniu
'
;
...
@@ -88,7 +89,7 @@ class PicturesWall extends React.Component {
...
@@ -88,7 +89,7 @@ class PicturesWall extends React.Component {
const
{
previewVisible
,
previewImage
,
fileList
}
=
this
.
state
;
const
{
previewVisible
,
previewImage
,
fileList
}
=
this
.
state
;
const
uploadButton
=
(
const
uploadButton
=
(
<
div
>
<
div
>
<
Icon
type=
"plus"
/>
<
PlusOutlined
/>
<
div
className=
"ant-upload-text"
>
上传图片
</
div
>
<
div
className=
"ant-upload-text"
>
上传图片
</
div
>
</
div
>
</
div
>
);
);
...
...
src/pages/orderManage/pendingDeliveryOrder/components/LogisticsForm.jsx
View file @
df7492db
import
React
,
{
useState
,
useEffect
}
from
'
react
'
;
import
React
,
{
useState
,
useEffect
}
from
'
react
'
;
import
{
Modal
,
Form
,
Select
,
Input
,
Icon
,
Card
,
notification
}
from
'
antd
'
;
import
{
MinusCircleOutlined
,
PlusCircleOutlined
}
from
'
@ant-design/icons
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Modal
,
Select
,
Input
,
Card
,
notification
}
from
'
antd
'
;
import
style
from
'
../index.less
'
;
import
style
from
'
../index.less
'
;
import
{
updateExpress
}
from
'
../service
'
;
import
{
updateExpress
}
from
'
../service
'
;
...
@@ -160,8 +163,8 @@ const LogisticsForm = props => {
...
@@ -160,8 +163,8 @@ const LogisticsForm = props => {
</
Card
>
</
Card
>
))
}
))
}
<
div
className=
{
style
.
logistics
}
>
<
div
className=
{
style
.
logistics
}
>
<
Icon
className=
{
style
.
logisticsIcon
}
onClick=
{
addForm
}
type=
"plus-circle"
/>
<
PlusCircleOutlined
className=
{
style
.
logisticsIcon
}
onClick=
{
addForm
}
/>
<
Icon
className=
{
style
.
logisticsIcon
}
onClick=
{
rmForm
}
type=
"minus-circle"
/>
<
MinusCircleOutlined
className=
{
style
.
logisticsIcon
}
onClick=
{
rmForm
}
/>
</
div
>
</
div
>
</
Form
>
</
Form
>
</
Modal
>
</
Modal
>
...
...
src/pages/reconciliation/detail/modal.jsx
View file @
df7492db
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
Modal
,
Form
,
Select
,
Input
,
notification
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Modal
,
Select
,
Input
,
notification
}
from
'
antd
'
;
import
{
updateStatus
}
from
'
../services
'
;
import
{
updateStatus
}
from
'
../services
'
;
const
FormItem
=
Form
.
Item
;
const
FormItem
=
Form
.
Item
;
...
...
src/pages/reconciliation/form.jsx
View file @
df7492db
import
React
,
{
useState
,
useEffect
}
from
'
react
'
;
import
React
,
{
useState
,
useEffect
}
from
'
react
'
;
import
{
Modal
,
Form
,
Select
,
Input
,
notification
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Modal
,
Select
,
Input
,
notification
}
from
'
antd
'
;
import
_
from
'
lodash
'
;
import
_
from
'
lodash
'
;
import
{
update
}
from
'
./services
'
;
import
{
update
}
from
'
./services
'
;
import
{
addrQuery
}
from
'
../afterSaleAddress/services
'
;
import
{
addrQuery
}
from
'
../afterSaleAddress/services
'
;
...
...
src/pages/settleManage/uploadModal/index.jsx
View file @
df7492db
import
React
,
{
useRef
,
useState
,
useEffect
}
from
'
react
'
;
import
React
,
{
useRef
,
useState
,
useEffect
}
from
'
react
'
;
import
{
Modal
,
Button
,
Tabs
,
Upload
,
notification
,
Icon
}
from
'
antd
'
;
import
{
UploadOutlined
}
from
'
@ant-design/icons
'
;
import
{
Modal
,
Button
,
Tabs
,
Upload
,
notification
}
from
'
antd
'
;
import
styles
from
'
../style.less
'
;
import
styles
from
'
../style.less
'
;
import
{
uploadFile
,
uploadPic
}
from
'
../service
'
;
import
{
uploadFile
,
uploadPic
}
from
'
../service
'
;
import
UploadC
from
'
../../components/upload
'
;
import
UploadC
from
'
../../components/upload
'
;
...
@@ -87,7 +88,7 @@ export default props => {
...
@@ -87,7 +88,7 @@ export default props => {
</
a
>
</
a
>
<
Dragger
{
...
uploadProps
}
className=
{
styles
.
clearfloat
}
>
<
Dragger
{
...
uploadProps
}
className=
{
styles
.
clearfloat
}
>
<
p
>
<
p
>
<
Icon
type=
"upload"
/>
<
UploadOutlined
/>
</
p
>
</
p
>
<
p
>
点击上传附件
</
p
>
<
p
>
点击上传附件
</
p
>
</
Dragger
>
</
Dragger
>
...
...
src/pages/user/login/components/Login/LoginItem.jsx
View file @
df7492db
import
{
Button
,
Col
,
Form
,
Input
,
Row
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Button
,
Col
,
Input
,
Row
}
from
'
antd
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
omit
from
'
omit.js
'
;
import
omit
from
'
omit.js
'
;
import
ItemMap
from
'
./map
'
;
import
ItemMap
from
'
./map
'
;
...
...
src/pages/user/login/components/Login/LoginSubmit.jsx
View file @
df7492db
import
{
Button
,
Form
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Button
}
from
'
antd
'
;
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
classNames
from
'
classnames
'
;
import
classNames
from
'
classnames
'
;
import
styles
from
'
./index.less
'
;
import
styles
from
'
./index.less
'
;
...
...
src/pages/user/login/components/Login/index.jsx
View file @
df7492db
import
{
Form
,
Tabs
}
from
'
antd
'
;
import
{
Form
}
from
'
@ant-design/compatible
'
;
import
'
@ant-design/compatible/assets/index.css
'
;
import
{
Tabs
}
from
'
antd
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
classNames
from
'
classnames
'
;
import
classNames
from
'
classnames
'
;
import
LoginContext
from
'
./LoginContext
'
;
import
LoginContext
from
'
./LoginContext
'
;
...
...
src/pages/user/login/components/Login/map.jsx
View file @
df7492db
import
{
Icon
}
from
'
antd
'
;
import
{
LockOutlined
,
MailOutlined
,
MobileOutlined
,
UserOutlined
}
from
'
@ant-design/icons
'
;
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
styles
from
'
./index.less
'
;
import
styles
from
'
./index.less
'
;
...
@@ -7,7 +7,7 @@ export default {
...
@@ -7,7 +7,7 @@ export default {
props
:
{
props
:
{
size
:
'
large
'
,
size
:
'
large
'
,
id
:
'
userName
'
,
id
:
'
userName
'
,
prefix
:
<
Icon
type=
"user"
className=
{
styles
.
prefixIcon
}
/>,
prefix
:
<
UserOutlined
className=
{
styles
.
prefixIcon
}
/>,
placeholder
:
'
admin
'
,
placeholder
:
'
admin
'
,
},
},
rules
:
[
rules
:
[
...
@@ -20,7 +20,7 @@ export default {
...
@@ -20,7 +20,7 @@ export default {
Password
:
{
Password
:
{
props
:
{
props
:
{
size
:
'
large
'
,
size
:
'
large
'
,
prefix
:
<
Icon
type=
"lock"
className=
{
styles
.
prefixIcon
}
/>,
prefix
:
<
LockOutlined
className=
{
styles
.
prefixIcon
}
/>,
type
:
'
password
'
,
type
:
'
password
'
,
id
:
'
password
'
,
id
:
'
password
'
,
placeholder
:
'
888888
'
,
placeholder
:
'
888888
'
,
...
@@ -35,7 +35,7 @@ export default {
...
@@ -35,7 +35,7 @@ export default {
Mobile
:
{
Mobile
:
{
props
:
{
props
:
{
size
:
'
large
'
,
size
:
'
large
'
,
prefix
:
<
Icon
type=
"mobile"
className=
{
styles
.
prefixIcon
}
/>,
prefix
:
<
MobileOutlined
className=
{
styles
.
prefixIcon
}
/>,
placeholder
:
'
mobile number
'
,
placeholder
:
'
mobile number
'
,
},
},
rules
:
[
rules
:
[
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
Captcha
:
{
Captcha
:
{
props
:
{
props
:
{
size
:
'
large
'
,
size
:
'
large
'
,
prefix
:
<
Icon
type=
"mail"
className=
{
styles
.
prefixIcon
}
/>,
prefix
:
<
MailOutlined
className=
{
styles
.
prefixIcon
}
/>,
placeholder
:
'
captcha
'
,
placeholder
:
'
captcha
'
,
},
},
rules
:
[
rules
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment