|
|
@ -168,317 +168,238 @@ function ParkingOrderInquiry() { |
|
|
|
defaultValue: [moment().subtract(1, "month"), moment()], |
|
|
|
}, |
|
|
|
]; |
|
|
|
//退费记录检索条件 |
|
|
|
const formRefundSearch = [ |
|
|
|
{ |
|
|
|
name: "refund_id", |
|
|
|
type: "Input", |
|
|
|
label: "退款订单号", |
|
|
|
placeholder: "请输入退款订单号", |
|
|
|
|
|
|
|
//所有检索条件 |
|
|
|
const ash = [ |
|
|
|
{//1 |
|
|
|
name: "region", |
|
|
|
type: "TreeSelect", |
|
|
|
label: "区域", |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "type", |
|
|
|
{//2 |
|
|
|
name: "operator", |
|
|
|
type: "Select", |
|
|
|
label: "业务订单类型", |
|
|
|
options: dictionary.BusinessOrderType, |
|
|
|
label: "商户名称", |
|
|
|
options: dictionary.MerchantName, |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "park_id", |
|
|
|
{//3 |
|
|
|
name: "road", |
|
|
|
type: "Input", |
|
|
|
label: "业务订单ID", |
|
|
|
placeholder: "请输入业务订单ID", |
|
|
|
label: "停车场名称", |
|
|
|
placeholder: "请输入停车场名称", |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "order_id", |
|
|
|
type: "Input", |
|
|
|
label: "支付订单ID", |
|
|
|
placeholder: "请输入支付订单ID", |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "state", |
|
|
|
{//4 |
|
|
|
name: "road_type", |
|
|
|
type: "Select", |
|
|
|
label: "退款状态", |
|
|
|
label: "车场类型", |
|
|
|
options: [ |
|
|
|
{ |
|
|
|
label: "全部", |
|
|
|
value: 0, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "待确认", |
|
|
|
label: "路侧平行", |
|
|
|
value: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "退款中", |
|
|
|
label: "路侧垂停", |
|
|
|
value: 2, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "已完成", |
|
|
|
label: "封闭车场", |
|
|
|
value: 3, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "退款失败", |
|
|
|
label: "半封闭车场", |
|
|
|
value: 4, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "reason", |
|
|
|
{//5 |
|
|
|
name: "phone", |
|
|
|
type: "Input", |
|
|
|
label: "手机号", |
|
|
|
placeholder: "请输入手机号", |
|
|
|
}, |
|
|
|
{//6 |
|
|
|
name: "type", |
|
|
|
type: "Select", |
|
|
|
label: "出入场类型", |
|
|
|
placeholder: "请选择出入场类型", |
|
|
|
defaultValue: 1, |
|
|
|
options: [ |
|
|
|
{ |
|
|
|
label: "入场", |
|
|
|
value: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "出场", |
|
|
|
value: 2, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
|
|
|
|
{//7 |
|
|
|
name: "b", |
|
|
|
type: "Input", |
|
|
|
label: "商品名称", |
|
|
|
placeholder: "请输入商品名称", |
|
|
|
}, |
|
|
|
{//8 |
|
|
|
name: "b", |
|
|
|
type: "Select", |
|
|
|
label: "退款原因", |
|
|
|
label: "购买渠道", |
|
|
|
placeholder: "请选择购买渠道", |
|
|
|
options: [ |
|
|
|
{ |
|
|
|
label: "全部", |
|
|
|
value: 0, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "异常订单处理", |
|
|
|
label: "线上渠道", |
|
|
|
value: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "自动平单退款", |
|
|
|
label: "后台录入", |
|
|
|
value: 2, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "flow_id", |
|
|
|
{//9 |
|
|
|
name: "b", |
|
|
|
type: "Select", |
|
|
|
label: "订单状态", |
|
|
|
placeholder: "请选择订单状态", |
|
|
|
options: [ |
|
|
|
{ |
|
|
|
label: "全部", |
|
|
|
value: 0, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "未生效", |
|
|
|
value: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "生效中", |
|
|
|
value: 2, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "已失效", |
|
|
|
value: 3, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{//10 |
|
|
|
name: "PayChannel", |
|
|
|
type: "Select", |
|
|
|
label: "支付渠道", |
|
|
|
placeholder: "请选择支付渠道", |
|
|
|
options: dictionary.PayChannel, |
|
|
|
}, |
|
|
|
{//11 |
|
|
|
name: "payment_equipment", |
|
|
|
type: "Select", |
|
|
|
label: "支付设备", |
|
|
|
placeholder: "请选择支付设备", |
|
|
|
options: dictionary.PayDevice |
|
|
|
}, |
|
|
|
{//12 |
|
|
|
name: "pay_type", |
|
|
|
type: "Select", |
|
|
|
label: "支付方式", |
|
|
|
placeholder: "请选择支付方式", |
|
|
|
options: dictionary.PaydMethod, |
|
|
|
}, |
|
|
|
{//13 |
|
|
|
name: "timePeriod", |
|
|
|
type: "RangePicker", |
|
|
|
label: "时间段", |
|
|
|
defaultValue: [moment().startOf("day"), moment()], |
|
|
|
}, |
|
|
|
{//14 |
|
|
|
name: "b", |
|
|
|
type: "Select", |
|
|
|
label: "退款方式", |
|
|
|
placeholder: "请选择退款方式", |
|
|
|
options: dictionary.PaydMethod, |
|
|
|
}, |
|
|
|
{//15 |
|
|
|
name: "b", |
|
|
|
type: "Input", |
|
|
|
label: "渠道流水号", |
|
|
|
placeholder: "请输入渠道流水号", |
|
|
|
label: "第三方流水号", |
|
|
|
placeholder: "请输入第三方流水号", |
|
|
|
}, |
|
|
|
{ |
|
|
|
{//16 |
|
|
|
name: "timePeriod", |
|
|
|
type: "RangePicker", |
|
|
|
label: "时间段", |
|
|
|
defaultTitle: ['退款时间', '至'], |
|
|
|
defaultValue: [moment().subtract(1, "month"), moment()], |
|
|
|
defaultTitle: ['支付时间', '至'] |
|
|
|
// defaultValue: [moment().startOf("day"), moment()], |
|
|
|
}, |
|
|
|
{//17 |
|
|
|
name: "timePeriod", |
|
|
|
type: "RangePicker", |
|
|
|
label: "时间段", |
|
|
|
defaultTitle: ['订购时间', '至'] |
|
|
|
// defaultValue: [moment().startOf("day"), moment()], |
|
|
|
}, |
|
|
|
{//18 |
|
|
|
name: "timePeriod", |
|
|
|
type: "RangePicker", |
|
|
|
label: "时间段", |
|
|
|
defaultTitle: ['预约到场时间', '至'] |
|
|
|
// defaultValue: [moment().startOf("day"), moment()], |
|
|
|
}, |
|
|
|
{//19 |
|
|
|
name: "plate", |
|
|
|
type: "Input", |
|
|
|
label: "车牌号", |
|
|
|
placeholder: "请输入车牌号", |
|
|
|
}, |
|
|
|
{//20 |
|
|
|
name: "order_id", |
|
|
|
type: "Input", |
|
|
|
label: "支付订单ID", |
|
|
|
placeholder: "请输入支付订单ID", |
|
|
|
}, |
|
|
|
{//21 |
|
|
|
name: "t", |
|
|
|
type: "Input", |
|
|
|
label: "泊位号", |
|
|
|
placeholder: "请输入泊位号", |
|
|
|
}, |
|
|
|
{//22 |
|
|
|
name: "t", |
|
|
|
type: "Select", |
|
|
|
label: "所属商户", |
|
|
|
placeholder: "请选择所属商户", |
|
|
|
options: dictionary.PaydMethod, |
|
|
|
}, |
|
|
|
{//23 |
|
|
|
name: "t", |
|
|
|
type: "Input", |
|
|
|
label: "预付订单ID", |
|
|
|
placeholder: "请输入订单ID", |
|
|
|
}, |
|
|
|
{//24 |
|
|
|
name: "t", |
|
|
|
type: "Input", |
|
|
|
label: "停车记录ID", |
|
|
|
placeholder: "停车记录ID", |
|
|
|
}, |
|
|
|
{//25 |
|
|
|
name: "t", |
|
|
|
type: "Input", |
|
|
|
label: "操作人", |
|
|
|
placeholder: "请输入操作人", |
|
|
|
}, |
|
|
|
{//26 |
|
|
|
name: "t", |
|
|
|
type: "Input", |
|
|
|
label: "停车订单ID", |
|
|
|
placeholder: "停车订单ID", |
|
|
|
}, |
|
|
|
]; |
|
|
|
//所有检索条件 |
|
|
|
const ash = [ |
|
|
|
{//1 |
|
|
|
name: "region", |
|
|
|
type: "TreeSelect", |
|
|
|
label: "区域", |
|
|
|
}, |
|
|
|
{//2 |
|
|
|
name: "operator", |
|
|
|
type: "Select", |
|
|
|
label: "商户名称", |
|
|
|
options: dictionary.MerchantName, |
|
|
|
}, |
|
|
|
{//3 |
|
|
|
name: "road", |
|
|
|
type: "Input", |
|
|
|
label: "停车场名称", |
|
|
|
placeholder: "请输入停车场名称", |
|
|
|
}, |
|
|
|
{//4 |
|
|
|
name: "road_type", |
|
|
|
type: "Select", |
|
|
|
label: "车场类型", |
|
|
|
options: [ |
|
|
|
{ |
|
|
|
label: "全部", |
|
|
|
value: 0, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "路侧平行", |
|
|
|
value: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "路侧垂停", |
|
|
|
value: 2, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "封闭车场", |
|
|
|
value: 3, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "半封闭车场", |
|
|
|
value: 4, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{//5 |
|
|
|
name: "phone", |
|
|
|
type: "Input", |
|
|
|
label: "手机号", |
|
|
|
placeholder: "请输入手机号", |
|
|
|
}, |
|
|
|
{//6 |
|
|
|
name: "type", |
|
|
|
type: "Select", |
|
|
|
label: "出入场类型", |
|
|
|
placeholder: "请选择出入场类型", |
|
|
|
defaultValue: 1, |
|
|
|
options: [ |
|
|
|
{ |
|
|
|
label: "入场", |
|
|
|
value: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "出场", |
|
|
|
value: 2, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
|
|
|
|
{//7 |
|
|
|
name: "b", |
|
|
|
type: "Input", |
|
|
|
label: "商品名称", |
|
|
|
placeholder: "请输入商品名称", |
|
|
|
}, |
|
|
|
{//8 |
|
|
|
name: "b", |
|
|
|
type: "Select", |
|
|
|
label: "购买渠道", |
|
|
|
placeholder: "请选择购买渠道", |
|
|
|
options: [ |
|
|
|
{ |
|
|
|
label: "全部", |
|
|
|
value: 0, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "线上渠道", |
|
|
|
value: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "后台录入", |
|
|
|
value: 2, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{//9 |
|
|
|
name: "b", |
|
|
|
type: "Select", |
|
|
|
label: "订单状态", |
|
|
|
placeholder: "请选择订单状态", |
|
|
|
options: [ |
|
|
|
{ |
|
|
|
label: "全部", |
|
|
|
value: 0, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "未生效", |
|
|
|
value: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "生效中", |
|
|
|
value: 2, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "已失效", |
|
|
|
value: 3, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{//10 |
|
|
|
name: "PayChannel", |
|
|
|
type: "Select", |
|
|
|
label: "支付渠道", |
|
|
|
placeholder: "请选择支付渠道", |
|
|
|
options: dictionary.PayChannel, |
|
|
|
}, |
|
|
|
{//11 |
|
|
|
name: "payment_equipment", |
|
|
|
type: "Select", |
|
|
|
label: "支付设备", |
|
|
|
placeholder: "请选择支付设备", |
|
|
|
options: dictionary.PayDevice |
|
|
|
}, |
|
|
|
{//12 |
|
|
|
name: "pay_type", |
|
|
|
type: "Select", |
|
|
|
label: "支付方式", |
|
|
|
placeholder: "请选择支付方式", |
|
|
|
options: dictionary.PaydMethod, |
|
|
|
}, |
|
|
|
{//13 |
|
|
|
name: "timePeriod", |
|
|
|
type: "RangePicker", |
|
|
|
label: "时间段", |
|
|
|
defaultValue: [moment().startOf("day"), moment()], |
|
|
|
}, |
|
|
|
{//14 |
|
|
|
name: "b", |
|
|
|
type: "Select", |
|
|
|
label: "退款方式", |
|
|
|
placeholder: "请选择退款方式", |
|
|
|
options: dictionary.PaydMethod, |
|
|
|
}, |
|
|
|
{//15 |
|
|
|
name: "b", |
|
|
|
type: "Input", |
|
|
|
label: "第三方流水号", |
|
|
|
placeholder: "请输入第三方流水号", |
|
|
|
}, |
|
|
|
{//16 |
|
|
|
name: "timePeriod", |
|
|
|
type: "RangePicker", |
|
|
|
label: "时间段", |
|
|
|
defaultTitle: ['支付时间', '至'] |
|
|
|
// defaultValue: [moment().startOf("day"), moment()], |
|
|
|
}, |
|
|
|
{//17 |
|
|
|
name: "timePeriod", |
|
|
|
type: "RangePicker", |
|
|
|
label: "时间段", |
|
|
|
defaultTitle: ['订购时间', '至'] |
|
|
|
// defaultValue: [moment().startOf("day"), moment()], |
|
|
|
}, |
|
|
|
{//18 |
|
|
|
name: "timePeriod", |
|
|
|
type: "RangePicker", |
|
|
|
label: "时间段", |
|
|
|
defaultTitle: ['预约到场时间', '至'] |
|
|
|
// defaultValue: [moment().startOf("day"), moment()], |
|
|
|
}, |
|
|
|
{//19 |
|
|
|
name: "plate", |
|
|
|
type: "Input", |
|
|
|
label: "车牌号", |
|
|
|
placeholder: "请输入车牌号", |
|
|
|
}, |
|
|
|
{//20 |
|
|
|
name: "order_id", |
|
|
|
type: "Input", |
|
|
|
label: "支付订单ID", |
|
|
|
placeholder: "请输入支付订单ID", |
|
|
|
}, |
|
|
|
{//21 |
|
|
|
name: "t", |
|
|
|
type: "Input", |
|
|
|
label: "泊位号", |
|
|
|
placeholder: "请输入泊位号", |
|
|
|
}, |
|
|
|
{//22 |
|
|
|
name: "t", |
|
|
|
type: "Select", |
|
|
|
label: "所属商户", |
|
|
|
placeholder: "请选择所属商户", |
|
|
|
options: dictionary.PaydMethod, |
|
|
|
}, |
|
|
|
{//23 |
|
|
|
name: "t", |
|
|
|
type: "Input", |
|
|
|
label: "预付订单ID", |
|
|
|
placeholder: "请输入订单ID", |
|
|
|
}, |
|
|
|
{//24 |
|
|
|
name: "t", |
|
|
|
type: "Input", |
|
|
|
label: "停车记录ID", |
|
|
|
placeholder: "停车记录ID", |
|
|
|
}, |
|
|
|
{//25 |
|
|
|
name: "t", |
|
|
|
type: "Input", |
|
|
|
label: "操作人", |
|
|
|
placeholder: "请输入操作人", |
|
|
|
}, |
|
|
|
]; |
|
|
|
const [tag, setTag] = useState('1'); |
|
|
|
const [edit, setEdit] = useState(true); |
|
|
|
const [resultData, setResultData] = useState([]) |
|
|
@ -972,58 +893,11 @@ function ParkingOrderInquiry() { |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
//停车卡详情 |
|
|
|
const tckModal = <div className="ltc-box"> |
|
|
|
<div className="ltc-box-title">订单信息:</div> |
|
|
|
<div className="ltc-box-line"></div> |
|
|
|
<Descriptions title=""> |
|
|
|
<Descriptions.Item label="订单状态">{ycddData?.t || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="支付时间">{ycddData.r || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="车牌号">{ycddData.o || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="车牌颜色">{ycddData.r || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="手机号">{ycddData.mobile || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="购买渠道">{ycddData.r || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="实付金额">{ycddData.r || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="支付渠道">{ycddData.r || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="支付设备">{ycddData.r || "--"}</Descriptions.Item> |
|
|
|
</Descriptions> |
|
|
|
<div className="ltc-box-title">商品信息:</div> |
|
|
|
<div className="ltc-box-line"></div> |
|
|
|
<Descriptions title=""> |
|
|
|
<Descriptions.Item label="商品名称">{ycddData.plate}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="商户名称">{ycddData.admission_time}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="适用范围">{ycddData.in_time}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="生效开始日期">{ycddData.out_time}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="有效天数">{ycddData.in_source}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="生效结束日期">{ycddData.out_source}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="实付金额"></Descriptions.Item> |
|
|
|
</Descriptions> |
|
|
|
</div> |
|
|
|
|
|
|
|
//错峰卡详情 |
|
|
|
const cfkModal = <div className="ltc-box"> |
|
|
|
<div className="ltc-box-title">订单信息:</div> |
|
|
|
<div className="ltc-box-line"></div> |
|
|
|
<Descriptions title=""> |
|
|
|
<Descriptions.Item label="停车场名称">{ycddData?.road || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="手机号">{ycddData.mobile || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="车牌号">{ycddData.plate_number || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="同步MS状态">{ycddData.r || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="订购时间">{ycddData.r || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="支付方式">{ycddData.r || "--"}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="订单金额">{ycddData.r || "--"}</Descriptions.Item> |
|
|
|
</Descriptions> |
|
|
|
<div className="ltc-box-title">商品信息:</div> |
|
|
|
<div className="ltc-box-line"></div> |
|
|
|
<Descriptions title=""> |
|
|
|
<Descriptions.Item label="销售金额">{ycddData.plate}</Descriptions.Item> |
|
|
|
<Descriptions.Item label="有效时间">{ycddData.admission_time}</Descriptions.Item> |
|
|
|
</Descriptions> |
|
|
|
</div> |
|
|
|
useEffect(() => { |
|
|
|
searchOther() |
|
|
|
}, [tabKey]) |
|
|
|
|
|
|
|
//欠费订单查询 |
|
|
|
const orderInfo = <> |
|
|
|
<Tabs > |
|
|
|
<Tabs.TabPane tab="欠费订单查询" key="1"> |
|
|
@ -1052,6 +926,7 @@ function ParkingOrderInquiry() { |
|
|
|
</Tabs.TabPane> |
|
|
|
</Tabs> |
|
|
|
</> |
|
|
|
|
|
|
|
return ( |
|
|
|
<> |
|
|
|
<Tabs activeKey={tabKey} onChange={changeKey}> |
|
|
|