|
|
@ -343,7 +343,7 @@ function CarInfo() { |
|
|
|
name: "region", |
|
|
|
type: "TreeSelect", |
|
|
|
label: "区域", |
|
|
|
areaName:1 |
|
|
|
areaName: 1 |
|
|
|
}, |
|
|
|
{//2 |
|
|
|
name: "operator", |
|
|
@ -471,7 +471,8 @@ function CarInfo() { |
|
|
|
type: "Select", |
|
|
|
label: "支付设备", |
|
|
|
placeholder: "请选择支付设备", |
|
|
|
options: dictionary.PayDevice |
|
|
|
test: 1, |
|
|
|
options: sysConfig.Equipment |
|
|
|
}, |
|
|
|
{//12 |
|
|
|
name: "pay_type", |
|
|
@ -552,7 +553,7 @@ function CarInfo() { |
|
|
|
const [bigPic, setBigPic] = useState(); |
|
|
|
const [total, setTotal] = useState(0); |
|
|
|
const [tabKey, setTabKey] = useState("1"); |
|
|
|
const [stopCarTab,setStopCarTop]=useState("1") |
|
|
|
const [stopCarTab, setStopCarTop] = useState("1") |
|
|
|
function openModal(params) { |
|
|
|
setDetailVisible(true); |
|
|
|
} |
|
|
@ -793,10 +794,10 @@ function CarInfo() { |
|
|
|
<div className="ltc-box-title"><div className="text">入场照片</div><div className="line"></div></div> |
|
|
|
<div className="ltc-content"> |
|
|
|
<div className="ltc-item ltc-item-img "> |
|
|
|
<img src={params.in_veh_pic} onError={handleImgError} onClick={() => { setBigPic(params.in_veh_pic); setBigpicVisible(true) }} /> |
|
|
|
<img src={params.in_veh_pic || require("../../../../../src/assets/images/error-img-new.png")} onError={handleImgError} onClick={() => { setBigPic(params.in_veh_pic); setBigpicVisible(true) }} /> |
|
|
|
</div> |
|
|
|
<div className="ltc-item ltc-item-img "> |
|
|
|
<img src={params.in_plate_pic} onError={handleImgError} onClick={() => { setBigPic(params.in_plate_pic); setBigpicVisible(true) }} /> |
|
|
|
<img src={params.in_plate_pic || require("../../../../../src/assets/images/error-img-new.png")} onError={handleImgError} onClick={() => { setBigPic(params.in_plate_pic); setBigpicVisible(true) }} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -912,7 +913,7 @@ function CarInfo() { |
|
|
|
} |
|
|
|
|
|
|
|
//其他页面渲染 |
|
|
|
function renderTable(columns, arr, dataSource, exportUrl ) { |
|
|
|
function renderTable(columns, arr, dataSource, exportUrl) { |
|
|
|
return ( |
|
|
|
<TableModule |
|
|
|
columns={columns} |
|
|
@ -922,7 +923,7 @@ function CarInfo() { |
|
|
|
search={searchOther} |
|
|
|
isExport={exportUrl ? true : false} |
|
|
|
exportUrl={exportUrl} |
|
|
|
export_other={{carId:carId}} |
|
|
|
export_other={{ carId: carId }} |
|
|
|
rowKey={(record) => record.id} |
|
|
|
/> |
|
|
|
); |
|
|
@ -1176,7 +1177,7 @@ function CarInfo() { |
|
|
|
createCol(['订单ID', '停车场名称', '车牌号', '泊位号', '入场时间', '计费时间', '停车时长', '应收金额', '优惠金额', '实收金额', '支付渠道', '支付设备', '操作人', '付款车场', '支付时间', '第三方流水ID'], |
|
|
|
['order_id', 'road', 'plate', 'berth_id', 'admission_time', 'charging_time', 'parking_duration', 'receivable_amount', 'discount_amount', 'paid_in_money', 'payment_channels', 'payment_equipment', 'dealer', 'pay_road', 'pay_time', 'third_party_flow_id'], 4), |
|
|
|
[ash[2], ash[9], ash[10], ash[15]], |
|
|
|
resultData, |
|
|
|
resultData, |
|
|
|
'/api/bpm/record/get_payment_export' |
|
|
|
) : null} |
|
|
|
</Tabs.TabPane> |
|
|
@ -1213,7 +1214,7 @@ function CarInfo() { |
|
|
|
{ |
|
|
|
renderTable( |
|
|
|
createCol(['序号', '车牌号', '手机号', '停车场名称', '实付金额', '支付方式', '下单时间', '订单状态', '第三方流水号'], |
|
|
|
['index', 'plate', 'phone', 'road', 'actual_amount', '', '', '',''], 8), |
|
|
|
['index', 'plate', 'phone', 'road', 'actual_amount', '', '', '', ''], 8), |
|
|
|
[ash[4], ash[2], ash[17], ash[11], ash[14], ash[15], ash[8]], |
|
|
|
resultData |
|
|
|
)} |
|
|
@ -1242,7 +1243,7 @@ function CarInfo() { |
|
|
|
}} |
|
|
|
footer={null} |
|
|
|
> |
|
|
|
<Tabs activeKey={stopCarTab} onChange={(e)=>{ |
|
|
|
<Tabs activeKey={stopCarTab} onChange={(e) => { |
|
|
|
setStopCarTop(e) |
|
|
|
}}> |
|
|
|
<Tabs.TabPane tab="停车记录信息" key="1"> |
|
|
@ -1266,7 +1267,7 @@ function CarInfo() { |
|
|
|
> |
|
|
|
<div> |
|
|
|
<div className="eae-modal-item"> |
|
|
|
<img src={bigPic} width={1550} onError={handleImgError}/> |
|
|
|
<img src={bigPic || require("../../../../../src/assets/images/error-img-new.png")} width={1550} onError={handleImgError} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</Modal> |
|
|
@ -1302,11 +1303,11 @@ function CarInfo() { |
|
|
|
<div className="eae-modal-title"><div className="ltc-icon"></div>入场图片</div> |
|
|
|
<div className="eae-modal-item"> |
|
|
|
<div>车辆照片</div> |
|
|
|
<img src={ycddData.in_veh_pic} width={750} onError={handleImgError}/> |
|
|
|
<img src={ycddData.in_veh_pic || require("../../../../../src/assets/images/error-img-new.png")} width={750} onError={handleImgError} /> |
|
|
|
</div> |
|
|
|
<div className="eae-modal-item"> |
|
|
|
<div>车牌照片</div> |
|
|
|
<img src={ycddData.in_plate_pic} width={750} onError={handleImgError}/> |
|
|
|
<img src={ycddData.in_plate_pic || require("../../../../../src/assets/images/error-img-new.png")} width={750} onError={handleImgError} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</Modal> |
|
|
|