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
前端-黄佳鑫
jinfa-platform
Commits
01f150d2
Commit
01f150d2
authored
Dec 17, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改开始结束时间参数格式
parent
bf756820
Hide whitespace changes
Inline
Side-by-side
Showing
52 changed files
with
105 additions
and
105 deletions
+105
-105
index.tsx
...ervice/exchangeApplication/exchangePrAddDeliver/index.tsx
+2
-2
index.tsx
...vice/exchangeApplication/exchangePrAddLogistics/index.tsx
+2
-2
index.tsx
...ce/exchangeApplication/exchangePrAddWarehousing/index.tsx
+2
-2
index.tsx
...rvice/exchangeApplication/exchangePrConfirmBack/index.tsx
+2
-2
index.tsx
...erService/exchangeApplication/exchangePrDeliver/index.tsx
+2
-2
index.tsx
...rService/exchangeApplication/exchangePrFinished/index.tsx
+2
-2
index.tsx
...rService/exchangeApplication/exchangePrReceived/index.tsx
+2
-2
index.tsx
...terService/exchangeApplication/exchangePrSubmit/index.tsx
+2
-2
index.tsx
.../afterService/exchangeApplication/exchangeQuery/index.tsx
+2
-2
index.tsx
src/pages/afterService/exchangeManage/exchangePr1/index.tsx
+2
-2
index.tsx
src/pages/afterService/exchangeManage/exchangePr2/index.tsx
+2
-2
index.tsx
...fterService/exchangeManage/exchangePrAddDeliver/index.tsx
+2
-2
index.tsx
...erService/exchangeManage/exchangePrAddLogistics/index.tsx
+2
-2
index.tsx
...Service/exchangeManage/exchangePrAddWarehousing/index.tsx
+2
-2
index.tsx
...s/afterService/exchangeManage/exchangePrConfirm/index.tsx
+2
-2
index.tsx
...terService/exchangeManage/exchangePrConfirmBack/index.tsx
+2
-2
index.tsx
...s/afterService/exchangeManage/exchangePrDeliver/index.tsx
+2
-2
index.tsx
.../afterService/exchangeManage/exchangePrReceived/index.tsx
+2
-2
index.tsx
...es/afterService/exchangeManage/exchangePrSubmit/index.tsx
+2
-2
index.tsx
...pages/afterService/exchangeManage/exchangeQuery/index.tsx
+2
-2
index.tsx
...afterService/repairApplication/repairPrFinished/index.tsx
+2
-2
index.tsx
...s/afterService/repairApplication/repairPrSubmit/index.tsx
+2
-2
index.tsx
...ages/afterService/repairApplication/repairQuery/index.tsx
+2
-2
index.tsx
src/pages/afterService/repairManage/repairPr1/index.tsx
+2
-2
index.tsx
src/pages/afterService/repairManage/repairPr2/index.tsx
+2
-2
index.tsx
...pages/afterService/repairManage/repairPrConfirm/index.tsx
+2
-2
index.tsx
src/pages/afterService/repairManage/repairPrSubmit/index.tsx
+2
-2
index.tsx
src/pages/afterService/repairManage/repairQuery/index.tsx
+2
-2
index.tsx
...terService/returnApplication/returnPrAddDeliver/index.tsx
+2
-2
index.tsx
...rService/returnApplication/returnPrAddLogistics/index.tsx
+2
-2
index.tsx
...erService/returnApplication/returnPrConfirmBack/index.tsx
+2
-2
index.tsx
...Service/returnApplication/returnPrConfirmFinish/index.tsx
+2
-2
index.tsx
...Service/returnApplication/returnPrConfirmResult/index.tsx
+2
-2
index.tsx
.../afterService/returnApplication/returnPrDeliver/index.tsx
+2
-2
index.tsx
...s/afterService/returnApplication/returnPrSubmit/index.tsx
+2
-2
index.tsx
...ages/afterService/returnApplication/returnQuery/index.tsx
+2
-2
index.tsx
src/pages/afterService/returnManage/returnPr1/index.tsx
+2
-2
index.tsx
src/pages/afterService/returnManage/returnPr2/index.tsx
+2
-2
index.tsx
...fterService/returnManage/returnPrAddWarehousing/index.tsx
+2
-2
index.tsx
...pages/afterService/returnManage/returnPrConfirm/index.tsx
+2
-2
index.tsx
...ages/afterService/returnManage/returnPrReceived/index.tsx
+2
-2
index.tsx
src/pages/afterService/returnManage/returnPrReturn/index.tsx
+2
-2
index.tsx
src/pages/afterService/returnManage/returnPrSubmit/index.tsx
+2
-2
index.tsx
src/pages/afterService/returnManage/returnQuery/index.tsx
+3
-3
index.tsx
...s/payandSettle/creditApplication/quotaFormQuery/index.tsx
+2
-2
index.tsx
...es/payandSettle/creditApplication/quotaPrSubmit/index.tsx
+2
-2
index.tsx
src/pages/payandSettle/creditManage/quotaFormQuery/index.tsx
+2
-2
index.tsx
src/pages/payandSettle/creditManage/quotaPr1/index.tsx
+2
-2
index.tsx
src/pages/payandSettle/creditManage/quotaPr2/index.tsx
+2
-2
index.tsx
src/pages/payandSettle/creditManage/quotaPr3/index.tsx
+2
-2
index.tsx
src/pages/payandSettle/creditManage/quotaPrConfirm/index.tsx
+2
-2
index.tsx
src/pages/payandSettle/creditManage/quotaPrSubmit/index.tsx
+2
-2
No files found.
src/pages/afterService/exchangeApplication/exchangePrAddDeliver/index.tsx
View file @
01f150d2
...
...
@@ -156,8 +156,8 @@ const ExchangePrAddDeliver: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeAddReturnDeliveryGoods
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeApplication/exchangePrAddLogistics/index.tsx
View file @
01f150d2
...
...
@@ -132,8 +132,8 @@ const ExchangePrAddLogistics: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeAddLogisticsByConsumer
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeApplication/exchangePrAddWarehousing/index.tsx
View file @
01f150d2
...
...
@@ -156,8 +156,8 @@ const ExchangePrAddWarehousing: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeAddReplaceGoodsStorage
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeApplication/exchangePrConfirmBack/index.tsx
View file @
01f150d2
...
...
@@ -113,8 +113,8 @@ const ExchangePrConfirmBack: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeConfirmReturnGoodsReceipt
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeApplication/exchangePrDeliver/index.tsx
View file @
01f150d2
...
...
@@ -113,8 +113,8 @@ const ExchangePrDeliver: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeReturnDeliveryGoods
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeApplication/exchangePrFinished/index.tsx
View file @
01f150d2
...
...
@@ -102,8 +102,8 @@ const ExchangePrFinished: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeComplete
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeApplication/exchangePrReceived/index.tsx
View file @
01f150d2
...
...
@@ -114,8 +114,8 @@ const ExchangePrReceived: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeReplaceReceiveGoods
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeApplication/exchangePrSubmit/index.tsx
View file @
01f150d2
...
...
@@ -174,8 +174,8 @@ const ExchangePrSubmit: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeSubmitByConsumer
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeApplication/exchangeQuery/index.tsx
View file @
01f150d2
...
...
@@ -91,8 +91,8 @@ const ExchangeQuery: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageByConsumer
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeManage/exchangePr1/index.tsx
View file @
01f150d2
...
...
@@ -101,8 +101,8 @@ const ExchangePr1: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeVerifyStepOne
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeManage/exchangePr2/index.tsx
View file @
01f150d2
...
...
@@ -101,8 +101,8 @@ const ExchangePr2: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeVerifyStepTwo
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeManage/exchangePrAddDeliver/index.tsx
View file @
01f150d2
...
...
@@ -147,8 +147,8 @@ const ExchangePrAddDeliver: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeAddReplaceDeliveryGoods
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeManage/exchangePrAddLogistics/index.tsx
View file @
01f150d2
...
...
@@ -132,8 +132,8 @@ const ReturnPrAddLogistics: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeAddLogisticsBySupplier
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeManage/exchangePrAddWarehousing/index.tsx
View file @
01f150d2
...
...
@@ -156,8 +156,8 @@ const ExchangePrAddWarehousing: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeAddReturnGoodsStorage
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeManage/exchangePrConfirm/index.tsx
View file @
01f150d2
...
...
@@ -101,8 +101,8 @@ const ExchangePrConfirm: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeConfirmVerify
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeManage/exchangePrConfirmBack/index.tsx
View file @
01f150d2
...
...
@@ -113,8 +113,8 @@ const ExchangePrConfirmBack: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeConfirmReplaceGoodsReceipt
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeManage/exchangePrDeliver/index.tsx
View file @
01f150d2
...
...
@@ -113,8 +113,8 @@ const ExchangePrDeliver: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeReplaceDeliveryGoods
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeManage/exchangePrReceived/index.tsx
View file @
01f150d2
...
...
@@ -115,8 +115,8 @@ const ExchangePrReceived: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeReturnReceiveGoods
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeManage/exchangePrSubmit/index.tsx
View file @
01f150d2
...
...
@@ -101,8 +101,8 @@ const ExchangePrSubmit: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageToBeSubmitBySupplier
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/exchangeManage/exchangeQuery/index.tsx
View file @
01f150d2
...
...
@@ -91,8 +91,8 @@ const ExchangeQuery: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReplaceGoodsPageBySupplier
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/repairApplication/repairPrFinished/index.tsx
View file @
01f150d2
...
...
@@ -102,8 +102,8 @@ const RepairPrFinished: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsRepairGoodsPageToBeConfirmComplete
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/repairApplication/repairPrSubmit/index.tsx
View file @
01f150d2
...
...
@@ -168,8 +168,8 @@ const RepairPrSubmit: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsRepairGoodsPageToBeSubmitByConsumer
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/repairApplication/repairQuery/index.tsx
View file @
01f150d2
...
...
@@ -84,8 +84,8 @@ const RepairQuery: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsRepairGoodsPageByConsumer
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/repairManage/repairPr1/index.tsx
View file @
01f150d2
...
...
@@ -94,8 +94,8 @@ const RepairPr1: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsRepairGoodsPageToBeVerifyStepOne
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/repairManage/repairPr2/index.tsx
View file @
01f150d2
...
...
@@ -94,8 +94,8 @@ const RepairPr2: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsRepairGoodsPageToBeVerifyStepTwo
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/repairManage/repairPrConfirm/index.tsx
View file @
01f150d2
...
...
@@ -94,8 +94,8 @@ const RepairPrConfirm: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsRepairGoodsPageToBeConfirm
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/repairManage/repairPrSubmit/index.tsx
View file @
01f150d2
...
...
@@ -94,8 +94,8 @@ const RepairPrSubmit: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsRepairGoodsPageToBeSubmitBySupplier
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/repairManage/repairQuery/index.tsx
View file @
01f150d2
...
...
@@ -84,8 +84,8 @@ const RepairManageQuery: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsRepairGoodsPageBySupplier
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnApplication/returnPrAddDeliver/index.tsx
View file @
01f150d2
...
...
@@ -161,8 +161,8 @@ const ReturnPrAddDeliver: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeAddReturnDeliveryGoods
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnApplication/returnPrAddLogistics/index.tsx
View file @
01f150d2
...
...
@@ -137,8 +137,8 @@ const ReturnPrAddLogistics: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeAddLogisticsByConsumer
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnApplication/returnPrConfirmBack/index.tsx
View file @
01f150d2
...
...
@@ -120,8 +120,8 @@ const ReturnPrConfirmBack: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeConfirmReturnGoodsReceipt
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnApplication/returnPrConfirmFinish/index.tsx
View file @
01f150d2
...
...
@@ -109,8 +109,8 @@ const ReturnPrConfirmFinish: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeComplete
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnApplication/returnPrConfirmResult/index.tsx
View file @
01f150d2
...
...
@@ -114,8 +114,8 @@ const ReturnPrConfirmResult: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeConfirmRefund
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnApplication/returnPrDeliver/index.tsx
View file @
01f150d2
...
...
@@ -120,8 +120,8 @@ const ReturnPrDeliver: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeReturnDeliveryGoods
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnApplication/returnPrSubmit/index.tsx
View file @
01f150d2
...
...
@@ -179,8 +179,8 @@ const ReturnPrSubmit: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeSubmitByConsumer
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnApplication/returnQuery/index.tsx
View file @
01f150d2
...
...
@@ -96,8 +96,8 @@ const ReturnQuery: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageByConsumer
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnManage/returnPr1/index.tsx
View file @
01f150d2
...
...
@@ -106,8 +106,8 @@ const ReturnPr1: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeVerifyStepOne
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnManage/returnPr2/index.tsx
View file @
01f150d2
...
...
@@ -106,8 +106,8 @@ const ReturnPr2: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeVerifyStepTwo
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnManage/returnPrAddWarehousing/index.tsx
View file @
01f150d2
...
...
@@ -161,8 +161,8 @@ const ReturnPrAddWarehousing: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeAddReturnGoodsStorage
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnManage/returnPrConfirm/index.tsx
View file @
01f150d2
...
...
@@ -106,8 +106,8 @@ const ReturnPrConfirm: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeConfirmVerify
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnManage/returnPrReceived/index.tsx
View file @
01f150d2
...
...
@@ -120,8 +120,8 @@ const ReturnPrReceived: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeReturnReceiveGoods
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnManage/returnPrReturn/index.tsx
View file @
01f150d2
...
...
@@ -111,8 +111,8 @@ const ReturnPrReturn: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeRefund
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnManage/returnPrSubmit/index.tsx
View file @
01f150d2
...
...
@@ -106,8 +106,8 @@ const ReturnPrSubmit: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageToBeSubmitBySupplier
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/afterService/returnManage/returnQuery/index.tsx
View file @
01f150d2
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-05 14:25:41
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-1
0 10:07:08
* @LastEditTime: 2020-12-1
7 18:09:39
* @Description: 退货申请单查询
*/
import
React
,
{
useState
,
useRef
}
from
'react'
;
...
...
@@ -96,8 +96,8 @@ const ReturnQuery: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getAsReturnGoodsPageBySupplier
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/payandSettle/creditApplication/quotaFormQuery/index.tsx
View file @
01f150d2
...
...
@@ -104,8 +104,8 @@ const QuotaFormQuery: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getPayCreditApplyPageCreditApply
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/payandSettle/creditApplication/quotaPrSubmit/index.tsx
View file @
01f150d2
...
...
@@ -196,8 +196,8 @@ const QuotaPrSubmit: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getPayCreditApplyPageWaitSubmitCreditApply
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/payandSettle/creditManage/quotaFormQuery/index.tsx
View file @
01f150d2
...
...
@@ -106,8 +106,8 @@ const QuotaFormQuery: React.FC = () => {
const
{
startTime
,
endTime
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getPayCreditHandlePageCreditChildApply
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
...
rest
,
})
.
then
(
res
=>
{
...
...
src/pages/payandSettle/creditManage/quotaPr1/index.tsx
View file @
01f150d2
...
...
@@ -125,8 +125,8 @@ const QuotaPr1: React.FC = () => {
const
{
startTime
,
endTime
,
applyType
=
0
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getPayCreditHandlePageCreditChildWaitVerifyApplyStepOne
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
applyType
,
...
rest
,
})
...
...
src/pages/payandSettle/creditManage/quotaPr2/index.tsx
View file @
01f150d2
...
...
@@ -125,8 +125,8 @@ const QuotaPr1: React.FC = () => {
const
{
startTime
,
endTime
,
applyType
=
0
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getPayCreditHandlePageCreditChildWaitVerifyApplyStepTwo
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
applyType
,
...
rest
,
})
...
...
src/pages/payandSettle/creditManage/quotaPr3/index.tsx
View file @
01f150d2
...
...
@@ -125,8 +125,8 @@ const QuotaPr3: React.FC = () => {
const
{
startTime
,
endTime
,
applyType
=
0
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getPayCreditHandlePageCreditChildWaitVerifyApplyStepThree
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
applyType
,
...
rest
,
})
...
...
src/pages/payandSettle/creditManage/quotaPrConfirm/index.tsx
View file @
01f150d2
...
...
@@ -125,8 +125,8 @@ const QuotaPrConfirm: React.FC = () => {
const
{
startTime
,
endTime
,
applyType
=
0
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getPayCreditHandlePageCreditChildWaitConfirmVerifyApply
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
applyType
,
...
rest
,
})
...
...
src/pages/payandSettle/creditManage/quotaPrSubmit/index.tsx
View file @
01f150d2
...
...
@@ -125,8 +125,8 @@ const QuotaPrSubmit: React.FC = () => {
const
{
startTime
,
endTime
,
applyType
=
0
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getPayCreditHandlePageCreditChildWaitSubmitApply
({
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD'
)
:
null
,
startTime
:
startTime
?
moment
(
+
startTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
endTime
:
endTime
?
moment
(
+
endTime
).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
,
applyType
,
...
rest
,
})
...
...
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