Commit 531dc6e6 authored by 武广's avatar 武广

fix: 修改可售日期和可售餐段回显问题

parent d9f92b1c
...@@ -202,7 +202,6 @@ const TakeawayGoods = () => { ...@@ -202,7 +202,6 @@ const TakeawayGoods = () => {
</Button>, </Button>,
], ],
}} }}
scroll={{ x: '100%', y: 400 }}
/> />
)} )}
{/* 可售日期弹窗 */} {/* 可售日期弹窗 */}
...@@ -211,6 +210,7 @@ const TakeawayGoods = () => { ...@@ -211,6 +210,7 @@ const TakeawayGoods = () => {
visible={visibleSaleDate} visible={visibleSaleDate}
id={recordID} id={recordID}
item={editItem} item={editItem}
type="saleDateList"
handleRefresh={() => onRefresh()} handleRefresh={() => onRefresh()}
handleClose={() => setVisibleSaleDate(false)} handleClose={() => setVisibleSaleDate(false)}
/> />
...@@ -221,6 +221,7 @@ const TakeawayGoods = () => { ...@@ -221,6 +221,7 @@ const TakeawayGoods = () => {
visible={visibleSaleSection} visible={visibleSaleSection}
id={recordID} id={recordID}
enterpriseID={enterpriseId} enterpriseID={enterpriseId}
type="tabCateList"
item={editItem} item={editItem}
handleRefresh={() => onRefresh()} handleRefresh={() => onRefresh()}
handleClose={() => setVisibleSaleSection(false)} handleClose={() => setVisibleSaleSection(false)}
......
...@@ -232,6 +232,7 @@ const TakeawayGoodsInfo = props => { ...@@ -232,6 +232,7 @@ const TakeawayGoodsInfo = props => {
<SaleDateModal <SaleDateModal
visible={visibleSaleDate} visible={visibleSaleDate}
item={editItem} item={editItem}
type="saleDate"
handleRefresh={v => refreshList('saleDate', v)} handleRefresh={v => refreshList('saleDate', v)}
handleClose={() => setVisibleSaleDate(false)} handleClose={() => setVisibleSaleDate(false)}
/> />
...@@ -242,6 +243,7 @@ const TakeawayGoodsInfo = props => { ...@@ -242,6 +243,7 @@ const TakeawayGoodsInfo = props => {
visible={visibleSaleSection} visible={visibleSaleSection}
enterpriseID={id} enterpriseID={id}
item={editItem} item={editItem}
type="tabCate"
handleRefresh={v => refreshList('tabCate', v)} handleRefresh={v => refreshList('tabCate', v)}
handleClose={() => setVisibleSaleSection(false)} handleClose={() => setVisibleSaleSection(false)}
/> />
......
...@@ -131,7 +131,6 @@ const VirtualGoods = () => { ...@@ -131,7 +131,6 @@ const VirtualGoods = () => {
</Button>, </Button>,
], ],
}} }}
scroll={{ x: '100%', y: 400 }}
/> />
)} )}
</div> </div>
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
} }
} }
.formTable { .formTable {
padding: 0; padding: 0 0 15px 0;
} }
.formPageBox { .formPageBox {
box-sizing: border-box; box-sizing: border-box;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment