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
shenshaokai
jinfa-platform
Commits
7ff0590c
Commit
7ff0590c
authored
Mar 10, 2022
by
wzy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 商品弹窗接口对接
parent
ee2f4da4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
52 additions
and
5 deletions
+52
-5
commodity.ts
src/locales/en-US/commodity.ts
+25
-0
commodity.ts
src/locales/ko-KR/commodity.ts
+25
-0
commodity.ts
src/locales/zh-CN/commodity.ts
+0
-0
index.tsx
src/pages/commodity/products/index.tsx
+2
-5
productModal.tsx
src/pages/commodity/products/productModal.tsx
+0
-0
No files found.
src/locales/en-US/commodity.ts
View file @
7ff0590c
...
@@ -116,6 +116,7 @@ export default {
...
@@ -116,6 +116,7 @@ export default {
'commodity.products.buttonGroup.5'
:
'On shelf'
,
'commodity.products.buttonGroup.5'
:
'On shelf'
,
'commodity.products.buttonGroup.6'
:
'Remove'
,
'commodity.products.buttonGroup.6'
:
'Remove'
,
'commodity.products.buttonGroup.7'
:
'View supply products'
,
'commodity.products.buttonGroup.7'
:
'View supply products'
,
'commodity.products.buttonGroup.8'
:
'View upstream goods'
,
'commodity.products.operationHandler.1'
:
'Copy'
,
'commodity.products.operationHandler.1'
:
'Copy'
,
'commodity.products.operationHandler.2'
:
'Submit for review'
,
'commodity.products.operationHandler.2'
:
'Submit for review'
,
'commodity.products.operationHandler.3'
:
'Modify'
,
'commodity.products.operationHandler.3'
:
'Modify'
,
...
@@ -123,6 +124,7 @@ export default {
...
@@ -123,6 +124,7 @@ export default {
'commodity.products.operationHandler.5'
:
'On shelf'
,
'commodity.products.operationHandler.5'
:
'On shelf'
,
'commodity.products.operationHandler.6'
:
'Remove'
,
'commodity.products.operationHandler.6'
:
'Remove'
,
'commodity.products.operationHandler.7'
:
'View supply products'
,
'commodity.products.operationHandler.7'
:
'View supply products'
,
'commodity.products.operationHandler.8'
:
'View upstream goods'
,
'commodity.products.step0Description.text.1'
:
'Click to download EXCEL file template'
,
'commodity.products.step0Description.text.1'
:
'Click to download EXCEL file template'
,
'commodity.products.step0Description.text.2'
:
'According to the template to organize product information'
,
'commodity.products.step0Description.text.2'
:
'According to the template to organize product information'
,
'commodity.products.step0Description.text.3'
:
'Click the import button to import the organized product information'
,
'commodity.products.step0Description.text.3'
:
'Click the import button to import the organized product information'
,
...
@@ -1121,4 +1123,27 @@ export default {
...
@@ -1121,4 +1123,27 @@ export default {
'commodity.putawayGuide.modal.button.3'
:
'Configuring the Order Process'
,
'commodity.putawayGuide.modal.button.3'
:
'Configuring the Order Process'
,
'commodity.putawayGuide.modal.h3.4'
:
'Goods shelves'
,
'commodity.putawayGuide.modal.h3.4'
:
'Goods shelves'
,
'commodity.products.huoqushangyougongyingshangpin'
:
'Get upstream supply products'
,
'commodity.products.huoquxiayouxiaoshoushangpin'
:
'Get downstream sales products'
,
'commodity.products.shangyougongyingxuanzeshangpin'
:
'Upstream supply selection products'
,
'commodity.products.xiayouxiaoshouxuanzeshangpin'
:
'Selected products for downstream sales'
,
'commodity.products.xuhao'
:
'serial number'
,
'commodity.products.shangyougongyinghuiyuanmingcheng'
:
'Upstream supply member name'
,
'commodity.products.shangyougongyingshangpinID'
:
'Upstream supply commodity ID'
,
'commodity.products.shangyougongyingshangpinmingcheng'
:
'Upstream supply product name'
,
'commodity.products.pinlei'
:
'category'
,
'commodity.products.pinpai'
:
'brand'
,
'commodity.products.danwei'
:
'Units'
,
'commodity.products.shangpindingjia'
:
'Commodity pricing'
,
'commodity.products.jiage'
:
'price'
,
'commodity.products.zhakanshangyoushangpin'
:
'View upstream products'
,
'commodity.products.guanbi'
:
'off'
,
'commodity.products.shangpinID'
:
'Commodity ID'
,
'commodity.products.shangpinmingcheng'
:
'Product name'
,
'commodity.products.shangyougongyinghuiyuan'
:
'Upstream supply member'
,
'commodity.products.xiayouxiaoshouhuiyuan'
:
'Downstream sales member'
,
'commodity.products.danjia'
:
'unit price'
,
'commodity.products.zhuangtai'
:
'Status'
,
'commodity.products.xuanzeshangyougongyingshangpin'
:
'Select upstream supply products'
,
'commodity.products.xuanzexiayouxiaoshoushangpin'
:
'Select downstream products for sale'
,
}
}
src/locales/ko-KR/commodity.ts
View file @
7ff0590c
...
@@ -117,6 +117,7 @@ export default {
...
@@ -117,6 +117,7 @@ export default {
'commodity.products.buttonGroup.5'
:
'상가'
,
'commodity.products.buttonGroup.5'
:
'상가'
,
'commodity.products.buttonGroup.6'
:
'내리다'
,
'commodity.products.buttonGroup.6'
:
'내리다'
,
'commodity.products.buttonGroup.7'
:
'공급 품목 보기'
,
'commodity.products.buttonGroup.7'
:
'공급 품목 보기'
,
'commodity.products.buttonGroup.8'
:
'업스트림 상품 보기'
,
'commodity.products.operationHandler.1'
:
'복제하다'
,
'commodity.products.operationHandler.1'
:
'복제하다'
,
'commodity.products.operationHandler.2'
:
'제출 심사'
,
'commodity.products.operationHandler.2'
:
'제출 심사'
,
'commodity.products.operationHandler.3'
:
'수정'
,
'commodity.products.operationHandler.3'
:
'수정'
,
...
@@ -124,6 +125,7 @@ export default {
...
@@ -124,6 +125,7 @@ export default {
'commodity.products.operationHandler.5'
:
'상가'
,
'commodity.products.operationHandler.5'
:
'상가'
,
'commodity.products.operationHandler.6'
:
'내리다'
,
'commodity.products.operationHandler.6'
:
'내리다'
,
'commodity.products.operationHandler.7'
:
'공급 품목 보기'
,
'commodity.products.operationHandler.7'
:
'공급 품목 보기'
,
'commodity.products.operationHandler.8'
:
'업스트림 상품 보기'
,
'commodity.products.step0Description.text.1'
:
'클릭하여 EXCEL 파일 템플릿 다운로드'
,
'commodity.products.step0Description.text.1'
:
'클릭하여 EXCEL 파일 템플릿 다운로드'
,
'commodity.products.step0Description.text.2'
:
'양식에 따라 물품 자료를 정리하다.'
,
'commodity.products.step0Description.text.2'
:
'양식에 따라 물품 자료를 정리하다.'
,
'commodity.products.step0Description.text.3'
:
'가져오기 버튼을 클릭하여 정리된 물품 자료를 가져오기'
,
'commodity.products.step0Description.text.3'
:
'가져오기 버튼을 클릭하여 정리된 물품 자료를 가져오기'
,
...
@@ -1121,4 +1123,27 @@ export default {
...
@@ -1121,4 +1123,27 @@ export default {
'commodity.putawayGuide.modal.button.3'
:
'주문 프로세스 설정'
,
'commodity.putawayGuide.modal.button.3'
:
'주문 프로세스 설정'
,
'commodity.putawayGuide.modal.h3.4'
:
'진열대 상품'
,
'commodity.putawayGuide.modal.h3.4'
:
'진열대 상품'
,
'commodity.products.huoqushangyougongyingshangpin'
:
'상류 공급 제품 가져오기'
,
'commodity.products.huoquxiayouxiaoshoushangpin'
:
'다운스트림 판매 제품 가져오기'
,
'commodity.products.shangyougongyingxuanzeshangpin'
:
'상류 공급 선택 제품'
,
'commodity.products.xiayouxiaoshouxuanzeshangpin'
:
'다운스트림 판매를 위해 선택한 제품'
,
'commodity.products.xuhao'
:
'일련 번호'
,
'commodity.products.shangyougongyinghuiyuanmingcheng'
:
'상류 공급 구성원 이름'
,
'commodity.products.shangyougongyingshangpinID'
:
'상류 공급 상품 ID'
,
'commodity.products.shangyougongyingshangpinmingcheng'
:
'상류 공급 제품 이름'
,
'commodity.products.pinlei'
:
'카테고리'
,
'commodity.products.pinpai'
:
'브랜드'
,
'commodity.products.danwei'
:
'단위'
,
'commodity.products.shangpindingjia'
:
'상품 가격'
,
'commodity.products.jiage'
:
'가격'
,
'commodity.products.zhakanshangyoushangpin'
:
'업스트림 제품 보기'
,
'commodity.products.guanbi'
:
'꺼짐'
,
'commodity.products.shangpinID'
:
'상품 ID'
,
'commodity.products.shangpinmingcheng'
:
'제품명'
,
'commodity.products.shangyougongyinghuiyuan'
:
'상류 공급 멤버'
,
'commodity.products.xiayouxiaoshouhuiyuan'
:
'다운스트림 판매 회원'
,
'commodity.products.danjia'
:
'단가'
,
'commodity.products.zhuangtai'
:
'상태'
,
'commodity.products.xuanzeshangyougongyingshangpin'
:
'상류 공급 제품 선택'
,
'commodity.products.xuanzexiayouxiaoshoushangpin'
:
'판매할 다운스트림 제품 선택'
,
}
}
src/locales/zh-CN/commodity.ts
View file @
7ff0590c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/pages/commodity/products/index.tsx
View file @
7ff0590c
...
@@ -49,7 +49,6 @@ const formActions = createFormActions();
...
@@ -49,7 +49,6 @@ const formActions = createFormActions();
const
Products
:
React
.
FC
<
{}
>
=
()
=>
{
const
Products
:
React
.
FC
<
{}
>
=
()
=>
{
const
intl
=
useIntl
();
const
intl
=
useIntl
();
const
ref
=
useRef
<
any
>
({})
const
ref
=
useRef
<
any
>
({})
const
judgeShopRef
=
useRef
<
boolean
>
(
true
)
const
[
upForm
]
=
Form
.
useForm
()
const
[
upForm
]
=
Form
.
useForm
()
const
[
importModal
,
setImportModal
]
=
useState
(
false
)
const
[
importModal
,
setImportModal
]
=
useState
(
false
)
const
[
deleteBatchModal
,
setDeleteBatchModal
]
=
useState
(
false
)
const
[
deleteBatchModal
,
setDeleteBatchModal
]
=
useState
(
false
)
...
@@ -748,12 +747,10 @@ const Products: React.FC<{}> = () => {
...
@@ -748,12 +747,10 @@ const Products: React.FC<{}> = () => {
{
intl
.
formatMessage
({
id
:
'commodity.products.menuMore.5'
})
}
{
intl
.
formatMessage
({
id
:
'commodity.products.menuMore.5'
})
}
</
Menu
.
Item
>
</
Menu
.
Item
>
<
Menu
.
Item
key=
"6"
icon=
{
<
ExportOutlined
/>
}
>
<
Menu
.
Item
key=
"6"
icon=
{
<
ExportOutlined
/>
}
>
获取上游供应商品
{
intl
.
formatMessage
({
id
:
'commodity.products.huoqushangyougongyingshangpin'
})
}
{
/* {intl.formatMessage({ id: 'commodity.products.menuMore.5' })} */
}
</
Menu
.
Item
>
</
Menu
.
Item
>
<
Menu
.
Item
key=
"7"
icon=
{
<
ExportOutlined
/>
}
>
<
Menu
.
Item
key=
"7"
icon=
{
<
ExportOutlined
/>
}
>
获取下游销售商品
{
intl
.
formatMessage
({
id
:
'commodity.products.huoquxiayouxiaoshoushangpin'
})
}
{
/* {intl.formatMessage({ id: 'commodity.products.menuMore.5' })} */
}
</
Menu
.
Item
>
</
Menu
.
Item
>
</
Menu
>
</
Menu
>
)
)
...
...
src/pages/commodity/products/productModal.tsx
View file @
7ff0590c
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