Commit f52b3ad6db2c132c4b86717ee60f2873240d2a72

Authored by boyang
1 parent f49246a4

fix: 复制订单排序

src/pages/Order/OrderList/OrderDrawer.tsx
... ... @@ -896,7 +896,7 @@ export default ({ onClose, data, subOrders, orderOptType }) => {
896 896  
897 897 const formattedDate = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
898 898 values.productBelongBusinessUpdateTime = formattedDate;
899   - } else if (optType('add')) {
  899 + } else if (optType('add') || optType('copy')) {
900 900 const date = new Date();
901 901 const year = date.getFullYear();
902 902 const month = String(date.getMonth() + 1).padStart(2, '0'); // 月份从0开始,需要加1
... ...