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
0e0d9160
Commit
0e0d9160
authored
Feb 03, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改单据无法添加的问题
parent
da72d387
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
router.config.json
config/router.config.json
+0
-0
index.tsx
...ion/stockSellStorage/bills/components/BillsForm/index.tsx
+9
-9
No files found.
config/router.config.json
View file @
0e0d9160
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/pages/transaction/stockSellStorage/bills/components/BillsForm/index.tsx
View file @
0e0d9160
...
...
@@ -796,7 +796,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
// 采购入库单
case
DOC_TYPE_PURCHASE_RECEIPT
:
{
if
(
!
id
)
{
if
(
isEdit
)
{
if
(
!
isEdit
)
{
return
;
}
PublicApi
.
postOrderPurchaseReceiptAdd
({
...
...
@@ -904,7 +904,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
// 销售发货单
case
DOC_TYPE_SALES_INVOICE
:
{
if
(
!
id
)
{
if
(
isEdit
)
{
if
(
!
isEdit
)
{
return
;
}
PublicApi
.
postOrderSalesInvoiceOrder
({
...
...
@@ -1014,7 +1014,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
// 加工入库单
case
DOC_TYPE_PROCESS_RECEIPT
:
{
if
(
!
id
)
{
if
(
isEdit
)
{
if
(
!
isEdit
)
{
return
;
}
PublicApi
.
postEnhanceSupplierToBeAddStorageSubmit
({
...
...
@@ -1113,7 +1113,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
// 加工发货单
case
DOC_TYPE_PROCESS_INVOICE
:
{
if
(
!
id
)
{
if
(
isEdit
)
{
if
(
!
isEdit
)
{
return
;
}
PublicApi
.
postEnhanceProcessToBeAddDeliverySubmit
({
...
...
@@ -1214,7 +1214,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
case
DOC_TYPE_EXCHANGE_RETURN_INVOICE
:
case
DOC_TYPE_EXCHANGE_INVOICE
:
{
if
(
!
id
)
{
if
(
isEdit
)
{
if
(
!
isEdit
)
{
return
;
}
PublicApi
.
postWarehouseInvoicesAdd
({
...
...
@@ -1325,7 +1325,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
case
DOC_TYPE_EXCHANGE_RECEIPT
:
case
DOC_TYPE_EXCHANGE_RETURN_RECEIPT
:
{
if
(
!
id
)
{
if
(
isEdit
)
{
if
(
!
isEdit
)
{
return
;
}
PublicApi
.
postWarehouseInvoicesAdd
({
...
...
@@ -1434,7 +1434,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
// 退货发货单
case
DOC_TYPE_RETURN_INVOICE
:
{
if
(
!
id
)
{
if
(
isEdit
)
{
if
(
!
isEdit
)
{
return
;
}
PublicApi
.
postWarehouseInvoicesAdd
({
...
...
@@ -1543,7 +1543,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
// 退货入库单
case
DOC_TYPE_RETURN_RECEIPT
:
{
if
(
!
id
)
{
if
(
isEdit
)
{
if
(
!
isEdit
)
{
return
;
}
PublicApi
.
postWarehouseInvoicesAdd
({
...
...
@@ -1651,7 +1651,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
default
:
{
if
(
!
id
)
{
if
(
isEdit
)
{
if
(
!
isEdit
)
{
return
;
}
PublicApi
.
postWarehouseInvoicesAdd
({
...
...
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