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 { )} - + */} ) }