Commit 48a2564f authored by 武广's avatar 武广

fix: 修改选择商品可售日期都初始化为不限制问题

parent 1515ae21
......@@ -102,7 +102,8 @@ const SaleDateModal = props => {
const arr = deepClone(selectedRows).map(item => ({
...item,
shopId,
saleDate: Object.keys(weekOptions),
saleDate:
!item.saleDate || item.saleDate.length < 1 ? Object.keys(weekOptions) : item.saleDate,
shopName: sName,
}));
props.onSelectChange(arr);
......
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