-
修改金额
{ycddData?.update_info?.receivable_amount_exception || "--"}
+
+
+
应收金额
+
+ {ycddData?.order_info?.order_detail.receivable_amount || "--"}
+
+
+
+
优惠总计
+
+ {ycddData?.order_info?.order_detail.preferential_amount || "--"}
+
+
+
+
实付总计
+
+ {ycddData?.order_info?.order_detail.actual_amount || "--"}
+
+
+
+
欠费总计
+
+ {ycddData?.order_info?.order_detail.arrears_mount || "--"}
+
+
-
-
优惠金额修改
{ycddData?.update_info?.preferential_amount || "--"}
+
+
修改信息:{ycddData?.refund_id}
+
-
-
退款方式
{ycddData?.update_info?.refund_type_name || "--"}
+
+
+
修改原因
+
+ {ycddData?.update_info?.update_reason || "--"}
+
+
+
+
欠费金额修改
+
+ {ycddData?.update_info?.receivable_amount || "--"}
+
+
+
+
修改金额
+
+ {ycddData?.update_info?.receivable_amount_exception || "--"}
+
+
+
+
优惠金额修改
+
+ {ycddData?.update_info?.preferential_amount || "--"}
+
+
+
+
退款方式
+
+ {ycddData?.update_info?.refund_type_name || "--"}
+
+
+
+
退款金额共计
+
+ {ycddData?.update_info?.actual_refund || "--"}
+
+
-
-
退款金额共计
{ycddData?.update_info?.actual_refund || "--"}
+
+
-
-
-
+ );
// 导出
const handleExport = () => {
if (resultData.list?.length > 0) {
@@ -531,50 +665,48 @@ function EditOrderInquiry(props) {
placeholder="请选择"
options={[
{
- value: '0',
- label: '全部'
+ value: "0",
+ label: "全部",
},
{
- value: '1',
- label: '停车订单'
+ value: "1",
+ label: "停车订单",
},
{
- value: '2',
- label: '充电订单'
+ value: "2",
+ label: "充电订单",
},
{
- value: '3',
- label: '充值订单'
+ value: "3",
+ label: "充值订单",
},
{
- value: '4',
- label: '停车卡订单'
+ value: "4",
+ label: "停车卡订单",
},
{
- value: '5',
- label: '充电预约订单'
+ value: "5",
+ label: "充电预约订单",
},
{
- value: '6',
- label: '停车预约订单'
+ value: "6",
+ label: "停车预约订单",
},
{
- value: '7',
- label: '错峰订单'
+ value: "7",
+ label: "错峰订单",
},
{
- value: '8',
- label: '预付费订单'
+ value: "8",
+ label: "预付费订单",
},
{
- value: '9',
- label: '商家预付费订单'
+ value: "9",
+ label: "商家预付费订单",
},
]}
value={formData.parking_type}
- onChange={(v) =>
- setFormData({ ...formData, parking_type: v })
- }
+ onChange={(v) => setFormData({ ...formData, parking_type: v })}
/>
@@ -594,20 +726,31 @@ function EditOrderInquiry(props) {
className="form-con"
showTime
allowClear={false}
- value={formData.start_time ? moment(formData.start_time) : undefined}
- onChange={(date, dateString) => setFormData({ ...formData, start_time: dateString })}
+ value={
+ formData.start_time ? moment(formData.start_time) : undefined
+ }
+ onChange={(date, dateString) =>
+ setFormData({ ...formData, start_time: dateString })
+ }
disabledDate={(current) => current > moment(formData.end_time)}
/>
+
setFormData({ ...formData, end_time: dateString })}
- disabledDate={(current) => current < moment(formData.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)
+ }
/>
@@ -616,9 +759,17 @@ function EditOrderInquiry(props) {
className="form-con"
showTime
allowClear={false}
- 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)}
+ 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)
+ }
/>
@@ -627,9 +778,17 @@ function EditOrderInquiry(props) {
className="form-con"
showTime
allowClear={false}
- 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)}
+ 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)
+ }
/>
@@ -652,9 +811,7 @@ function EditOrderInquiry(props) {
},
]}
value={formData.status_id}
- onChange={(v) =>
- setFormData({ ...formData, status_id: v })
- }
+ onChange={(v) => setFormData({ ...formData, status_id: v })}
/>
@@ -709,23 +866,27 @@ function EditOrderInquiry(props) {
{
setDetailVisible(false);
}}
footer={[
- ,
+ ]}
>
{tkddModal}
{
setBigpicVisible(false);
@@ -733,22 +894,49 @@ function EditOrderInquiry(props) {
footer={false}
>
diff --git a/src/pages/FinancialMgm/OrderInquiry/ParkingOrderInquiry/index.jsx b/src/pages/FinancialMgm/OrderInquiry/ParkingOrderInquiry/index.jsx
index a69c7c3..bddd5b5 100644
--- a/src/pages/FinancialMgm/OrderInquiry/ParkingOrderInquiry/index.jsx
+++ b/src/pages/FinancialMgm/OrderInquiry/ParkingOrderInquiry/index.jsx
@@ -301,14 +301,14 @@ function ParkingOrderInquiry(props) {
type: "Select",
label: "支付渠道",
placeholder: "请选择支付渠道",
- options: dictionary.PayChannel,
+ options: sysConfig.payment,
},
{//11
name: "payment_equipment",
type: "Select",
label: "支付设备",
placeholder: "请选择支付设备",
- options: dictionary.PayDevice
+ options: sysConfig.Equipment
},
{//12
name: "pay_type",
diff --git a/src/pages/FinancialMgm/OrderInquiry/ReturnOrderInquiry/index.jsx b/src/pages/FinancialMgm/OrderInquiry/ReturnOrderInquiry/index.jsx
index 01571d6..9acf50f 100644
--- a/src/pages/FinancialMgm/OrderInquiry/ReturnOrderInquiry/index.jsx
+++ b/src/pages/FinancialMgm/OrderInquiry/ReturnOrderInquiry/index.jsx
@@ -1,474 +1,677 @@
import React, { useState, useRef, useEffect } from "react";
import {
- message,
- Pagination,
- Table,
- Input,
- Space,
- Modal,
- Button,
- Select,
- Tabs,
- Descriptions,
- Timeline
+ message,
+ Pagination,
+ Table,
+ Input,
+ Space,
+ Modal,
+ Button,
+ Select,
+ Tabs,
+ Descriptions,
+ Timeline,
} from "antd";
import moment from "moment";
-import ajax from '@/config/ajax.js'
+import ajax from "@/config/ajax.js";
import { TableModule } from "@/components";
import { dictionary } from "@/config/common.js";
import "./index.scss";
function ReturnOrderInquiry() {
- const [memberId, setMemberId] = useState()
- //构建表头
- const createCol = (label, name, type) => {
- label.length == name.length ? null : console.log('参数缺失', name, label.length, name.length)
- var arr = []
- label?.map((item, index) => {
- let cm = {
- title: item,
- dataIndex: name[index],
- key: name[index],
- align: "center",
- }
- switch (item) {
- case "序号":
- cm.render = (text, record, index) => index + 1
- break
- case "退款订单ID":
- case "业务订单ID":
- case "支付订单ID":
- cm.render = (text) => (
- <>
- {
- navigator.clipboard.writeText(`${text}`).then(() => { message.success("已复制到剪切板") });
- }}>{text}
- >
- )
- break
- default: break
- }
- arr.push(cm)
- })
- var obj = {
- title: "操作",
- dataIndex: "operation",
- key: "operation",
- fixed: "right",
- align: "center",
- }
- switch (type) {
- case 8:
- obj.render = (text, record) => {
-
- return <>
- {record.state_name == "退款失败" || record.state_name == "处理中" || record.state_name == "退款中" ?
- {
- refundre(record)
- // setTkddVisible(true)
- }}>
- 重试
-
- : null}
- {
- refundSearch(record)
- setTkddVisible(true)
- }}>
- 详情
-
- >
- }
- arr.push(obj)
- break
- default: break
- }
- return arr
+ const [memberId, setMemberId] = useState();
+ //构建表头
+ const createCol = (label, name, type) => {
+ label.length == name.length
+ ? null
+ : console.log("参数缺失", name, label.length, name.length);
+ var arr = [];
+ label?.map((item, index) => {
+ let cm = {
+ title: item,
+ dataIndex: name[index],
+ key: name[index],
+ align: "center",
+ };
+ switch (item) {
+ case "序号":
+ cm.render = (text, record, index) => index + 1;
+ break;
+ case "退款订单ID":
+ case "业务订单ID":
+ case "支付订单ID":
+ cm.render = (text) => (
+ <>
+ {
+ navigator.clipboard.writeText(`${text}`).then(() => {
+ message.success("已复制到剪切板");
+ });
+ }}
+ >
+ {text}
+
+ >
+ );
+ break;
+ default:
+ break;
+ }
+ arr.push(cm);
+ });
+ var obj = {
+ title: "操作",
+ dataIndex: "operation",
+ key: "operation",
+ fixed: "right",
+ align: "center",
+ };
+ switch (type) {
+ case 8:
+ obj.render = (text, record) => {
+ return (
+ <>
+ {record.state_name == "退款失败" ||
+ record.state_name == "处理中" ||
+ record.state_name == "退款中" ? (
+ {
+ refundre(record);
+ // setTkddVisible(true)
+ }}
+ >
+ 重试
+
+ ) : null}
+ {
+ refundSearch(record);
+ setTkddVisible(true);
+ }}
+ >
+ 详情
+
+ >
+ );
+ };
+ arr.push(obj);
+ break;
+ default:
+ break;
}
- //退费记录检索条件
- const formRefundSearch = [
+ return arr;
+ };
+ //退费记录检索条件
+ const formRefundSearch = [
+ {
+ name: "refund_id",
+ type: "Input",
+ label: "退款订单号",
+ placeholder: "请输入退款订单号",
+ },
+ {
+ name: "type",
+ type: "Select",
+ label: "业务订单类型",
+ defaultValue: "0",
+ options: [
+ {
+ value: "0",
+ label: "全部",
+ },
+ {
+ value: "1",
+ label: "停车订单",
+ },
+ {
+ value: "2",
+ label: "充电订单",
+ },
+ {
+ value: "3",
+ label: "充值订单",
+ },
+ {
+ value: "4",
+ label: "停车卡订单",
+ },
+ {
+ value: "5",
+ label: "充电预约订单",
+ },
+ {
+ value: "6",
+ label: "停车预约订单",
+ },
+ {
+ value: "7",
+ label: "错峰订单",
+ },
+ {
+ value: "8",
+ label: "预付费订单",
+ },
+ {
+ value: "9",
+ label: "商家预付费订单",
+ },
+ ],
+ },
+ {
+ name: "park_id",
+ type: "Input",
+ label: "业务订单ID",
+ placeholder: "请输入业务订单ID",
+ },
+ {
+ name: "order_id",
+ type: "Input",
+ label: "支付订单ID",
+ placeholder: "请输入支付订单ID",
+ },
+ {
+ name: "state",
+ type: "Select",
+ label: "退款状态",
+ options: [
+ {
+ label: "全部",
+ value: 0,
+ },
{
- name: "refund_id",
- type: "Input",
- label: "退款订单号",
- placeholder: "请输入退款订单号",
+ label: "待确认",
+ value: 1,
},
{
- name: "type",
- type: "Select",
- label: "业务订单类型",
- defaultValue:'0',
- options: [
- {
- value: '0',
- label: '全部'
- },
- {
- value: '1',
- label: '停车订单'
- },
- {
- value: '2',
- label: '充电订单'
- },
- {
- value: '3',
- label: '充值订单'
- },
- {
- value: '4',
- label: '停车卡订单'
- },
- {
- value: '5',
- label: '充电预约订单'
- },
- {
- value: '6',
- label: '停车预约订单'
- },
- {
- value: '7',
- label: '错峰订单'
- },
- {
- value: '8',
- label: '预付费订单'
- },
- {
- value: '9',
- label: '商家预付费订单'
- },
- ],
+ label: "退款中",
+ value: 2,
},
{
- name: "park_id",
- type: "Input",
- label: "业务订单ID",
- placeholder: "请输入业务订单ID",
+ label: "已完成",
+ value: 3,
},
{
- name: "order_id",
- type: "Input",
- label: "支付订单ID",
- placeholder: "请输入支付订单ID",
+ label: "退款失败",
+ value: 4,
},
+ ],
+ defaultValue: 0,
+ },
+ {
+ name: "reason",
+ type: "Select",
+ label: "退款原因",
+ defaultValue: 0,
+ options: [
{
- name: "state",
- type: "Select",
- label: "退款状态",
- options: [
- {
- label: "全部",
- value: 0,
- },
- {
- label: "待确认",
- value: 1,
- },
- {
- label: "退款中",
- value: 2,
- },
- {
- label: "已完成",
- value: 3,
- },
- {
- label: "退款失败",
- value: 4,
- },
- ],
- defaultValue:0,
+ label: "全部",
+ value: 0,
},
{
- name: "reason",
- type: "Select",
- label: "退款原因",
- defaultValue:0,
- options: [
- {
- label: "全部",
- value: 0,
- },
- {
- label: "重复支付退款",
- value: 2,
- },
- {
- label: "异常支付退款",
- value: 7,
- },
- {
- label: "异常订单处理",
- value: 11,
- },
- {
- label: "自动平单退款",
- value: 12,
- },
- ],
+ label: "重复支付退款",
+ value: 2,
},
{
- name: "flow_id",
- type: "Input",
- label: "渠道流水号",
- placeholder: "请输入渠道流水号",
+ label: "异常支付退款",
+ value: 7,
},
{
- name: "timePeriod",
- type: "RangePicker",
- label: "时间段",
- defaultTitle: ['退款时间', '至'],
- defaultValue: [moment().subtract(1, "month"), moment()],
+ label: "异常订单处理",
+ value: 11,
},
- ];
- const [resultData, setResultData] = useState([])
- const [ycddData, setYcddData] = useState([])//详情数据
- const [detailVisible, setDetailVisible] = useState(false);
- const [timesVisible, setTimesVisible] = useState(false); //退款尝试次数展开
- const [tkddVisible, setTkddVisible] = useState(false);
- const [eaeVisible, setEaeVisible] = useState(false);//出入场图片
- const [bigpicVisible, setBigpicVisible] = useState(false);//大图展示
- const [bigPic, setBigPic] = useState();
- const [total, setTotal] = useState(0);
+ {
+ label: "自动平单退款",
+ value: 12,
+ },
+ ],
+ },
+ {
+ name: "flow_id",
+ type: "Input",
+ label: "渠道流水号",
+ placeholder: "请输入渠道流水号",
+ },
+ {
+ name: "timePeriod",
+ type: "RangePicker",
+ label: "时间段",
+ defaultTitle: ["退款时间", "至"],
+ defaultValue: [moment().subtract(1, "month"), moment()],
+ },
+ ];
+ const [resultData, setResultData] = useState([]);
+ const [ycddData, setYcddData] = useState([]); //详情数据
+ const [detailVisible, setDetailVisible] = useState(false);
+ const [timesVisible, setTimesVisible] = useState(false); //退款尝试次数展开
+ const [tkddVisible, setTkddVisible] = useState(false);
+ const [eaeVisible, setEaeVisible] = useState(false); //出入场图片
+ const [bigpicVisible, setBigpicVisible] = useState(false); //大图展示
+ const [bigPic, setBigPic] = useState();
+ const [total, setTotal] = useState(0);
- //列表查询
- function search(e) {
- var url = "/api/ope/record/get_refund_orders"//退费订单
- ajax({
- url: url,
- type: "post",
- data: { ...e, memberId: memberId, startTime: e?.start_time, endTime: e?.end_time },
- }).then((res) => {
- let { status, data, total } = res
- if (status == 20000) {
- if (data.list) {
- setResultData(data.list)
- setTotal(data.total)
- } else {
- setResultData(data)
- setTotal(total)
- }
- } else {
- setResultData([])
- message.error(res.message)
- }
- })
- }
- //退款订单详情
- function refundSearch(e) {
- ajax({
- url: "/api/ope/record/refund_info",
- type: "get",
- data: { id: e.id },
- }).then((res) => {
- let { status, data } = res
- if (status == 20000) {
- //setResultData(data)
- setYcddData(data)
- } else {
- message.error(res.message)
- }
- })
- }
- //退款重试
- function refundre(e) {
- ajax({
- url: "/api/fin/order_search/refund_retry",
- type: "post",
- data: { refund_id: e.id },
- }).then((res) => {
- let { status } = res
- if (status == 20000) {
- message.success(res.message)
- } else {
- message.error(res.message)
- }
- })
- }
- //页面渲染
- function renderTable(columns, arr, dataSource, exportUrl) {
- return (
-
- );
- }
+ //列表查询
+ function search(e) {
+ var url = "/api/ope/record/get_refund_orders"; //退费订单
+ ajax({
+ url: url,
+ type: "post",
+ data: {
+ ...e,
+ memberId: memberId,
+ startTime: e?.start_time,
+ endTime: e?.end_time,
+ },
+ }).then((res) => {
+ let { status, data, total } = res;
+ if (status == 20000) {
+ if (data.list) {
+ setResultData(data.list);
+ setTotal(data.total);
+ } else {
+ setResultData(data);
+ setTotal(total);
+ }
+ } else {
+ setResultData([]);
+ message.error(res.message);
+ }
+ });
+ }
+ //退款订单详情
+ function refundSearch(e) {
+ ajax({
+ url: "/api/ope/record/refund_info",
+ type: "get",
+ data: { id: e.id },
+ }).then((res) => {
+ let { status, data } = res;
+ if (status == 20000) {
+ //setResultData(data)
+ setYcddData(data);
+ } else {
+ message.error(res.message);
+ }
+ });
+ }
+ //退款重试
+ function refundre(e) {
+ ajax({
+ url: "/api/fin/order_search/refund_retry",
+ type: "post",
+ data: { refund_id: e.id },
+ }).then((res) => {
+ let { status } = res;
+ if (status == 20000) {
+ message.success(res.message);
+ } else {
+ message.error(res.message);
+ }
+ });
+ }
+ //页面渲染
+ function renderTable(columns, arr, dataSource, exportUrl) {
+ return (
+
+ );
+ }
- //退款订单详情
- const tkddModal =
-
退款订单:{ycddData?.refund_id}
-
+ //退款订单详情
+ const tkddModal = (
+
+
+
退款订单:{ycddData?.refund_id}
+
+
+
+
+
生成时间
+
{ycddData?.refund_time || "--"}
+
+
+
退款状态
+
{ycddData.refund_state || "--"}
+
+
+
支付渠道
+
{ycddData.payment_channels || "--"}
+
+
+
退款方式
+
{ycddData.refund_type || "--"}
+
+
+
应退实付金额
+
+ {ycddData.refund_actual_amount || "--"}
+
+
+
+
已退实付金额
+
+ {ycddData.has_refund_actual_amount || "--"}
+
+
+
+
应退优惠金额
+
+ {ycddData.refund_discount_amount || "--"}
+
+
+
+
已退优惠金额
+
+ {ycddData.has_refund_discount_amount || "--"}
+
+
+
+
+
最近尝试时间
+
{ycddData.latest_try_time || "--"}
+
+
+ {timesVisible ? (
+ <>
+
+ {/*
record.id}
+ /> */}
+ >
+ ) : (
+ <>
+
+
支付订单:{ycddData.order_id}
+
+
+
-
生成时间
{ycddData?.refund_time || "--"}
+
平台商户
+
{ycddData.payment_operator_name}
-
退款状态
{ycddData.refund_state || "--"}
+
生成时间
+
{ycddData.payment_create_time}
-
支付渠道
{ycddData.payment_channels || "--"}
+
支付时间
+
{ycddData.pay_time}
-
退款方式
{ycddData.refund_type || "--"}
+
支付渠道
+
{ycddData.payment_channels}
-
应退实付金额
{ycddData.refund_actual_amount || "--"}
+
优惠金额
+
{ycddData.discount_amount}
-
已退实付金额
{ycddData.has_refund_actual_amount || "--"}
+
支付应用
+
{ycddData.payment_equipment}
-
应退优惠金额
{ycddData.refund_discount_amount || "--"}
+
实付金额
+
{ycddData.paid_in_money}
+
+
+
停车订单:{ycddData.park_record_id}
+
+
+
+
-
已退优惠金额
{ycddData.has_refund_discount_amount || "--"}
+
平台商户
+
{ycddData.payment_operator_name}
-
退款尝试次数
+
停车场名称
+
{ycddData?.road_name}
-
最近尝试时间
{ycddData.latest_try_time || "--"}
+
区域
+
{ycddData.area_name}
-
- {timesVisible ? <>
-
- {/* record.id}
- /> */}
- > :
- <>
-
-
-
-
平台商户
{ycddData.payment_operator_name}
-
-
-
生成时间
{ycddData.payment_create_time}
-
-
-
支付时间
{ycddData.pay_time}
-
-
-
支付渠道
{ycddData.payment_equipment}
-
-
-
优惠金额
{ycddData.discount_amount}
-
-
-
支付应用
{ycddData.payment_equipment}
-
-
-
实付金额
{ycddData.paid_in_money}
-
-
- 停车订单:{ycddData.park_record_id}
-
-
-
-
平台商户
{ycddData.payment_operator_name}
-
-
-
停车场名称
{ycddData?.road_name}
-
-
-
区域
{ycddData.area_name}
-
-
-
商户名称
{ycddData.park_operator_name}
-
-
-
泊位号
{ycddData.berth_code}
-
-
-
车场类型
{ycddData.road_type}
-
-
-
-
-
-
车牌号
{ycddData.plate_number}
-
-
-
停车时长
{ycddData.parking_duration}
-
-
-
入场时间
{ycddData.in_time}
-
-
-
出场时间
{ycddData.out_time}
-
-
-
入场记录来源
{ycddData.inSource}
-
-
-
出场记录来源
{ycddData.outSource}
-
-
-
- >}
+ {/*
+
商户名称
+
{ycddData.park_operator_name}
+
+
+
泊位号
+
{ycddData.berth_code}
+
*/}
+
+
车场类型
+
{ycddData.road_type}
+
+
+
+
+
+
车牌号
+
{ycddData.plate_number}
+
+
+
停车时长
+
{ycddData.parking_duration}
+
+
+
入场时间
+
{ycddData.in_time}
+
+
+
出场时间
+
{ycddData.out_time}
+
+
+
入场记录来源
+
{ycddData.inSource}
+
+
+
出场记录来源
+
{ycddData.outSource}
+
+
+
+ >
+ )}
+ );
- return (
- <>
- {renderTable(
- createCol(['序号', '最近尝试时间', '支付渠道', '应退实付(元)', '应退优惠(元)', '退款原因', '退款申请时间', '退款订单ID', '业务订单类型', '业务订单ID', '支付订单类型', '支付订单ID', '渠道流水号', '状态'],
- ['index', 'latest_try_time', 'payment_channels_name', 'refund_actual_amount', 'refund_discount_amount', 'reason_name', 'refund_time', 'id', 'parking_type_name', 'park_record_id', 'payment_type_name', 'payment_order_id', 'flow_id', 'state_name'], 8),
- formRefundSearch,
- resultData,'/api/ope/record/refund_export'
- )}
- {
- setBigpicVisible(false);
- }}
- footer={false}
- >
-
-
-

