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
linweijiong
jinfa-platform
Commits
51da49cd
Commit
51da49cd
authored
Nov 18, 2021
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改剩余接口引入路径
parent
69dc9e2f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
40 additions
and
40 deletions
+40
-40
index.tsx
src/pages/afterService/components/DeliverDrawer/index.tsx
+0
-0
index.tsx
...ges/afterService/components/ExchangeAddressInfo/index.tsx
+36
-36
index.tsx
...ges/afterService/components/ManualDeliveryModal/index.tsx
+0
-0
index.tsx
src/pages/handling/assign/tobeAddQuery/index.tsx
+1
-1
detailNoticeInfoColumns.tsx
...pages/handling/common/columns/detailNoticeInfoColumns.tsx
+1
-1
columns.tsx
src/pages/handling/components/DeliveryInfo/columns.tsx
+1
-1
index.tsx
src/pages/handling/components/DeliveryInfo/index.tsx
+1
-1
index.tsx
...lication/quotaMenage/detail/components/BillInfo/index.tsx
+0
-0
index.tsx
...itManage/quotaMenage/detail/components/BillInfo/index.tsx
+0
-0
fetchBillList.ts
...ckSellStorage/bills/components/BillsForm/fetchBillList.ts
+0
-0
No files found.
src/pages/afterService/components/DeliverDrawer/index.tsx
View file @
51da49cd
This diff is collapsed.
Click to expand it.
src/pages/afterService/components/ExchangeAddressInfo/index.tsx
View file @
51da49cd
...
...
@@ -8,24 +8,24 @@
import
React
,
{
useEffect
}
from
'react'
;
import
MellowCard
,
{
MellowCardProps
}
from
'@/components/MellowCard'
;
import
{
createAsyncFormActions
,
FormEffectHooks
}
from
'@formily/antd'
;
import
{
getLogisticsSelectListShipperAddress
}
from
'@/services/LogiticsV2Api'
;
import
{
getLogisticsSelectListShipperAddress
}
from
'@/services/Logi
s
ticsV2Api'
;
import
{
useAsyncSelect
}
from
'@/formSchema/effects/useAsyncSelect'
;
import
{
useLinkageUtils
}
from
'@/utils/formEffectUtils'
;
import
NiceForm
from
'@/components/NiceForm'
;
import
{
schema
}
from
'./schema'
;
const
modalFormActions
=
createAsyncFormActions
();
const
{
onFieldInputChange$
,
const
{
onFieldInputChange$
,
}
=
FormEffectHooks
;
export
interface
Values
{
deliveryType
:
number
,
id
:
number
,
isDefault
:
number
,
sendAddress
:
string
|
undefined
,
sendUserName
:
string
|
undefined
,
sendUserTel
:
string
|
undefined
,
id
:
number
,
isDefault
:
number
,
sendAddress
:
string
|
undefined
,
sendUserName
:
string
|
undefined
,
sendUserTel
:
string
|
undefined
,
}
interface
AddressData
{
...
...
@@ -99,7 +99,7 @@ interface ExchangeAddressInfo extends MellowCardProps {
* 完整地址
*/
fullAddress
:
string
;
},
},
/**
* 换货发货地址
...
...
@@ -125,7 +125,7 @@ interface ExchangeAddressInfo extends MellowCardProps {
* 完整地址
*/
fullAddress
:
string
;
},
},
/**
* 提交事件
...
...
@@ -198,7 +198,7 @@ const ExchangeAddressInfo: React.FC<ExchangeAddressInfo> = ({
});
break
;
};
default
:
default
:
break
};
},
[
shippingAddress
.
deliveryType
,
isEdit
]);
...
...
@@ -212,13 +212,13 @@ const ExchangeAddressInfo: React.FC<ExchangeAddressInfo> = ({
return
new
Promise
((
resolve
,
reject
)
=>
{
getLogisticsSelectListShipperAddress
().
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
const
options
=
res
.
data
?
const
options
=
res
.
data
?
res
.
data
.
map
(
item
=>
({
label
:
`
${
item
.
fullAddress
}
/
${
item
.
shipperName
}
/
${
item
.
phone
}
`
,
value
:
item
.
id
,
...
item
,
}))
:
label
:
`
${
item
.
fullAddress
}
/
${
item
.
shipperName
}
/
${
item
.
phone
}
`
,
value
:
item
.
id
,
...
item
,
}))
:
[];
resolve
(
options
);
}
...
...
@@ -226,7 +226,7 @@ const ExchangeAddressInfo: React.FC<ExchangeAddressInfo> = ({
}).
catch
(()
=>
{
reject
();
});
});
});
};
return
(
...
...
@@ -234,11 +234,11 @@ const ExchangeAddressInfo: React.FC<ExchangeAddressInfo> = ({
title=
"换货收货地址"
{
...
rest
}
>
<
NiceForm
<
NiceForm
initialValues=
{
{
deliveryType
:
shippingAddress
.
deliveryType
,
shippingAddress
:
shippingAddress
.
id
,
pickupAddress
:
shippingAddress
.
id
,
deliveryType
:
shippingAddress
.
deliveryType
,
shippingAddress
:
shippingAddress
.
id
,
pickupAddress
:
shippingAddress
.
id
,
deliveryAddress
,
shippingAddressShow
:
shippingAddress
,
}
}
...
...
@@ -251,7 +251,7 @@ const ExchangeAddressInfo: React.FC<ExchangeAddressInfo> = ({
// 联动配送方式
onFieldInputChange$
(
'deliveryType'
).
subscribe
(
fieldState
=>
{
const
{
value
}
=
fieldState
;
switch
(
value
)
{
// 物流
case
1
:
{
...
...
@@ -270,18 +270,18 @@ const ExchangeAddressInfo: React.FC<ExchangeAddressInfo> = ({
linkage
.
hide
(
'*(shippingAddress,pickupAddress)'
);
break
;
};
default
:
default
:
break
};
if
(
onFormSubmit
)
{
onFormSubmit
({
deliveryType
:
value
,
id
:
undefined
,
isDefault
:
undefined
,
sendAddress
:
undefined
,
sendUserName
:
undefined
,
sendUserTel
:
undefined
,
id
:
undefined
,
isDefault
:
undefined
,
sendAddress
:
undefined
,
sendUserName
:
undefined
,
sendUserTel
:
undefined
,
});
}
});
...
...
@@ -301,18 +301,18 @@ const ExchangeAddressInfo: React.FC<ExchangeAddressInfo> = ({
if
(
onFormSubmit
)
{
onFormSubmit
({
deliveryType
:
deliveryTypeValue
,
id
:
fullData
?
fullData
.
id
:
undefined
,
isDefault
:
fullData
?
fullData
.
isDefault
:
undefined
,
sendAddress
:
fullData
?
fullData
.
fullAddress
:
undefined
,
sendUserName
:
fullData
?
fullData
.
shipperName
:
undefined
,
sendUserTel
:
fullData
?
fullData
.
phone
:
undefined
,
id
:
fullData
?
fullData
.
id
:
undefined
,
isDefault
:
fullData
?
fullData
.
isDefault
:
undefined
,
sendAddress
:
fullData
?
fullData
.
fullAddress
:
undefined
,
sendUserName
:
fullData
?
fullData
.
shipperName
:
undefined
,
sendUserTel
:
fullData
?
fullData
.
phone
:
undefined
,
});
}
});
}
}
components=
{
{
Address
,
ShippingAddress
,
Address
,
ShippingAddress
,
}
}
editable=
{
isEdit
}
actions=
{
modalFormActions
}
...
...
src/pages/afterService/components/ManualDeliveryModal/index.tsx
View file @
51da49cd
This diff is collapsed.
Click to expand it.
src/pages/handling/assign/tobeAddQuery/index.tsx
View file @
51da49cd
...
...
@@ -16,7 +16,7 @@ import useFetchFilterData, { FilterResType } from '../../common/hooks/useFetchFi
import
useColumnWithFilter
from
'../../common/hooks/useColumnWithFilter'
;
import
{
PlusOutlined
}
from
'@ant-design/icons'
;
import
{
history
,
Link
}
from
'umi'
import
{
PostEnhanceSupplierToBeAddBatchDeleteResponse
,
PostEnhanceSupplierToBeAddBatchSubmitExamResponse
,
PostEnhanceSupplierToBeAddDeleteResponse
,
PostEnhanceSupplierToBeAddSubmitExamResponse
}
from
'@/services/EnhanceApi'
;
import
{
PostEnhanceSupplierToBeAddBatchDeleteResponse
,
PostEnhanceSupplierToBeAddBatchSubmitExamResponse
,
PostEnhanceSupplierToBeAddDeleteResponse
,
PostEnhanceSupplierToBeAddSubmitExamResponse
}
from
'@/services/Enhance
V2
Api'
;
import
useBatchSubmit
from
'../../common/hooks/useBatchSubmit'
;
import
useSingleActionSubmit
from
'../../common/hooks/useSingleAction'
;
import
{
getEnhanceSupplierToBeAddList
,
postEnhanceSupplierToBeAddBatchDelete
,
postEnhanceSupplierToBeAddBatchSubmitExam
,
postEnhanceSupplierToBeAddDelete
,
postEnhanceSupplierToBeAddSubmitExam
}
from
'@/services/EnhanceV2Api'
;
...
...
src/pages/handling/common/columns/detailNoticeInfoColumns.tsx
View file @
51da49cd
import
React
from
'react'
;
import
{
ColumnsType
}
from
'antd/es/table'
;
import
{
Link
}
from
'umi'
;
import
{
GetEnhanceSupplierAllDetailsResponse
}
from
'@/services/EnhanceApi'
;
import
{
GetEnhanceSupplierAllDetailsResponse
}
from
'@/services/Enhance
V2
Api'
;
import
{
numFormat
}
from
'@/utils/numberFomat'
import
moment
from
'moment'
;
...
...
src/pages/handling/components/DeliveryInfo/columns.tsx
View file @
51da49cd
...
...
@@ -3,7 +3,7 @@ import { ColumnsType } from 'antd/es/table';
import
moment
from
'moment'
;
import
{
Badge
}
from
'antd'
;
import
EyePreview
from
'@/components/EyePreview'
;
import
{
GetEnhanceSupplierAllDetailsResponse
}
from
'@/services/EnhanceApi'
;
import
{
GetEnhanceSupplierAllDetailsResponse
}
from
'@/services/Enhance
V2
Api'
;
import
{
Link
}
from
'umi'
;
import
DescProgress
from
'@/components/DescProgress'
;
...
...
src/pages/handling/components/DeliveryInfo/index.tsx
View file @
51da49cd
import
MellowCard
from
'@/components/MellowCard'
import
React
,
{
useEffect
,
useMemo
,
useState
}
from
'react'
import
{
GetEnhanceSupplierAllDetailsResponse
}
from
'@/services/EnhanceApi'
;
import
{
GetEnhanceSupplierAllDetailsResponse
}
from
'@/services/Enhance
V2
Api'
;
import
{
statisticsColumns
as
orderColumns
,
productColumns
,
infoOrderColumns
,
infoProductColumns
}
from
'./columns'
;
import
ButtonSwitch
from
'@/components/ButtonSwitch'
;
import
{
Table
,
Button
,
Tabs
}
from
'antd'
;
...
...
src/pages/payandSettle/creditApplication/quotaMenage/detail/components/BillInfo/index.tsx
View file @
51da49cd
This diff is collapsed.
Click to expand it.
src/pages/payandSettle/creditManage/quotaMenage/detail/components/BillInfo/index.tsx
View file @
51da49cd
This diff is collapsed.
Click to expand it.
src/pages/transaction/stockSellStorage/bills/components/BillsForm/fetchBillList.ts
View file @
51da49cd
This diff is collapsed.
Click to expand it.
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