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
8558d4a8
Commit
8558d4a8
authored
Jun 28, 2023
by
张子雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 模板第一版
parent
f4dc6983
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
482 additions
and
459 deletions
+482
-459
CustomerInfo.jsx
src/pages/businessCustomer/components/CustomerInfo.jsx
+1
-0
CustomerInfoCopy.jsx
src/pages/businessCustomer/components/CustomerInfoCopy.jsx
+479
-458
index.jsx
src/pages/businessCustomer/index.jsx
+2
-1
No files found.
src/pages/businessCustomer/components/CustomerInfo.jsx
View file @
8558d4a8
...
@@ -304,6 +304,7 @@ const CustomerInfo = props => {
...
@@ -304,6 +304,7 @@ const CustomerInfo = props => {
formData
.
mealLimit
=
mealLimitMap
;
formData
.
mealLimit
=
mealLimitMap
;
setSelectedMealTypes
(
formData
.
mealType
);
setSelectedMealTypes
(
formData
.
mealType
);
console
.
log
(
'
formData :>>
'
,
formData
);
form
.
setFieldsValue
(
formData
);
form
.
setFieldsValue
(
formData
);
}
}
};
};
...
...
src/pages/businessCustomer/components/CustomerInfoCopy.jsx
View file @
8558d4a8
This diff is collapsed.
Click to expand it.
src/pages/businessCustomer/index.jsx
View file @
8558d4a8
...
@@ -4,6 +4,7 @@ import { Button } from 'antd';
...
@@ -4,6 +4,7 @@ import { Button } from 'antd';
import
{
PlusOutlined
}
from
'
@ant-design/icons
'
;
import
{
PlusOutlined
}
from
'
@ant-design/icons
'
;
import
{
customerColumn
}
from
'
./staticData/index
'
;
import
{
customerColumn
}
from
'
./staticData/index
'
;
import
CustomerInfo
from
'
./components/CustomerInfoCopy
'
;
import
CustomerInfo
from
'
./components/CustomerInfoCopy
'
;
// import CustomerInfo from './components/CustomerInfo';
import
utilStyle
from
'
@/utils/utils.less
'
;
import
utilStyle
from
'
@/utils/utils.less
'
;
import
{
stringOrObjectTrim
}
from
'
@/utils/utils
'
;
import
{
stringOrObjectTrim
}
from
'
@/utils/utils
'
;
import
{
apiEnterpriseList
}
from
'
./service
'
;
import
{
apiEnterpriseList
}
from
'
./service
'
;
...
@@ -63,7 +64,7 @@ const BusinessCustomer = () => {
...
@@ -63,7 +64,7 @@ const BusinessCustomer = () => {
</
Button
>,
</
Button
>,
]
}
]
}
/>
/>
<
CustomerInfo
visible=
{
visible
}
id=
{
id
}
onClose=
{
onClose
}
/>
{
visible
&&
<
CustomerInfo
visible=
{
visible
}
id=
{
id
}
onClose=
{
onClose
}
/>
}
</
div
>
</
div
>
);
);
};
};
...
...
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