-
-
-
- {
- setTkddVisible(false);
- setYcddData([]);
- }}
- footer={[
- {
- setTkddVisible(false);
- setYcddData([]);
- }}>
- 关闭窗口
- ]}
- >
- {tkddModal}
-
- >
- );
+ return (
+ <>
+ {renderTable(
+ createCol(
+ [
+ "序号",
+ "最近尝试时间",
+ "支付渠道",
+ "应退实付(元)",
+ "应退优惠(元)",
+ "退款原因",
+ "退款申请时间",
+ "退款订单ID",
+ "业务订单类型",
+ "业务订单ID",
+ "支付订单类型",
+ "支付订单ID",
+ "渠道流水号",
+ "状态",
+ ],
+ [
+ "index",
+ "latest_try_time",
+ "payment_channels_name",
+ "refund_actual_amount",
+ "refund_discount_amount",
+ "reason_name",
+ "refund_time",
+ "id",
+ "parking_type_name",
+ "park_record_id",
+ "payment_type_name",
+ "payment_order_id",
+ "flow_id",
+ "state_name",
+ ],
+ 8
+ ),
+ formRefundSearch,
+ resultData,
+ "/api/ope/record/refund_export"
+ )}
+ {
+ setBigpicVisible(false);
+ }}
+ footer={false}
+ >
+
+
+

