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
e8115f98
Commit
e8115f98
authored
Sep 27, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改单据编号为单据ID
parent
7ac1b447
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
index.ts
src/constants/index.ts
+8
-8
index.ts
...nsaction/stockSellStorage/bills/addBills/effects/index.ts
+2
-1
index.tsx
...ges/transaction/stockSellStorage/bills/addBills/index.tsx
+0
-1
No files found.
src/constants/index.ts
View file @
e8115f98
...
...
@@ -364,14 +364,14 @@ export const MEMBER_ROLE_TYPE_SERVICE_PROVIDER = 1; // 服务提供
export
const
MEMBER_ROLE_TYPE_SERVICE_CONSUMER
=
2
;
// 服务消费者
// 单据类型
export
const
DOC_TYPE_PURCHASE_RECEIPT
=
'S001'
;
// 采购入库单
export
const
DOC_TYPE_SALES_INVOICE
=
'S002'
;
// 销售发货单
export
const
DOC_TYPE_PROCESS_RECEIPT
=
'S003'
;
// 加工入库单
export
const
DOC_TYPE_PROCESS_INVOICE
=
'S004'
;
// 加工发货单
export
const
DOC_TYPE_RETURN_INVOICE
=
'S005'
;
// 退货发货单
export
const
DOC_TYPE_RETURN_RECEIPT
=
'S006'
;
// 退货入库单
export
const
DOC_TYPE_EXCHANGE_INVOICE
=
'S007'
;
// 换货发货单
export
const
DOC_TYPE_EXCHANGE_RECEIPT
=
'S008'
;
// 换货入库单
export
const
DOC_TYPE_PURCHASE_RECEIPT
=
1
;
// 采购入库单
export
const
DOC_TYPE_SALES_INVOICE
=
2
;
// 销售发货单
export
const
DOC_TYPE_PROCESS_RECEIPT
=
3
;
// 加工入库单
export
const
DOC_TYPE_PROCESS_INVOICE
=
4
;
// 加工发货单
export
const
DOC_TYPE_RETURN_INVOICE
=
5
;
// 退货发货单
export
const
DOC_TYPE_RETURN_RECEIPT
=
6
;
// 退货入库单
export
const
DOC_TYPE_EXCHANGE_INVOICE
=
7
;
// 换货发货单
export
const
DOC_TYPE_EXCHANGE_RECEIPT
=
8
;
// 换货入库单
// 单据状态
export
const
DOC_STATUS_UNREVIEWED
=
1
;
// 未审核
...
...
src/pages/transaction/stockSellStorage/bills/addBills/effects/index.ts
View file @
e8115f98
...
...
@@ -33,6 +33,6 @@ const fetchInventory = (): Promise<any[]> => {
export
const
createEffects
=
(
context
,
actions
)
=>
{
useBusinessEffects
(
context
,
actions
);
useAsyncSelect
(
'invoicesTypeId'
,
fetchInvoicesType
,
[
'name'
,
'
number
'
]);
useAsyncSelect
(
'invoicesTypeId'
,
fetchInvoicesType
,
[
'name'
,
'
id
'
]);
useAsyncSelect
(
'inventoryId'
,
fetchInventory
,
[
'name'
,
'id'
]);
};
\ No newline at end of file
src/pages/transaction/stockSellStorage/bills/addBills/index.tsx
View file @
e8115f98
...
...
@@ -170,7 +170,6 @@ const AddBills: React.FC<{}> = (props: any) => {
,
invoicesDetailsRequests
:
details
,
...
rest
,
// invoicesTypeId: 'S002',
});
productRowCtl
.
setSelectRow
(
details
);
...
...
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