Commit d748872b authored by XieZhiXiong's avatar XieZhiXiong
parents db25bfc3 0b917b15
...@@ -174,7 +174,7 @@ const AddInvoice: React.FC<AddAddressPropsType> = (props) => { ...@@ -174,7 +174,7 @@ const AddInvoice: React.FC<AddAddressPropsType> = (props) => {
/> />
<Field <Field
title="地址" title="地址"
name="addres" name="address"
maxLength={40} maxLength={40}
x-component="Input" x-component="Input"
/> />
......
...@@ -79,7 +79,7 @@ const Invoice: React.FC<InvoicePropsType> = (props) => { ...@@ -79,7 +79,7 @@ const Invoice: React.FC<InvoicePropsType> = (props) => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
PublicApi.postSettleAccountsInvoiceMessageDelete({ id }).then(res => { PublicApi.postSettleAccountsInvoiceMessageDelete({ id }).then(res => {
if (res.code === 1000) { if (res.code === 1000) {
resolve() resolve(true)
fetchInvoiceList() fetchInvoiceList()
} }
}).catch(() => { }).catch(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment