🦀️ fix: 修复导出bug
This commit is contained in:
parent
f69e4b9dd1
commit
a49b7c6bc2
|
@ -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 {
|
|||
发送卡密短信
|
||||
</span>
|
||||
)}
|
||||
<Dropdown
|
||||
{/* <Dropdown
|
||||
position={DropdownPosition.RightTop}
|
||||
visible={this.state.menuVisible}
|
||||
onVisibleChange={(v) => this.setState({ visible1: v })}
|
||||
|
@ -1005,7 +1010,7 @@ export default class orderList extends React.Component {
|
|||
)}
|
||||
</Menu>
|
||||
</DropdownContent>
|
||||
</Dropdown>
|
||||
</Dropdown> */}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue