|
|
@ -24,15 +24,16 @@ function EditOrderInquiry(props) { |
|
|
|
const [detailVisible, setDetailVisible] = useState(false); |
|
|
|
const [bigpicVisible, setBigpicVisible] = useState(false);//大图展示 |
|
|
|
const [bigPic, setBigPic] = useState(); |
|
|
|
const [ycddData, setYcddData] = useState([])//异常订单数据 |
|
|
|
const [ycddData, setYcddData] = useState([])//详情数据 |
|
|
|
const [detailTable, setDetailTable] = useState([]) |
|
|
|
// 默认数据 |
|
|
|
const defaultData = { |
|
|
|
confirm_start_time: moment().subtract('days').startOf('day').format("YYYY-MM-DD HH:mm:ss"), |
|
|
|
confirm_end_time: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"), |
|
|
|
create_start_time: moment().subtract('days').startOf('day').format("YYYY-MM-DD HH:mm:ss"), |
|
|
|
create_end_time: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"), |
|
|
|
app_name: "", // 应用名称 |
|
|
|
app_type: 0, //应用类型 |
|
|
|
//app_name: "", // 应用名称 |
|
|
|
//app_type: 0, //应用类型 |
|
|
|
pay_merchant_id: 0, //支付商户名称 |
|
|
|
}; |
|
|
|
// 分页数据 |
|
|
@ -54,10 +55,9 @@ function EditOrderInquiry(props) { |
|
|
|
// 表格加载状态 |
|
|
|
const [tabLoading, setTabLoading] = useState(false); |
|
|
|
// 表格返回数据 |
|
|
|
const [resultData, setResultData] = useState({ |
|
|
|
total: 0, |
|
|
|
list: [], |
|
|
|
}); |
|
|
|
const [resultData, setResultData] = useState([]); |
|
|
|
const [detailData, setDetailData] = useState([]); |
|
|
|
const [total, setTotal] = useState(false); |
|
|
|
const [detailTableData, setDetailTableData] = useState([]); |
|
|
|
const [searchSelectList, setSearchSelectList] = useState([]); //搜索下拉数据 |
|
|
|
const [sessionTabList, setSessionTabList] = useSessionStorageState('editOrderInquiry', { |
|
|
@ -112,10 +112,11 @@ function EditOrderInquiry(props) { |
|
|
|
} |
|
|
|
setDefaultParams({ ...postData, ...pageInfo }); |
|
|
|
setTabLoading(true); |
|
|
|
ajax.getAppList({ ...postData, ...pageInfo, ...v }).then( |
|
|
|
ajax.getOrderChangeList({ ...postData, ...pageInfo, ...v }).then( |
|
|
|
(res) => { |
|
|
|
if (parseInt(res?.status) === 20000) { |
|
|
|
setResultData(res?.data || {}); |
|
|
|
setResultData(res?.data || []); |
|
|
|
setTotal(res.total) |
|
|
|
} else { |
|
|
|
message.error(res?.message); |
|
|
|
} |
|
|
@ -129,7 +130,22 @@ function EditOrderInquiry(props) { |
|
|
|
} |
|
|
|
); |
|
|
|
}; |
|
|
|
|
|
|
|
// 获取查看详情数据 |
|
|
|
const getDetailData = (v) => { |
|
|
|
ajax.getOrderChangeDetail({ ...v }).then( |
|
|
|
(res) => { |
|
|
|
if (parseInt(res?.status) === 20000) { |
|
|
|
setYcddData(res?.data || []); |
|
|
|
setDetailTable(res?.data?.order_update_detail) |
|
|
|
} else { |
|
|
|
message.error(res?.message); |
|
|
|
} |
|
|
|
}, |
|
|
|
(err) => { |
|
|
|
console.log(err); |
|
|
|
} |
|
|
|
); |
|
|
|
}; |
|
|
|
// 检索数据 |
|
|
|
const handleSearch = () => { |
|
|
|
setLoading(true); |
|
|
@ -144,7 +160,7 @@ function EditOrderInquiry(props) { |
|
|
|
showQuickJumper: true, |
|
|
|
showSizeChanger: true, |
|
|
|
current: pageInfo.pn, |
|
|
|
total: resultData?.total, |
|
|
|
total: total, |
|
|
|
pageSize: pageInfo.page_size, |
|
|
|
pageSizeOptions: Array.from( |
|
|
|
new Set([...[15], ...(dictionary?.pageSizeOptions || [])]) |
|
|
@ -168,13 +184,20 @@ function EditOrderInquiry(props) { |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "修改原因", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "update_reason", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "处理记录ID", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "deal_record_id", |
|
|
|
align: "center", |
|
|
|
render: (text) => ( |
|
|
|
<> |
|
|
|
<a onClick={() => { |
|
|
|
navigator.clipboard.writeText(`${text}`).then(() => { message.success("已复制到剪切板") }); |
|
|
|
}}>{text}</a> |
|
|
|
</> |
|
|
|
) |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "业务订单类型", |
|
|
@ -183,42 +206,51 @@ function EditOrderInquiry(props) { |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "业务订单ID", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "business_order_type", |
|
|
|
align: "center", |
|
|
|
render: (text) => ( |
|
|
|
<> |
|
|
|
<a onClick={() => { |
|
|
|
navigator.clipboard.writeText(`${text}`).then(() => { message.success("已复制到剪切板") }); |
|
|
|
}}>{text}</a> |
|
|
|
</> |
|
|
|
) |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "订单金额(元)", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "order_mount", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "优惠总计(元)", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "preferential_amount", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "实付总计(元)", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "actual_amount", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "欠费总计(元)", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "arrearsAmount", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "确认时间", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "examine_time", |
|
|
|
align: "center", |
|
|
|
width: 150, |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "发起时间", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "deal_time", |
|
|
|
align: "center", |
|
|
|
width: 150, |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "状态", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "status", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
@ -230,7 +262,7 @@ function EditOrderInquiry(props) { |
|
|
|
<span style={{ |
|
|
|
color: "#177ddc", |
|
|
|
cursor: "pointer" |
|
|
|
}} onClick={() => { handleView(); setYcddData(row) }}> |
|
|
|
}} onClick={() => { handleView(); }}> |
|
|
|
查看 |
|
|
|
</span> |
|
|
|
); |
|
|
@ -241,57 +273,58 @@ function EditOrderInquiry(props) { |
|
|
|
const detailColumns = [ |
|
|
|
{ |
|
|
|
title: "修改状态", |
|
|
|
dataIndex: "statusName", |
|
|
|
dataIndex: "status", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "订单生成时间", |
|
|
|
dataIndex: "a", |
|
|
|
dataIndex: "create_time", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "支付订单类型", |
|
|
|
dataIndex: "a", |
|
|
|
dataIndex: "business_order_type", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "支付渠道", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "payment_channels", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "支付订单ID", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "order_id", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "抵扣修改金额", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "preferential_amount", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "优惠金额", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "road_discount", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "实付金额", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "actual_amount", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "欠费金额", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "arrears_mount", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "需要退款金额", |
|
|
|
dataIndex: "app_name", |
|
|
|
dataIndex: "actual_refund", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
]; |
|
|
|
// 查看 |
|
|
|
const handleView = () => { |
|
|
|
getDetailData() |
|
|
|
setDetailVisible(true) |
|
|
|
}; |
|
|
|
//订单详情 |
|
|
@ -300,82 +333,82 @@ function EditOrderInquiry(props) { |
|
|
|
<div className="ltc-box-title"><div className="text">车厂详情</div></div> |
|
|
|
<div className="ltc-content"> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">停车场名称</div><div className="new-value">{ycddData?.road_name}</div> |
|
|
|
<div className="new-item">停车场名称</div><div className="new-value">{ycddData?.order_info?.parking_detail.road_name|| "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">区域</div><div className="new-value">{ycddData.area_name}</div> |
|
|
|
<div className="new-item">区域</div><div className="new-value">{ycddData?.order_info?.parking_detail.region_name|| "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">商户名称</div><div className="new-value">{ycddData.park_operator_name}</div> |
|
|
|
<div className="new-item">商户名称</div><div className="new-value">{ycddData?.order_info?.parking_detail.operator_name|| "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">泊位号</div><div className="new-value">{ycddData.berth_code}</div> |
|
|
|
<div className="new-item">泊位号</div><div className="new-value">{ycddData?.order_info?.parking_detail.berth_id|| "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">车场类型</div><div className="new-value">{ycddData.road_type}</div> |
|
|
|
<div className="new-item">车场类型</div><div className="new-value">{ycddData?.order_info?.parking_detail.parking_model_type_name|| "--"}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="ltc-box-title"><div className="text">车辆详情</div></div> |
|
|
|
<div className="ltc-content"> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">车牌号</div><div className="new-value">{ycddData.plate_number}</div> |
|
|
|
<div className="new-item">车牌号</div><div className="new-value">{ycddData?.order_info?.vehicle_detail.plate|| "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">停车时长</div><div className="new-value">{ycddData.parking_duration}</div> |
|
|
|
<div className="new-item">停车时长</div><div className="new-value">{ycddData?.order_info?.vehicle_detail.parking_duration|| "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">入场时间</div><div className="new-value">{ycddData.in_time}</div> |
|
|
|
<div className="new-item">入场时间</div><div className="new-value">{ycddData?.order_info?.vehicle_detail.in_time|| "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">出场时间</div><div className="new-value">{ycddData.out_time}</div> |
|
|
|
<div className="new-item">出场时间</div><div className="new-value">{ycddData?.order_info?.vehicle_detail.out_time|| "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">入场记录来源</div><div className="new-value">{ycddData.inSource}</div> |
|
|
|
<div className="new-item">入场记录来源</div><div className="new-value">{ycddData?.order_info?.vehicle_detail.in_source_name|| "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">出场记录来源</div><div className="new-value">{ycddData.outSource}</div> |
|
|
|
<div className="new-item">出场记录来源</div><div className="new-value">{ycddData?.order_info?.vehicle_detail.out_source_name|| "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">证据图像</div><div className="new-value"><a onClick={() => { setBigPic(ycddData.in_veh_pic); setBigpicVisible(true) }}>查看</a></div> |
|
|
|
<div className="new-item">证据图像</div><div className="new-value"><a onClick={() => { setBigPic(ycddData?.order_info.vehicle_detail.in_veh_pic); setBigpicVisible(true) }}>查看</a></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="ltc-box-title"><div className="text">订单详情:{ycddData?.refund_id}</div></div> |
|
|
|
<div className="ltc-content"> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">应收金额</div><div className="new-value">{ycddData?.r || "--"}</div> |
|
|
|
<div className="new-item">应收金额</div><div className="new-value">{ycddData?.order_info?.order_detail.receivable_amount || "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">优惠总计</div><div className="new-value">{ycddData.r || "--"}</div> |
|
|
|
<div className="new-item">优惠总计</div><div className="new-value">{ycddData?.order_info?.order_detail.preferential_amount || "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">实付总计</div><div className="new-value">{ycddData.p || "--"}</div> |
|
|
|
<div className="new-item">实付总计</div><div className="new-value">{ycddData?.order_info?.order_detail.actual_amount || "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">欠费总计</div><div className="new-value">{ycddData.r || "--"}</div> |
|
|
|
<div className="new-item">欠费总计</div><div className="new-value">{ycddData?.order_info?.order_detail.arrears_mount || "--"}</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div className="ltc-box-title"><div className="text">修改信息:{ycddData?.refund_id}</div><div className="line"></div></div> |
|
|
|
<div className="ltc-content"> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">修改原因</div><div className="new-value">{ycddData.s || "--"}</div> |
|
|
|
<div className="new-item">修改原因</div><div className="new-value">{ycddData?.update_info?.update_reason || "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">欠费金额修改</div><div className="new-value">{ycddData.s || "--"}</div> |
|
|
|
<div className="new-item">欠费金额修改</div><div className="new-value">{ycddData?.update_info?.receivable_amount || "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">修改金额</div><div className="new-value">{ycddData.s || "--"}</div> |
|
|
|
<div className="new-item">修改金额</div><div className="new-value">{ycddData?.update_info?.receivable_amount_exception || "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">优惠金额修改</div><div className="new-value">{ycddData.s || "--"}</div> |
|
|
|
<div className="new-item">优惠金额修改</div><div className="new-value">{ycddData?.update_info?.preferential_amount || "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">退款方式</div><div className="new-value">{ycddData.refund_type || "--"}</div> |
|
|
|
<div className="new-item">退款方式</div><div className="new-value">{ycddData?.update_info?.refund_type_name || "--"}</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-item"> |
|
|
|
<div className="new-item">退款金额共计</div><div className="new-value">{ycddData.r || "--"}</div> |
|
|
|
<div className="new-item">退款金额共计</div><div className="new-value">{ycddData?.update_info?.actual_refund || "--"}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="ltc-box-title"><div className="text">订单修改明细</div><div className="line"></div></div> |
|
|
@ -383,9 +416,7 @@ function EditOrderInquiry(props) { |
|
|
|
//rowSelection={rowSelection} |
|
|
|
rowKey={'index'} |
|
|
|
columns={detailColumns} |
|
|
|
dataSource={[{ |
|
|
|
statusName: '已完成' |
|
|
|
}]} |
|
|
|
dataSource={detailTable||[]} |
|
|
|
pagination={false} |
|
|
|
/> |
|
|
|
</div> |
|
|
@ -417,14 +448,14 @@ function EditOrderInquiry(props) { |
|
|
|
<div className="title">查询条件</div> |
|
|
|
<div className="form-Wrap"> |
|
|
|
<div className="yisa-search"> |
|
|
|
<label>修改时间</label> |
|
|
|
<label>修改原因</label> |
|
|
|
<Select |
|
|
|
className="form-con" |
|
|
|
placeholder="请选择" |
|
|
|
options={searchSelectList?.payment_list || []} |
|
|
|
value={formData.pay_merchant_id} |
|
|
|
value={formData.update_reason_code} |
|
|
|
onChange={(v) => |
|
|
|
setFormData({ ...formData, pay_merchant_id: v }) |
|
|
|
setFormData({ ...formData, update_reason_code: v }) |
|
|
|
} |
|
|
|
/> |
|
|
|
</div> |
|
|
@ -433,9 +464,9 @@ function EditOrderInquiry(props) { |
|
|
|
<Input |
|
|
|
className="form-con" |
|
|
|
placeholder="请输入" |
|
|
|
value={formData?.app_name} |
|
|
|
value={formData?.deal_record_id} |
|
|
|
onChange={(e) => |
|
|
|
setFormData({ ...formData, app_name: e.target.value }) |
|
|
|
setFormData({ ...formData, deal_record_id: e.target.value }) |
|
|
|
} |
|
|
|
/> |
|
|
|
</div> |
|
|
@ -445,9 +476,9 @@ function EditOrderInquiry(props) { |
|
|
|
className="form-con" |
|
|
|
placeholder="请选择" |
|
|
|
options={searchSelectList?.flow_type_list || []} |
|
|
|
value={formData.pay_merchant_id} |
|
|
|
value={formData.parking_type} |
|
|
|
onChange={(v) => |
|
|
|
setFormData({ ...formData, pay_merchant_id: v }) |
|
|
|
setFormData({ ...formData, parking_type: v }) |
|
|
|
} |
|
|
|
/> |
|
|
|
</div> |
|
|
@ -456,9 +487,9 @@ function EditOrderInquiry(props) { |
|
|
|
<Input |
|
|
|
className="form-con" |
|
|
|
placeholder="请输入" |
|
|
|
value={formData?.app_name} |
|
|
|
value={formData?.park_record_id} |
|
|
|
onChange={(e) => |
|
|
|
setFormData({ ...formData, app_name: e.target.value }) |
|
|
|
setFormData({ ...formData, park_record_id: e.target.value }) |
|
|
|
} |
|
|
|
/> |
|
|
|
</div> |
|
|
@ -468,9 +499,9 @@ function EditOrderInquiry(props) { |
|
|
|
className="form-con" |
|
|
|
showTime |
|
|
|
allowClear={false} |
|
|
|
value={formData.confirm_start_time ? moment(formData.confirm_start_time) : undefined} |
|
|
|
onChange={(date, dateString) => setFormData({ ...formData, confirm_start_time: dateString })} |
|
|
|
disabledDate={(current) => current > moment(formData.confirm_end_time)} |
|
|
|
value={formData.start_time ? moment(formData.start_time) : undefined} |
|
|
|
onChange={(date, dateString) => setFormData({ ...formData, start_time: dateString })} |
|
|
|
disabledDate={(current) => current > moment(formData.end_time)} |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div className="yisa-search"> |
|
|
@ -479,9 +510,9 @@ function EditOrderInquiry(props) { |
|
|
|
className="form-con" |
|
|
|
showTime |
|
|
|
allowClear={false} |
|
|
|
value={formData.confirm_end_time ? moment(formData.confirm_end_time) : undefined} |
|
|
|
onChange={(date, dateString) => setFormData({ ...formData, confirm_end_time: dateString })} |
|
|
|
disabledDate={(current) => current < moment(formData.confirm_start_time)} |
|
|
|
value={formData.end_time ? moment(formData.end_time) : undefined} |
|
|
|
onChange={(date, dateString) => setFormData({ ...formData, end_time: dateString })} |
|
|
|
disabledDate={(current) => current < moment(formData.start_time)} |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div className="yisa-search"> |
|
|
@ -490,9 +521,9 @@ function EditOrderInquiry(props) { |
|
|
|
className="form-con" |
|
|
|
showTime |
|
|
|
allowClear={false} |
|
|
|
value={formData.create_start_time ? moment(formData.create_start_time) : undefined} |
|
|
|
onChange={(date, dateString) => setFormData({ ...formData, create_start_time: dateString })} |
|
|
|
disabledDate={(current) => current > moment(formData.create_end_time)} |
|
|
|
value={formData.deal_time_start ? moment(formData.deal_time_start) : undefined} |
|
|
|
onChange={(date, dateString) => setFormData({ ...formData, deal_time_start: dateString })} |
|
|
|
disabledDate={(current) => current > moment(formData.deal_time_end)} |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div className="yisa-search"> |
|
|
@ -501,9 +532,9 @@ function EditOrderInquiry(props) { |
|
|
|
className="form-con" |
|
|
|
showTime |
|
|
|
allowClear={false} |
|
|
|
value={formData.create_end_time ? moment(formData.create_end_time) : undefined} |
|
|
|
onChange={(date, dateString) => setFormData({ ...formData, create_end_time: dateString })} |
|
|
|
disabledDate={(current) => current < moment(formData.create_start_time)} |
|
|
|
value={formData.deal_time_end ? moment(formData.deal_time_end) : undefined} |
|
|
|
onChange={(date, dateString) => setFormData({ ...formData, deal_time_end: dateString })} |
|
|
|
disabledDate={(current) => current < moment(formData.deal_time_start)} |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div className="yisa-search"> |
|
|
@ -511,10 +542,23 @@ function EditOrderInquiry(props) { |
|
|
|
<Select |
|
|
|
className="form-con" |
|
|
|
placeholder="请选择" |
|
|
|
options={searchSelectList?.flow_type_list || []} |
|
|
|
value={formData.pay_merchant_id} |
|
|
|
options={[ |
|
|
|
{ |
|
|
|
label: "待审核", |
|
|
|
value: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "已完成", |
|
|
|
value: 2, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "已驳回", |
|
|
|
value: 3, |
|
|
|
}, |
|
|
|
]} |
|
|
|
value={formData.status_id} |
|
|
|
onChange={(v) => |
|
|
|
setFormData({ ...formData, pay_merchant_id: v }) |
|
|
|
setFormData({ ...formData, status_id: v }) |
|
|
|
} |
|
|
|
/> |
|
|
|
</div> |
|
|
@ -541,7 +585,7 @@ function EditOrderInquiry(props) { |
|
|
|
<div className="row-head"> |
|
|
|
<span className="number-wrapper"> |
|
|
|
<span className="letter">共查询到</span> |
|
|
|
<span className="total-number">{resultData.total || 0} </span> |
|
|
|
<span className="total-number">{total || 0} </span> |
|
|
|
<span className="letter">条结果</span> |
|
|
|
</span> |
|
|
|
{/* <div> |
|
|
@ -552,12 +596,12 @@ function EditOrderInquiry(props) { |
|
|
|
</div> |
|
|
|
<ResultFlowResult |
|
|
|
ajaxLoad={tabLoading} |
|
|
|
resultData={resultData?.list || []} |
|
|
|
resultData={resultData || []} |
|
|
|
> |
|
|
|
<Table |
|
|
|
// className="yisa-table" |
|
|
|
rowKey={(row) => row.id} |
|
|
|
dataSource={resultData?.list || []} |
|
|
|
dataSource={resultData || []} |
|
|
|
columns={tableColumns} |
|
|
|
pagination={false} |
|
|
|
loading={tabLoading} |
|
|
|