Commit a37f5c4d14258799bce2d0e16bd5c0efd2ed5639

Authored by boyang
1 parent 53b6ea90

修改预警确认发票params

src/pages/Order/OrderWarning/index.tsx
... ... @@ -4530,7 +4530,7 @@ const OrderPage = () => {
4530 4530 const currentDate = new Date();
4531 4531 // 创建一个新的日期对象,并在当前日期的基础上加上 daysToAdd 天
4532 4532 const newDate = new Date(currentDate);
4533   - newDate.setDate(currentDate.getDate() + value);
  4533 + newDate.setDate(currentDate.getDate() - value);
4534 4534 const formattedDate = format(newDate, 'yyyy-MM-dd HH:mm:ss');
4535 4535 console.log(formattedDate, '5656newdate');
4536 4536 setCalDate(formattedDate);
... ... @@ -4553,7 +4553,7 @@ const OrderPage = () => {
4553 4553  
4554 4554 // 创建一个新的日期对象,并在当前日期的基础上加上 daysToAdd 天
4555 4555 const newDate = new Date(currentDate);
4556   - newDate.setDate(currentDate.getDate() + value);
  4556 + newDate.setDate(currentDate.getDate() - value);
4557 4557 const formattedDate = format(newDate, 'yyyy-MM-dd HH:mm:ss');
4558 4558 setCalDate2(formattedDate);
4559 4559 setValue2(value);
... ... @@ -4611,7 +4611,7 @@ const OrderPage = () => {
4611 4611 // params.isDeleteQueryOrder = filterCondifion === 70;
4612 4612 params.isDeleteQueryOrder = false;
4613 4613 params.orderStatus = 'CONFIRM_RECEIPT';
4614   - params.invoicingStatus = 'UN_INVOICE';
  4614 + params.invoicingStatusNe = 'UN_INVOICE';
4615 4615 if (calDate === 'null') {
4616 4616 params.statusDatetimeLe = null;
4617 4617 } else {
... ...