+
+
+
+ {
+ setTkddVisible(false);
+ setYcddData([]);
+ }}
+ footer={[
+ {
+ setTkddVisible(false);
+ setYcddData([]);
+ }}
+ >
+ 关闭窗口
+ ,
+ ]}
+ >
+ {tkddModal}
+
+ {
+ setEaeVisible(false);
+ }}
+ footer={false}
+ >
+
+
+
+
+

+
+
+

+
+
+
+
+
+

+
+
+

+
+
+
+
+ >
+ );
}
-export default ReturnOrderInquiry;
\ No newline at end of file
+export default ReturnOrderInquiry;
diff --git a/src/pages/FinancialMgm/OrderInquiry/ReturnOrderInquiry/index.scss b/src/pages/FinancialMgm/OrderInquiry/ReturnOrderInquiry/index.scss
index 9455417..84d9602 100644
--- a/src/pages/FinancialMgm/OrderInquiry/ReturnOrderInquiry/index.scss
+++ b/src/pages/FinancialMgm/OrderInquiry/ReturnOrderInquiry/index.scss
@@ -301,6 +301,101 @@ $color-primary: var(--color-primary);
display: inline-block;
font-size: 16px;
}
+ .ltc-box {
+ width: 100%;
+ .ltc-box-title {
+ font-size: 18px;
+ font-weight: bolder;
+ width: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ .text {
+ display: inline-block;
+ }
+ .line {
+ display: inline-block;
+ border: 1px dotted #607092;
+ width: inherit;
+ margin-bottom: 6px;
+ }
+ .ltc-icon {
+ width: 5px;
+ background: #0080db;
+ height: 19px;
+ display: inline-block;
+ margin-right: 10px;
+ }
+ .ltc-btn {
+ display: inline-block;
+ border: 1px solid;
+ border-radius: 5px;
+ margin: 0 10px;
+ width: 60px;
+ height: 35px;
+ line-height: 35px;
+ text-align: center;
+ background: #409eff;
+ color: #fff;
+ font-weight: 100;
+ cursor: pointer;
+ }
+ .ltc-cancel {
+ background: #fff;
+ color: #000;
+ }
+ }
+ .ltc-box-line {
+ border: 1px solid #e7e7e7;
+ margin: 8px 0;
+ }
+ .ltc-box-in {
+ margin-left: 20px;
+ .ant-descriptions {
+ margin-left: 20px;
+ }
+ }
+ .ltc-title {
+ margin: auto;
+ width: 50%;
+ text-align: center;
+ font-size: 18px;
+ font-weight: 600;
+ }
+ .ltc-content {
+ margin: auto;
+ padding: 20px;
+ .ltc-item {
+ font-size: 14px;
+ margin: 6px 12px 6px 0;
+ display: inline-flex;
+ //width: 470px;
+ .new-item {
+ display: inline-block;
+ width: 120px;
+ height: 32px;
+ line-height: 32px;
+ background: rgba(150,161,192,0.24);
+ text-align: center;
+ }
+ .new-value {
+ display: inline-block;
+ width: 320px;
+ height: 32px;
+ line-height: 32px;
+ text-align: center;
+ background: #3E4557;
+ box-shadow: 0px 3px 8px 0px rgba(0,0,0,0.12);
+ }
+ .ltc-item-input {
+ display: inline-block;
+ width: 200px;
+ }
+ div {
+ width: 150px;
+ }
+ }
+ }
+ }
}
.cc-container {
overflow: auto;
diff --git a/src/pages/FinancialMgm/PayConf/AppConf/index.scss b/src/pages/FinancialMgm/PayConf/AppConf/index.scss
index 0d23259..a745ccc 100644
--- a/src/pages/FinancialMgm/PayConf/AppConf/index.scss
+++ b/src/pages/FinancialMgm/PayConf/AppConf/index.scss
@@ -208,4 +208,13 @@ $color-primary : var(--color-primary);
margin-left: 20px;
}
}
+ .form-container{
+ .ant-form-item{
+ .ant-form-item-label{
+ label{
+ line-height: 32px;
+ }
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/src/pages/FinancialMgm/PayConf/PayMerchantConf/index.jsx b/src/pages/FinancialMgm/PayConf/PayMerchantConf/index.jsx
index c1f33e8..752bc89 100644
--- a/src/pages/FinancialMgm/PayConf/PayMerchantConf/index.jsx
+++ b/src/pages/FinancialMgm/PayConf/PayMerchantConf/index.jsx
@@ -328,6 +328,7 @@ function MerchantConfiguration(props) {
// 表单提交
const onFinish = (values) => {
+ console.log(values);
ajax[values?.id ? "getPaymentMerchantEdit" : "getPaymentMerchantAdd"]({
...values,
}).then(
@@ -485,7 +486,7 @@ function MerchantConfiguration(props) {
type: "select",
label: "服务窗",
name: "service_window",
- value: rowData?.service_window_name,
+ value: rowData?.service_window,
options: platformToAppData?.service_window || [],
required: false,
allowClear: true,
@@ -494,7 +495,7 @@ function MerchantConfiguration(props) {
type: "select",
label: "APP-支付宝",
name: "alipay_app",
- value: rowData?.alipay_app_name,
+ value: rowData?.alipay_app,
options: platformToAppData?.alipay_app || [],
required: false,
allowClear: true,
@@ -615,7 +616,6 @@ function MerchantConfiguration(props) {
return null;
}
};
-
return (
<>
diff --git a/src/pages/InRoadMgm/EquipmentMgm/NvrMgm/loadable.jsx b/src/pages/InRoadMgm/EquipmentMgm/NvrMgm/loadable.jsx
index b45cc26..6627ceb 100644
--- a/src/pages/InRoadMgm/EquipmentMgm/NvrMgm/loadable.jsx
+++ b/src/pages/InRoadMgm/EquipmentMgm/NvrMgm/loadable.jsx
@@ -56,7 +56,7 @@ function Fence(props) {
address: "",
device_name: "",
road_name: "", //路段名称
- operator: -1, //运营商
+ operator: "0", //运营商
export: false,
road_id: "", //所属路段
pn: 1,
diff --git a/src/pages/InRoadMgm/RecordInquiry/DisabledCarParkRecordTotal/loadable.jsx b/src/pages/InRoadMgm/RecordInquiry/DisabledCarParkRecordTotal/loadable.jsx
index 27f9df1..7244c18 100644
--- a/src/pages/InRoadMgm/RecordInquiry/DisabledCarParkRecordTotal/loadable.jsx
+++ b/src/pages/InRoadMgm/RecordInquiry/DisabledCarParkRecordTotal/loadable.jsx
@@ -727,6 +727,10 @@ function DisabledCarParkRecordTotal() {
onCancel={() => {
setCardVisible(false);
}}
+ onOk={()=>{
+ setCardVisible(false);
+
+ }}
>

diff --git a/src/pages/InRoadMgm/RoadMgm/AddRoad/loadable.jsx b/src/pages/InRoadMgm/RoadMgm/AddRoad/loadable.jsx
index 555c089..d3ce383 100644
--- a/src/pages/InRoadMgm/RoadMgm/AddRoad/loadable.jsx
+++ b/src/pages/InRoadMgm/RoadMgm/AddRoad/loadable.jsx
@@ -148,7 +148,7 @@ function AddRoad() {
function getAreaArr(data, id, path = []) {
console.log(data);
for (const item of data) {
- if (item.id === id) {
+ if (item.id == id) {
path.push(item.id);
return path;
}
diff --git a/src/pages/InRoadMgm/RoadMgm/ConfigRoad/loadable.jsx b/src/pages/InRoadMgm/RoadMgm/ConfigRoad/loadable.jsx
index 7b4c23f..f4b1154 100644
--- a/src/pages/InRoadMgm/RoadMgm/ConfigRoad/loadable.jsx
+++ b/src/pages/InRoadMgm/RoadMgm/ConfigRoad/loadable.jsx
@@ -856,8 +856,9 @@ function ConfigRoad() {
},
};
//form子组件
- const formRef = React.createRef();
- console.log(showBerthSelect);
+ // const formRef = React.createRef();
+ const formRef=useRef()
+
//收费员管理
const tollCollector = {
form: [
@@ -1180,6 +1181,7 @@ function ConfigRoad() {
.then((res) => {
if (res.status === 20000) {
message.success(res.message);
+ formRef.current.getList();
} else {
message.error(res.message);
}
@@ -1187,6 +1189,7 @@ function ConfigRoad() {
.catch((err) => console.error(err));
}
+
function getRoadTollList() {
ajax
.getRoadTollList({ road_id: parking_id })
@@ -2011,6 +2014,7 @@ function ConfigRoad() {
targetKeys={hasSelectTollList}
onChange={(nexTargetKeys) => {
setHasSelectTollList(nexTargetKeys);
+ console.log(nexTargetKeys);
}}
render={(item) => item.label}
/>
@@ -2494,8 +2498,8 @@ const SearchPart = forwardRef((props, ref) => {
getList();
}
useImperativeHandle(ref, () => {
- return { getList };
- });
+ return { getList:getList };
+ },[]);
useEffect(() => {
getList();
diff --git a/src/pages/OperationCenter/CarMgm/CarAuth/index.scss b/src/pages/OperationCenter/CarMgm/CarAuth/index.scss
index c878ac3..5674e16 100644
--- a/src/pages/OperationCenter/CarMgm/CarAuth/index.scss
+++ b/src/pages/OperationCenter/CarMgm/CarAuth/index.scss
@@ -134,6 +134,9 @@ $color-primary : var(--color-primary);
text-align: center;
}
.new-value {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
display: inline-block;
width: 320px;
height: 32px;
diff --git a/src/pages/OperationCenter/UserMgm/UserInfo/loadable.jsx b/src/pages/OperationCenter/UserMgm/UserInfo/loadable.jsx
index 483a58b..fb07a92 100644
--- a/src/pages/OperationCenter/UserMgm/UserInfo/loadable.jsx
+++ b/src/pages/OperationCenter/UserMgm/UserInfo/loadable.jsx
@@ -606,6 +606,8 @@ function UserInfo() {
const [bigPic, setBigPic] = useState();
const [total, setTotal] = useState(0);
const [tabKey, setTabKey] = useState("1");
+ //详情弹框tab
+ const [actkey,setactKey]=useState("1")
function openModal(params) {
setDetailVisible(true);
}
@@ -1218,10 +1220,11 @@ function UserInfo() {
width={1500}
onCancel={() => {
setDetailVisible(false);
+ setactKey("1")
}}
footer={null}
>
-
+ {setactKey(v)}}>
{/* {renderParkRecord(detailData)} */}
{renderParkRecord(ycddData)}
diff --git a/src/pages/OutRoadMgm/OutDeviceMgm/OutNvrMgm/loadable.jsx b/src/pages/OutRoadMgm/OutDeviceMgm/OutNvrMgm/loadable.jsx
index 2a4f1f6..f16e3b3 100644
--- a/src/pages/OutRoadMgm/OutDeviceMgm/OutNvrMgm/loadable.jsx
+++ b/src/pages/OutRoadMgm/OutDeviceMgm/OutNvrMgm/loadable.jsx
@@ -394,7 +394,16 @@ function OutNvrMgm(props) {
// 表单提交
const onFinish = (values) => {
- // console.log(values);
+ let pattern = /^([0-9]{1,3}\.){3}[0-9]{1,3}$/;
+ let duankou=/^([1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/;
+ if(!pattern.test(values.ip_address)){
+ message.warning("请输入合理格式的ip地址")
+ return false
+ }else if(!duankou.test(values.port)){
+ message.warning("请输入合适的端口号")
+ return false
+ }
+ console.log(values);
ajax[values?.id ? "doEditOutNvr" : "doAddOutNvr"](values).then(
(res) => {
if (res?.status == 20000) {
diff --git a/src/pages/OutRoadMgm/OutSegmentMgm/OutSegment/loadable.jsx b/src/pages/OutRoadMgm/OutSegmentMgm/OutSegment/loadable.jsx
index 5ab6539..598640b 100644
--- a/src/pages/OutRoadMgm/OutSegmentMgm/OutSegment/loadable.jsx
+++ b/src/pages/OutRoadMgm/OutSegmentMgm/OutSegment/loadable.jsx
@@ -82,6 +82,7 @@ function OutSegment() {
dataIndex: "area_name",
key: "area_name",
align: "center",
+ render: (text, record, index) => {text}
},
{
title: "车位数",