Commit 0af393d99c07fbadbbf8c7a18b8f33bd2abaf151
Merge branch 'master' of http://39.108.227.113:8001/zhusen/canrd-erp-front
Showing
1 changed file
with
1 additions
and
1 deletions
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 | ... | ... |