Commit a37f5c4d14258799bce2d0e16bd5c0efd2ed5639

Authored by boyang
1 parent 53b6ea90

修改预警确认发票params

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