|
|
|
@ -44,6 +44,24 @@
|
|
|
|
|
@keyup.enter="handleQuery"
|
|
|
|
|
class="!w-240px"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item><el-form-item label="司机" prop="nickName">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.nickName"
|
|
|
|
|
placeholder="请输入司机"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter="handleQuery"
|
|
|
|
|
class="!w-240px"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="车牌号" prop="vehicleNo">
|
|
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.vehicleNo"
|
|
|
|
|
placeholder="请输入车牌号"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter="handleQuery"
|
|
|
|
|
class="!w-240px"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
|
|
|
@ -85,6 +103,8 @@
|
|
|
|
|
<dict-tag :type="DICT_TYPE.GUN_LIST" :value="scope.row.chargerGunNo" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="司机" align="center" prop="nickName" width="120" />
|
|
|
|
|
<el-table-column label="车牌号" align="center" prop="vehicleNo" width="120" />
|
|
|
|
|
<!-- <el-table-column label="充电枪编号" align="center" prop="chargerGunNo" width="120" /> -->
|
|
|
|
|
<!-- <el-table-column label="电池序列号" align="center" prop="batteryId" width="120" /> -->
|
|
|
|
|
<!-- <el-table-column
|
|
|
|
@ -158,7 +178,8 @@
|
|
|
|
|
<el-button link type="danger" @click="handleDelete(scope.row.id)"> 删除 </el-button>
|
|
|
|
|
<el-button link type="primary" @click="open_drawer(scope.row)"> 详情 </el-button>
|
|
|
|
|
|
|
|
|
|
<el-button link type="primary" @click="handle_Offline(scope.row)"> 线下结算 </el-button>
|
|
|
|
|
<!-- <el-button link type="primary" @click="handle_Offline(scope.row) " > 线下结算 </el-button> -->
|
|
|
|
|
<el-button link type="primary" @click="handle_Offline(scope.row) " v-if="scope.row.orderStatus == 6"> 线下结算 </el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
@ -177,7 +198,7 @@
|
|
|
|
|
<el-dialog v-model="dialogFormVisible" title="填写结算金额" width="500">
|
|
|
|
|
<el-form :model="actualPay_form">
|
|
|
|
|
<el-form-item label="金额(元)" label-width="100">
|
|
|
|
|
<el-input v-model="actualPay_form.actualPay" autocomplete="off" />
|
|
|
|
|
<el-input v-model.number="actualPay_form.actualPay" autocomplete="off" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
<template #footer>
|
|
|
|
@ -264,7 +285,9 @@ const queryParams = reactive({
|
|
|
|
|
createTime: [],
|
|
|
|
|
priceId: undefined,
|
|
|
|
|
dateId: undefined,
|
|
|
|
|
timeId: undefined
|
|
|
|
|
timeId: undefined,
|
|
|
|
|
vehicleNo:undefined,
|
|
|
|
|
nickName:undefined,
|
|
|
|
|
})
|
|
|
|
|
const queryFormRef = ref() // 搜索的表单
|
|
|
|
|
const exportLoading = ref(false) // 导出的加载中
|
|
|
|
@ -288,6 +311,7 @@ const handle_Offline = async (scope) => {
|
|
|
|
|
actualPay_form.value.actualPay = scope.actualPay / 100
|
|
|
|
|
check_actualpay_id.value = scope.id
|
|
|
|
|
dialogFormVisible.value = true
|
|
|
|
|
|
|
|
|
|
// let params = {
|
|
|
|
|
// orderId: scope.id,
|
|
|
|
|
// actualPay: scope.actualPay
|
|
|
|
|