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
fafde813
Commit
fafde813
authored
Nov 25, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixbug
parent
718541f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
useBusinessEffects.ts
.../bills/components/BillsForm/effects/useBusinessEffects.ts
+2
-6
index.tsx
...ion/stockSellStorage/bills/components/BillsForm/index.tsx
+2
-0
No files found.
src/pages/transaction/stockSellStorage/bills/components/BillsForm/effects/useBusinessEffects.ts
View file @
fafde813
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-09-16 15:16:47
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-11-25 1
6:29:06
* @LastEditTime: 2020-11-25 1
7:25:55
* @Description: 联动逻辑相关
*/
import
{
Modal
}
from
'antd'
;
...
...
@@ -314,7 +314,7 @@ const getParams = type => {
},
tableProps
:
{
rowKey
:
'orderNo'
,
lableKey
:
''
,
lableKey
:
'
orderNo
'
,
},
};
...
...
@@ -325,7 +325,6 @@ const getParams = type => {
basicParams
.
columns
=
purchaseOrderColumns
;
basicParams
.
fetchTableData
=
fetchOrderPurchaseReceiptAddList
;
basicParams
.
formilyProps
.
ctx
.
schema
=
purchaseOrderBillSchema
;
basicParams
.
tableProps
.
lableKey
=
'orderNo'
;
break
;
}
...
...
@@ -335,7 +334,6 @@ const getParams = type => {
basicParams
.
columns
=
salesOrderColumns
;
basicParams
.
fetchTableData
=
getOrderSalesInvoiceOrderList
;
basicParams
.
formilyProps
.
ctx
.
schema
=
purchaseOrderBillSchema
;
// 这里用同一个 schema 是因为接口参数名是一样的,后台做了处理
basicParams
.
tableProps
.
lableKey
=
'orderNo'
;
break
;
}
...
...
@@ -345,7 +343,6 @@ const getParams = type => {
basicParams
.
columns
=
machiningWarehousingColumns
;
basicParams
.
fetchTableData
=
getMachiningWarehousingList
;
basicParams
.
formilyProps
.
ctx
.
schema
=
machiningWarehousingBillSchema
;
basicParams
.
tableProps
.
lableKey
=
'noticeNo'
;
break
;
}
...
...
@@ -355,7 +352,6 @@ const getParams = type => {
basicParams
.
columns
=
machiningDeliveryColumns
;
basicParams
.
fetchTableData
=
getMachiningDeliveryList
;
basicParams
.
formilyProps
.
ctx
.
schema
=
machiningDeliveryBillSchema
;
basicParams
.
tableProps
.
lableKey
=
'noticeNo'
;
break
;
}
...
...
src/pages/transaction/stockSellStorage/bills/components/BillsForm/index.tsx
View file @
fafde813
...
...
@@ -660,6 +660,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
produceNoticeOrderDetailId
:
extraData
.
id
,
orderNo
:
extraData
.
orderNo
,
processNum
:
extraData
.
processNum
,
productName
:
extraData
.
productName
,
storageCount
:
productCount
,
};
}),
...
...
@@ -709,6 +710,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
produceNoticeOrderDetailId
:
extraData
.
id
,
orderNo
:
extraData
.
orderNo
,
processNum
:
extraData
.
processNum
,
productName
:
extraData
.
productName
,
shipmentQuantity
:
productCount
,
};
}),
...
...
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