From a49b7c6bc2703ccb13e7fb35e542cf169cc41cc3 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 1 Feb 2024 17:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=80=EF=B8=8F=20fix:=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=AF=BC=E5=87=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/order/list/list.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/pages/order/list/list.js b/src/pages/order/list/list.js index 591b3474..7f617f30 100644 --- a/src/pages/order/list/list.js +++ b/src/pages/order/list/list.js @@ -206,8 +206,13 @@ export default class orderList extends React.Component { //导出订单 exportFn() { let _self = this - let { status, orderType, option, key_word, pay_status, voucher_status } = _self.state + let { status, orderType, option, key_word, pay_status, voucher_status, search } = _self.state + const { plan_id, product_id, reseller_id } = search let data = {} + data.plan_id = plan_id ? plan_id.key : "" + data.product_id = product_id ? product_id.key : "" + data.reseller_id = reseller_id ? reseller_id.key : "" + if (orderType && status) { //区分立减金和商品 data.type = orderType @@ -980,7 +985,7 @@ export default class orderList extends React.Component { 发送卡密短信 )} - this.setState({ visible1: v })} @@ -1005,7 +1010,7 @@ export default class orderList extends React.Component { )} - + */} ) }