订单模块筛选状态order_type更改type
This commit is contained in:
parent
bb3cd38685
commit
24a0d71580
|
@ -284,7 +284,7 @@ export default class orderlist extends React.Component {
|
|||
let { key_word, key, status, option,orderType } = _self.state
|
||||
let data = {}
|
||||
if(orderType){//区分立减金和商品
|
||||
data.order_type=orderType;
|
||||
data.type=orderType;
|
||||
}
|
||||
if (this.state.combinedValue && this.state.combinedValue[0]) {
|
||||
data.begin_time = this.state.combinedValue[0]
|
||||
|
@ -517,7 +517,7 @@ export default class orderlist extends React.Component {
|
|||
let { page, limit, option, key_word, status,orderType} = _self.state
|
||||
let data = { page, limit }
|
||||
if(orderType){//区分立减金和商品
|
||||
data.order_type=orderType;
|
||||
data.type=orderType;
|
||||
}
|
||||
if (this.state.combinedValue && this.state.combinedValue[0]) {
|
||||
data.begin_time = this.state.combinedValue[0]
|
||||
|
|
Loading…
Reference in New Issue