diff --git a/src/components/ParkingRecordModal/RecordReviewModal.jsx b/src/components/ParkingRecordModal/RecordReviewModal.jsx index 61a26cc..a82d36f 100644 --- a/src/components/ParkingRecordModal/RecordReviewModal.jsx +++ b/src/components/ParkingRecordModal/RecordReviewModal.jsx @@ -36,7 +36,7 @@ const RecordReviewModal = (props) => { { value: 2, label: '变更车牌号' }, { value: 3, label: '变更订单金额' }, { value: 4, label: '免费该订单' }, - { value: 5, label: '作废该订单' } + // { value: 5, label: '作废该订单' } ]; // 调整基于 const adjustment = [ diff --git a/src/components/ParkingRecordModal/dataSource.js b/src/components/ParkingRecordModal/dataSource.js index c126dff..0df76e1 100644 --- a/src/components/ParkingRecordModal/dataSource.js +++ b/src/components/ParkingRecordModal/dataSource.js @@ -58,6 +58,19 @@ export const payRecordColumns = [ dataIndex: "payment_type", key: "payment_type", align: "center", + render: (text, record, index) => { + let tem = ""; + record?.payment_type == 1 ? tem = "场内支付" : + record?.payment_type == 2 ? tem = "欠费补缴" : + record?.payment_type == 3 ? tem = "欠费追缴" : + record?.payment_type == 4 ? tem = "etc欠费追缴" : + tem = "未知" + + return( + {tem} + ) + } + }, { title: "支付渠道", diff --git a/src/pages/FinancialMgm/ExceptionDeal/DealRecordList/index.jsx b/src/pages/FinancialMgm/ExceptionDeal/DealRecordList/index.jsx index 64dd2dc..109825b 100644 --- a/src/pages/FinancialMgm/ExceptionDeal/DealRecordList/index.jsx +++ b/src/pages/FinancialMgm/ExceptionDeal/DealRecordList/index.jsx @@ -12,7 +12,7 @@ function DealRecordList() { // 默认数据 const defaultData = { deal_record_id: "", // 处理记录ID - business_type: 0, // 业务订单类型 + business_type: "0", // 业务订单类型 park_id: "", // 业务订单ID status: 0, // 状态 start_time: moment().subtract(7, "days").startOf("day").format("YYYY-MM-DD HH:mm:ss"), // 开始时间 @@ -249,7 +249,7 @@ function DealRecordList() { if(sessionData && Object.values(sessionData).length > 0) { _data = { deal_record_id: sessionData?.deal_record_id || "", // 处理记录ID - business_type: sessionData?.business_type || 0, // 业务订单类型 + business_type: sessionData?.business_type || "0", // 业务订单类型 park_id: sessionData?.park_id || [], // 业务订单ID status: sessionData?.status || 0, // 状态 start_time: sessionData?.start_time || defaultData?.start_time, @@ -331,7 +331,7 @@ function DealRecordList() { }, ]} value={formData.business_type} - onChange={(v) => setFormData({ ...formData, business_type: v || 0})} + onChange={(v) => setFormData({ ...formData, business_type: v || "0"})} />