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
f593766b
Commit
f593766b
authored
Aug 10, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 添加类型提示
parent
4da83bd0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
schema.ts
...stockSellStorage/bills/components/BillsFormPage/schema.ts
+3
-3
No files found.
src/pages/transaction/stockSellStorage/bills/components/BillsFormPage/schema.ts
View file @
f593766b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2021-08-04 13:59:33
* @Date: 2021-08-04 13:59:33
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-
04 18:06:5
1
* @LastEditTime: 2021-08-
10 19:53:3
1
* @Description:
* @Description:
*/
*/
import
{
ISchema
}
from
'@formily/antd'
;
import
{
ISchema
}
from
'@formily/antd'
;
...
@@ -49,7 +49,7 @@ const RELATED_BILL_TYPE_MAP = {
...
@@ -49,7 +49,7 @@ const RELATED_BILL_TYPE_MAP = {
};
};
// 单据类型 换 单据类型名称
// 单据类型 换 单据类型名称
const
BILL_NAME_MAP
=
{
const
BILL_NAME_MAP
:
{
[
key
:
number
]:
'订单'
|
'加工'
|
'退货'
|
'换货'
}
=
{
[
DOC_TYPE_PURCHASE_RECEIPT
]:
'订单'
,
[
DOC_TYPE_PURCHASE_RECEIPT
]:
'订单'
,
[
DOC_TYPE_SALES_INVOICE
]:
'订单'
,
[
DOC_TYPE_SALES_INVOICE
]:
'订单'
,
[
DOC_TYPE_PROCESS_RECEIPT
]:
'加工'
,
[
DOC_TYPE_PROCESS_RECEIPT
]:
'加工'
,
...
@@ -63,7 +63,7 @@ const BILL_NAME_MAP = {
...
@@ -63,7 +63,7 @@ const BILL_NAME_MAP = {
};
};
// 单据类型 换 单据方向名称
// 单据类型 换 单据方向名称
const
BILL_DIRECTION_NAME_MAP
=
{
const
BILL_DIRECTION_NAME_MAP
:
{
[
key
:
number
]:
'收货'
|
'入库'
|
'发货'
}
=
{
[
DOC_TYPE_PURCHASE_RECEIPT
]:
'收货'
,
[
DOC_TYPE_PURCHASE_RECEIPT
]:
'收货'
,
[
DOC_TYPE_SALES_INVOICE
]:
'发货'
,
[
DOC_TYPE_SALES_INVOICE
]:
'发货'
,
[
DOC_TYPE_PROCESS_RECEIPT
]:
'入库'
,
[
DOC_TYPE_PROCESS_RECEIPT
]:
'入库'
,
...
...
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