订单模块筛选状态order_type更改type

This commit is contained in:
Apple 2022-06-21 14:06:49 +08:00
parent bb3cd38685
commit 24a0d71580
1 changed files with 2 additions and 2 deletions

View File

@ -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]