Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
shenshaokai
jinfa-platform
Commits
01304ce5
Commit
01304ce5
authored
Jan 08, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复修改发票信息无法修改到地址的问题
parent
578705e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
index.tsx
src/pages/lxMall/order/components/addInvoice/index.tsx
+3
-3
index.tsx
src/pages/lxMall/order/index.tsx
+1
-1
index.tsx
src/pages/lxMall/order/invoice/index.tsx
+1
-1
No files found.
src/pages/lxMall/order/components/addInvoice/index.tsx
View file @
01304ce5
...
...
@@ -40,8 +40,8 @@ const AddInvoice: React.FC<AddAddressPropsType> = (props) => {
/**
* @description: Form保存
* @param {type}
* @return:
* @param {type}
* @return:
*/
const
formSubmit
=
(
values
)
=>
{
values
.
isDefault
?
values
.
isDefault
=
1
:
values
.
isDefault
=
0
...
...
@@ -174,7 +174,7 @@ const AddInvoice: React.FC<AddAddressPropsType> = (props) => {
/>
<
Field
title=
"地址"
name=
"addres"
name=
"addres
s
"
maxLength=
{
40
}
x
-
component=
"Input"
/>
...
...
src/pages/lxMall/order/index.tsx
View file @
01304ce5
...
...
@@ -241,7 +241,7 @@ const Order: React.FC<OrderPropsType> = (props) => {
setLogisticsFee
(
Number
(
res
.
data
))
}
catch
(
error
)
{
console
.
log
(
error
)
}
}
}
}
}
...
...
src/pages/lxMall/order/invoice/index.tsx
View file @
01304ce5
...
...
@@ -79,7 +79,7 @@ const Invoice: React.FC<InvoicePropsType> = (props) => {
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
postSettleAccountsInvoiceMessageDelete
({
id
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
resolve
()
resolve
(
true
)
fetchInvoiceList
()
}
}).
catch
(()
=>
{
...
...
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