Commit ef98ebabaf2ff7948d86679b34495e8c85306f44

Authored by 曾国涛
2 parents 84323eed 753589e0

Merge remote-tracking branch 'origin/warning' into warning

src/pages/Order/Order/index.tsx
@@ -695,8 +695,6 @@ const OrderPage = () => { @@ -695,8 +695,6 @@ const OrderPage = () => {
695 * @param optRecord 695 * @param optRecord
696 */ 696 */
697 function getOrderStatusTag(optRecord: any): import('react').ReactNode { 697 function getOrderStatusTag(optRecord: any): import('react').ReactNode {
698 - console.log(optRecord, '5656optRecord');  
699 -  
700 const orderStatus = optRecord.orderStatus; 698 const orderStatus = optRecord.orderStatus;
701 const paymentMethod = optRecord.paymentMethod; 699 const paymentMethod = optRecord.paymentMethod;
702 let orderStatusTagText = enumValueToLabel( 700 let orderStatusTagText = enumValueToLabel(
@@ -4606,7 +4604,6 @@ const OrderPage = () => { @@ -4606,7 +4604,6 @@ const OrderPage = () => {
4606 ) { 4604 ) {
4607 setOpenCount(true); 4605 setOpenCount(true);
4608 setOpen(true); 4606 setOpen(true);
4609 - console.log(openCount, '5656openindex');  
4610 } 4607 }
4611 setInvoiceWarningNum(res.data.waitConfirmInvoice); 4608 setInvoiceWarningNum(res.data.waitConfirmInvoice);
4612 setInvoiceRefundWarningNum(res.data.waitConfirmReceipt); 4609 setInvoiceRefundWarningNum(res.data.waitConfirmReceipt);
src/pages/Order/OrderWarning/index.tsx
@@ -4171,7 +4171,6 @@ const OrderPage = () => { @@ -4171,7 +4171,6 @@ const OrderPage = () => {
4171 const formattedDate = format(newDate, 'yyyy-MM-dd HH:mm:ss'); 4171 const formattedDate = format(newDate, 'yyyy-MM-dd HH:mm:ss');
4172 setCalDate(formattedDate); 4172 setCalDate(formattedDate);
4173 setValue1(value); 4173 setValue1(value);
4174 - console.log(formattedDate, '5656formattedDate/value', value);  
4175 }; 4174 };
4176 const [invoiceWarningNum, setInvoiceWarningNum] = useState(0); 4175 const [invoiceWarningNum, setInvoiceWarningNum] = useState(0);
4177 const [invoiceRefundWarningNum, setInvoiceRefundWarningNum] = useState(0); 4176 const [invoiceRefundWarningNum, setInvoiceRefundWarningNum] = useState(0);
@@ -4384,7 +4383,6 @@ const OrderPage = () => { @@ -4384,7 +4383,6 @@ const OrderPage = () => {
4384 let finalParams = { 4383 let finalParams = {
4385 ...params, 4384 ...params,
4386 }; 4385 };
4387 - console.log(5656);  
4388 if (value1 === 0) { 4386 if (value1 === 0) {
4389 // const currentDate = new Date(); 4387 // const currentDate = new Date();
4390 // const newDate = new Date(currentDate); 4388 // const newDate = new Date(currentDate);
@@ -4430,17 +4428,16 @@ const OrderPage = () => { @@ -4430,17 +4428,16 @@ const OrderPage = () => {
4430 // } else { 4428 // } else {
4431 // params.applyTimeLe = calDate; 4429 // params.applyTimeLe = calDate;
4432 // } 4430 // }
4433 - params.applyTimeIsNotNull = true; // 要求申请时间非空 4431 + // params.applyTimeIsNotNull = true; // 要求申请时间非空
4434 params.salesCode = userInfo.username; 4432 params.salesCode = userInfo.username;
4435 params.warningStatus = 'invoiceConfirmWarning'; // 发票确认预警 4433 params.warningStatus = 'invoiceConfirmWarning'; // 发票确认预警
4436 params.isDeleteQueryOrder = false; // 强制查询非作废订单 4434 params.isDeleteQueryOrder = false; // 强制查询非作废订单
4437 - params.paymentMethod = 'UNPAID'; 4435 + // params.paymentMethod = 'UNPAID';
4438 finalParams = { 4436 finalParams = {
4439 ...params, 4437 ...params,
4440 invoicingEndTime: calDate, 4438 invoicingEndTime: calDate,
4441 }; 4439 };
4442 } else if (activeTabKey === 4) { 4440 } else if (activeTabKey === 4) {
4443 - console.log(value1, 56564);  
4444 params.warningStatus = 'paymentReceiptStatusWarning'; // 用于回款预警 4441 params.warningStatus = 'paymentReceiptStatusWarning'; // 用于回款预警
4445 if (calDate === 'null') { 4442 if (calDate === 'null') {
4446 params.applyTimeLe = null; 4443 params.applyTimeLe = null;
@@ -4455,8 +4452,6 @@ const OrderPage = () => { @@ -4455,8 +4452,6 @@ const OrderPage = () => {
4455 }; 4452 };
4456 } 4453 }
4457 4454
4458 - console.log(params, '5656params');  
4459 -  
4460 //保存这个搜索条件 4455 //保存这个搜索条件
4461 setSearchParam(params); 4456 setSearchParam(params);
4462 const { data } = await postServiceOrderQueryServiceOrder({ 4457 const { data } = await postServiceOrderQueryServiceOrder({