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
7e30e2cf
Commit
7e30e2cf
authored
Aug 16, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 待支付订单列表
parent
5b53736f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
13 deletions
+12
-13
index.tsx
...yCheckedConfirmFirst/components/remarkBidReport/index.tsx
+2
-2
index.tsx
src/pages/procurement/callForBids/readyPassBid/index.tsx
+0
-1
useOrderDetail.tsx
...ages/transaction/_public/order/effects/useOrderDetail.tsx
+4
-4
index.tsx
src/pages/transaction/purchaseOrder/index.tsx
+2
-2
index.tsx
.../transaction/purchaseOrder/readyPayOrder/detail/index.tsx
+1
-1
index.tsx
src/pages/transaction/purchaseOrder/readyPayOrder/index.tsx
+1
-1
index.ts
...s/transaction/purchaseOrder/readyPayOrder/schema/index.ts
+2
-2
No files found.
src/pages/procurement/callForBids/readyCheckedConfirmFirst/components/remarkBidReport/index.tsx
View file @
7e30e2cf
...
...
@@ -23,8 +23,8 @@ export interface RemarkBidReportProps {
const
RemarkBidReport
:
React
.
FC
<
RemarkBidReportProps
>
=
({
cardTitle
})
=>
{
const
{
data
,
submitData
,
submitCtl
}
=
useContext
(
ReadyConfirmBidContext
)
const
[
transferRadio
,
setTransferRadio
]
=
useState
<
number
>
(
0
)
const
{
fileList
,
recommandList
,
childTableData
}
=
submitData
const
{
set
FileList
,
set
RecommandList
,
setChildrenTableData
}
=
submitCtl
const
{
recommandList
,
childTableData
}
=
submitData
const
{
setRecommandList
,
setChildrenTableData
}
=
submitCtl
const
[
evaluationRecord
,
setEvaluationRecord
]
=
useState
<
any
>
([])
const
[
childTableColumns
,
setChildrenTableColumns
]
=
useState
<
any
>
([])
...
...
src/pages/procurement/callForBids/readyPassBid/index.tsx
View file @
7e30e2cf
...
...
@@ -10,7 +10,6 @@ import { FORM_FILTER_PATH } from '@/formSchema/const'
import
Submit
from
'@/components/NiceForm/components/Submit'
import
DateRangePickerUnix
from
'@/components/NiceForm/components/DateRangePickerUnix'
import
'../../constants/index.less'
import
{
BidInsideWorkState
,
BidOuterWorkState
}
from
'@/constants/procurement'
// 待确认定标 招标
...
...
src/pages/transaction/_public/order/effects/useOrderDetail.tsx
View file @
7e30e2cf
...
...
@@ -9,8 +9,8 @@ import { message } from 'antd'
import
{
history
}
from
'umi'
interface
OrderDetailHookProps
{
// 采购、销售、待收货、待确认发货
type
:
'purchaseOrder'
|
'saleOrder'
|
'p_readyReceiveOrder'
|
's_readyConfirmDelevedOrder'
// 采购、销售、待收货、待确认发货
、待支付
type
:
'purchaseOrder'
|
'saleOrder'
|
'p_readyReceiveOrder'
|
's_readyConfirmDelevedOrder'
|
'p_readyPayOrder'
}
// 订单详情, 支持两种订单模式
...
...
@@ -63,6 +63,8 @@ export const useOrderDetail = (options: OrderDetailHookProps) => {
break
;
case
's_readyConfirmDelevedOrder'
:
api
=
PublicApi
.
getOrderVendorValidateDeliveryDetail
;
break
;
case
'p_readyPayOrder'
:
api
=
PublicApi
.
getOrderBuyerValidatePayDetail
;
break
;
default
:
api
=
PublicApi
.
getOrderBuyerDetail
;
}
...
...
@@ -71,7 +73,6 @@ export const useOrderDetail = (options: OrderDetailHookProps) => {
const
reloadFormData
=
useCallback
(()
=>
{
if
(
id
||
orderNo
)
{
// const fn = type === 'purchaseOrder' ? PublicApi.getOrderBuyerDetail : PublicApi.getOrderVendorDetail
const
fn
=
getDetailsApi
(
type
)
// @ts-ignore
fn
(
id
?
{
orderId
:
id
}
:
{
orderNo
},
{
ctlType
:
"none"
}).
then
(
res
=>
{
...
...
@@ -108,7 +109,6 @@ export const useOrderDetail = (options: OrderDetailHookProps) => {
}
return
{
formContext
,
id
,
...
...
src/pages/transaction/purchaseOrder/index.tsx
View file @
7e30e2cf
...
...
@@ -127,13 +127,13 @@ const PurchaseOrder: React.FC<PurchaseOrderProps> = (props) => {
const
renderOptionButton
=
(
record
:
any
)
=>
{
const
buttonGroup
=
{
'取消订单'
:
record
.
showCancel
,
//
'售后': record.showAfterSales,
'售后'
:
record
.
showAfterSales
,
'评价'
:
record
.
showComment
}
const
operationHandler
=
{
'取消订单'
:
()
=>
handleCancel
(
record
.
orderId
),
//
'售后': () => handleSaleAfter(record),
'售后'
:
()
=>
handleSaleAfter
(
record
),
'评价'
:
()
=>
handleEvaluate
(
record
.
orderId
),
}
...
...
src/pages/transaction/purchaseOrder/readyPayOrder/detail/index.tsx
View file @
7e30e2cf
...
...
@@ -10,7 +10,7 @@ import OrderDetailSection from '../../../components/orderDetailSection';
import
OrderPayModal
from
'@/pages/transaction/components/orderPayModal'
;
const
ReadyConfirmContract
:
React
.
FC
=
()
=>
{
const
{
formContext
,
id
,
detailList
}
=
useOrderDetail
({
type
:
'p
urchase
Order'
})
const
{
formContext
,
id
,
detailList
}
=
useOrderDetail
({
type
:
'p
_readyPay
Order'
})
const
{
data
,
currentPayInfoId
}
=
formContext
const
payRef
=
useRef
<
any
>
({})
...
...
src/pages/transaction/purchaseOrder/readyPayOrder/index.tsx
View file @
7e30e2cf
...
...
@@ -16,7 +16,7 @@ import '../index.less'
export
interface
ReadyPayOrderProps
{}
const
fetchTableData
=
async
(
params
)
=>
{
const
{
data
}
=
await
PublicApi
.
getOrderBuyer
Page
({...
params
,
outerStatus
:
6
}
)
const
{
data
}
=
await
PublicApi
.
getOrderBuyer
ValidatePayPage
(
params
)
return
data
}
...
...
src/pages/transaction/purchaseOrder/readyPayOrder/schema/index.ts
View file @
7e30e2cf
...
...
@@ -30,7 +30,7 @@ export const tableListSchema: any = () => {
}
},
properties
:
{
digest
:
{
"digest"
:
{
type
:
'string'
,
'x-component-props'
:
{
placeholder
:
'请输入订单摘要'
,
...
...
@@ -53,7 +53,7 @@ export const tableListSchema: any = () => {
}))
},
"[startDate,endDate]"
:
{
type
:
'dat
a
range'
,
type
:
'dat
e
range'
,
// "x-component": 'DateRangePickerUnix',
'x-component-props'
:
{
placeholder
:
[
'开始时间'
,
'结束时间'
],
...
...
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