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
b46fe90e
Commit
b46fe90e
authored
Oct 29, 2020
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改询价报价bug,重新整理需求发布新增的提交
parent
3f2a2597
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
45 deletions
+9
-45
tableStatusList.tsx
src/pages/transaction/common/tableStatusList.tsx
+3
-2
index.tsx
...ages/transaction/confirmInquiryQuote/quoteOrder/index.tsx
+0
-18
productModal.tsx
...ges/transaction/enquirySubmit/components/productModal.tsx
+5
-5
detail.tsx
src/pages/transaction/enquirySubmit/toAddSubmit/detail.tsx
+0
-0
index.tsx
src/pages/transaction/inquiryQuote/pendingSubmit/index.tsx
+1
-20
No files found.
src/pages/transaction/common/tableStatusList.tsx
View file @
b46fe90e
...
...
@@ -155,8 +155,8 @@ export const inquiryQuoteOuterState = (text:any) => {
let
component
:
ReactNode
=
null
;
text
===
1
?
component
=
<
Tag
color=
"default"
>
提交询价单
</
Tag
>:
text
===
2
?
component
=
<
Tag
color=
"default"
>
提交报价单
</
Tag
>:
text
===
1
?
component
=
<
Tag
color=
"processing"
>
确认报价单
</
Tag
>:
text
===
2
?
component
=
<
Tag
color=
"success"
>
报价通过
</
Tag
>:
text
===
3
?
component
=
<
Tag
color=
"processing"
>
确认报价单
</
Tag
>:
text
===
4
?
component
=
<
Tag
color=
"success"
>
报价通过
</
Tag
>:
component
=
<
Tag
color=
"error"
>
报价不通过
</
Tag
>
return
component
;
}
\ No newline at end of file
src/pages/transaction/confirmInquiryQuote/quoteOrder/index.tsx
View file @
b46fe90e
...
...
@@ -65,29 +65,11 @@ const EnquiryOrder: React.FC<{}> = (props) => {
quoteOrderInternalState
(
text
)
}];
//交易能力 询价报价 询价单查询
const
data
=
{
totalCount
:
1
,
data
:
[{
id
:
91
,
quotationNo
:
'BPTY12'
,
inquiryListNo
:
'SD2015PPLJ'
,
details
:
'阿珍爱上阿强'
,
memberName
:
'wutiaoren'
,
memberId
:
5
,
quotationAsTime
:
'2020-10-13 15:37:00'
,
voucherTime
:
'2020-10-13 15:37:00'
,
externalState
:
1
,
interiorState
:
2
}]
}
const
fetchData
=
(
params
?:
any
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getOrderNotarizeEnquiryProductQuotationList
({...
params
}).
then
(
res
=>
{
resolve
(
res
.
data
)
})
// setTimeout(() => {
// resolve(data)
// }, 1000)
})
}
// 搜索
...
...
src/pages/transaction/enquirySubmit/components/productModal.tsx
View file @
b46fe90e
...
...
@@ -46,11 +46,11 @@ const comfirmDialog: React.FC<Params> = (props) => {
const
handletOk
=
async
()
=>
{
try
{
const
value
=
await
form
.
validateFields
();
for
(
let
key
in
value
)
{
if
(
key
!==
'model'
&&
key
!==
'brand'
&&
key
!==
'purchaseNuit'
&&
key
!==
'purchaseQuantity'
)
{
value
[
key
]
=
value
[
key
].
join
(
'/'
);
}
}
//
for(let key in value) {
//
if(key !== 'model' && key !== 'brand' && key !== 'purchaseNuit' && key !== 'purchaseQuantity') {
//
value[key] = value[key].join('/');
//
}
//
}
props
.
onOK
(
value
)
}
catch
(
err
)
{
message
.
error
(
'有必填项没填写请检查!'
)
...
...
src/pages/transaction/enquirySubmit/toAddSubmit/detail.tsx
View file @
b46fe90e
This diff is collapsed.
Click to expand it.
src/pages/transaction/inquiryQuote/pendingSubmit/index.tsx
View file @
b46fe90e
...
...
@@ -98,31 +98,12 @@ const PendingSubmit: React.FC<{}> = () => {
</
Row
>
/**列表数据 */
// const data = {
// totalCount: 2,
// data: [{
// id: 1,
// quotationNo: 'BPTY12',
// inquiryListNo: 'SZX125KJS',
// details: '模拟的数据',
// memberName: '冰红茶',
// memberId: 10,
// deliveryTime: '2020-10-13 13:59:00',
// quotationAsTime: '2020-10-13 23:59:00',
// voucherTime: '2020-10-13 13:59:00',
// externalState: 1,
// interiorState: 1
// }]
// }
const
fetchData
=
(
params
?:
any
)
=>
{
console
.
log
(
params
)
//可以直接打印参数
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getOrderToSubmitProductQuotationList
({
...
params
}).
then
(
res
=>
{
resolve
(
res
.
data
)
})
// setTimeout(() => {
// resolve(data)
// }, 500)
})
}
...
...
@@ -151,7 +132,7 @@ const PendingSubmit: React.FC<{}> = () => {
const
handleModalOK
=
()
=>
{
setvisible
(
false
)
setTimeout
(()
=>
{
history
.
goBack
()
ref
.
current
.
reload
();
},
1000
)
}
...
...
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