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
39ed1795
Commit
39ed1795
authored
Nov 29, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 采购能力翻译
parent
76a81346
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
index.tsx
...callForBids/addNewBid/components/publicBidModal/index.tsx
+2
-2
index.tsx
...orBids/addNewBid/components/relevanceGoodDrawer/index.tsx
+2
-2
index.tsx
...ages/procurement/callForBids/addNewBid/constant/index.tsx
+2
-2
useMaterialTable.tsx
...curement/callForBids/addNewBid/model/useMaterialTable.tsx
+2
-2
No files found.
src/pages/procurement/callForBids/addNewBid/components/publicBidModal/index.tsx
View file @
39ed1795
...
...
@@ -10,7 +10,7 @@ import BASE_CONFIG from '../../../../../../../config/base.config.json'
import
{
usePageStatus
,
PageStatus
}
from
'@/hooks/usePageStatus'
;
import
{
omit
}
from
'@/utils'
import
{
postContractContractSignSaleSignContractCreate
}
from
'@/services/ContractV2Api'
import
{
use
Intl
}
from
'umi'
;
import
{
get
Intl
}
from
'umi'
;
const
shopInfo
=
BASE_CONFIG
.
web
.
shopInfo
...
...
@@ -26,7 +26,7 @@ const { pageStatus } = usePageStatus()
// 公开招标方式 发布商城弹窗
const
PublicBidModal
:
React
.
FC
<
PublicBidModalProps
>
=
(
props
)
=>
{
const
intl
=
use
Intl
();
const
intl
=
get
Intl
();
const
{
currentRef
,
pageAction
,
...
restProps
}
=
props
const
{
data
}
=
useContext
(
BidDetailContext
)
...
...
src/pages/procurement/callForBids/addNewBid/components/relevanceGoodDrawer/index.tsx
View file @
39ed1795
...
...
@@ -17,7 +17,7 @@ import { searchBrandOptionEffect, searchCustomerCategoryOptionEffect } from '../
import
{
treeReduction
}
from
'@/utils'
import
{
usePageStatus
,
PageStatus
}
from
'@/hooks/usePageStatus'
import
{
getProductCustomerGetCustomerCategoryTree
,
getProductGoodsGetGoodsList
,
getProductSelectGetSelectBrand
,
getProductSelectGetSelectCnUnit
}
from
'@/services/ProductV2Api'
import
{
use
Intl
}
from
'umi'
import
{
get
Intl
}
from
'umi'
export
interface
RelevanceGoodDrawerProps
{
type
?:
'radio'
|
'checkbox'
,
...
...
@@ -42,7 +42,7 @@ export const RelevanceGoodDrawer: React.FC<RelevanceGoodDrawerProps> = ({
...
restProps
})
=>
{
const
intl
=
use
Intl
();
const
intl
=
get
Intl
();
const
cacheRef
=
useRef
({
categorys
:
[],
...
...
src/pages/procurement/callForBids/addNewBid/constant/index.tsx
View file @
39ed1795
...
...
@@ -2,9 +2,9 @@ import React from 'react'
import
moment
from
'moment'
import
{
usePageStatus
,
PageStatus
}
from
'@/hooks/usePageStatus'
import
{
BidInStateTexts
,
BidOutStateTexts
}
from
'@/constants/procurement'
import
{
use
Intl
}
from
'umi'
;
import
{
get
Intl
}
from
'umi'
;
const
intl
=
use
Intl
();
const
intl
=
get
Intl
();
/** 时间转时间戳 */
export
const
dataChangeUnix
=
(
t
)
=>
moment
(
t
).
valueOf
()
...
...
src/pages/procurement/callForBids/addNewBid/model/useMaterialTable.tsx
View file @
39ed1795
...
...
@@ -6,7 +6,7 @@ import ProductTableCell, { ProductEditableRow } from '../components/productTable
import
{
useModalTable
}
from
'./useModalTable'
;
import
{
usePageStatus
,
PageStatus
}
from
'@/hooks/usePageStatus'
;
import
{
EyeOutlined
,
PlusOutlined
}
from
'@ant-design/icons'
;
import
{
use
Intl
}
from
'umi'
;
import
{
get
Intl
}
from
'umi'
;
const
{
pageStatus
}
=
usePageStatus
()
...
...
@@ -19,7 +19,7 @@ let orderModel = null;
*/
export
const
useMaterialTable
=
(
ctx
:
ISchemaFormActions
|
ISchemaFormAsyncActions
,
goodRef
:
any
,
drawerSchemaAction
:
ISchemaFormActions
|
ISchemaFormAsyncActions
)
=>
{
const
{
visible
,
setVisible
,
rowSelection
,
rowSelectionCtl
}
=
useModalTable
({
type
:
'checkbox'
})
const
intl
=
use
Intl
();
const
intl
=
get
Intl
();
orderModel
=
ctx
.
getFieldValue
(
'orderModel'
)
const
handleDelete
=
(
record
)
=>
{
...
...
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