fix: 更新包码

This commit is contained in:
zhangds 2024-03-07 21:17:55 +08:00
parent 2ba4793f57
commit 9700a6acd2
2 changed files with 11 additions and 24 deletions

View File

@ -92,8 +92,7 @@ export default class orderList extends React.Component {
return { return {
plan_id: "", plan_id: "",
reseller_id: "", reseller_id: "",
product_id: "", product_id: ""
settlement_no: ""
} }
} }
@ -420,14 +419,13 @@ export default class orderList extends React.Component {
let _self = this let _self = this
let { page, limit, status, option, key_word, orderType, pay_status, voucher_status, search } = let { page, limit, status, option, key_word, orderType, pay_status, voucher_status, search } =
_self.state _self.state
const { plan_id, product_id, reseller_id, settlement_no } = search const { plan_id, product_id, reseller_id } = search
let data = { let data = {
page, page,
limit, limit,
plan_id: plan_id ? plan_id.key : "", plan_id: plan_id ? plan_id.key : "",
product_id: product_id ? product_id.key : "", product_id: product_id ? product_id.key : "",
reseller_id: reseller_id ? reseller_id.key : "", reseller_id: reseller_id ? reseller_id.key : ""
settlement_no
} }
if (orderType) { if (orderType) {
//区分立减金和商品 //区分立减金和商品
@ -726,22 +724,6 @@ export default class orderList extends React.Component {
/> />
</FormItem> </FormItem>
<FormItem labelname="包码结算订单:" required="" labelwidth="150px">
<Ipt
value={this.state.search.settlement_no}
countShow={false}
labelWidth="0px"
placeholder="请输入"
width={250}
onChange={(va) => {
this.searchChange("settlement_no", va)
}}
onClearItem={(va) => {
this.searchChange("settlement_no", "")
}}
/>
</FormItem>
{this.state.option ? ( {this.state.option ? (
<FormItem labelname="" required="" labelwidth="0"> <FormItem labelname="" required="" labelwidth="0">
<Ipt <Ipt

View File

@ -210,17 +210,22 @@ export const options = [
{ {
key: "channel_activity_id", key: "channel_activity_id",
text: "立减金批次号", text: "立减金批次号",
placeholder: "请输入立减金批次号查询" placeholder: "请输入"
}, },
{ {
key: "receive_user_id", key: "receive_user_id",
text: "红包订单用户openId", text: "红包订单用户openId",
placeholder: "请输入红包订单用户openId查询" placeholder: "请输入"
}, },
{ {
key: "channel_user_id", key: "channel_user_id",
text: "立减金订单用户openId", text: "立减金订单用户openId",
placeholder: "请输入立减金订单用户openId查询" placeholder: "请输入"
},
{
key: "settlement_no",
text: "包码结算订单ID",
placeholder: "请输入"
} }
] ]