11.7 bug 修改下午提交

master
zz 2 weeks ago
parent fff3949ede
commit f3316e64fd

@ -37,12 +37,6 @@
<el-table-column label="序号" type="index" align="center" width="80" />
<el-table-column label="车队编码" align="center" prop="teamCode" />
<el-table-column label="车队名称" align="center" prop="teamName" />
<el-table-column label="账户类型" align="center" prop="userId" >
<template #default="scope">
<span v-if="scope.row.userId"></span>
<span v-else></span>
</template>
</el-table-column>
<el-table-column label="余额(元)" align="center" prop="balance">
<template #default="scope">
{{ scope.row.balance / 100 }}
@ -184,7 +178,8 @@ const setbalance = async (row) => {
//
const result = await message.prompt(
'请输入"' + row.teamName + '"的需要修改余额',
t('common.reminder')
// t('common.reminder'),
{inputType:'number',}
)
const balance = result.value
//

@ -45,9 +45,10 @@
<el-table-column label="用户头像" align="center" prop="avatar">
<template #default="scope">
<div style="display: flex; align-items: center; justify-content: center">
<div style="display: flex; align-items: center; justify-content: center" v-if="scope.row.avatar">
<el-image :src="scope.row.avatar" style="width: 160px; height: 90px" />
</div>
<div v-else></div>
</template>
</el-table-column>
<el-table-column label="余额(分)" align="center" prop="balance" />
@ -174,7 +175,8 @@ const setbalance = async (row) => {
//
const result = await message.prompt(
'请输入"' + row.nickname + '"的需要修改余额',
t('common.reminder')
{inputType:'number',}
)
const balance = result.value
//

@ -38,9 +38,10 @@
<el-table-column label="用户昵称" align="center" prop="nickname" />
<el-table-column label="用户头像" align="center" prop="avatar">
<template #default="scope">
<div style="display: flex; align-items: center; justify-content: center">
<div style="display: flex; align-items: center; justify-content: center" v-if="scope.row.avatar">
<el-image :src="scope.row.avatar" style="width: 160px; height: 90px" />
</div>
<div v-else></div>
</template>
</el-table-column>
<el-table-column label="余额(分)" align="center" prop="balance" />

@ -133,10 +133,11 @@ const formData = ref({
dateId: undefined,
timeId: undefined,
userId: undefined,
batteryNo: undefined
batteryNo: undefined,
})
const formRules = reactive({
// stationNo: [{ required: true, message: '', trigger: 'blur' }],
stationNo: [{ required: true, message: '不能为空', trigger: 'blur' }],
chargeSeriaNumber: [{ required: true, message: '不能为空', trigger: 'blur' }],
chargeOrder: [{ required: true, message: '不能为空', trigger: 'blur' }],
@ -293,7 +294,9 @@ const resetForm = () => {
replenishmentFlag: undefined,
priceId: undefined,
dateId: undefined,
timeId: undefined
timeId: undefined,
}
formRef.value?.resetFields()
}

@ -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

@ -77,13 +77,23 @@
<el-table-column label="设备名称" align="center" prop="eqmName" />
<el-table-column label="保养内容" align="center" prop="mtnContent" />
<el-table-column label="保养照片地址" align="center" prop="mtnPicPath" width="120">
<template #default="scope">
<div style="display: flex; align-items: center; justify-content: center" v-for="item in scope.row.mtnPicPath" :key="item.index">
<!-- <template #default="scope"> -->
<!-- <div style="display: flex; align-items: center; justify-content: center" v-for="item in scope.row.mtnPicPath" :key="item.index">
<el-image :src="item" style="width: 160px; height: 90px" />
</div>
</div> -->
<!-- <div style="display: flex; align-items: center; justify-content: center">
<el-image :src="scope.row.mtnPicPath" style="width: 160px; height: 90px" />
</div> -->
<!-- </template> -->
<template #default="scope">
<div v-if="Array.isArray(scope.row.mtnPicPath)">
<div style="display: flex; align-items: center; justify-content: center" v-for="item in scope.row.mtnPicPath" :key="item.index">
<el-image :src="item" style="width: 160px; height: 90px" />
</div>
</div>
<div v-else style="display: flex; align-items: center; justify-content: center">
<el-image :src="scope.row.mtnPicPath" style="width: 160px; height: 90px" />
</div>
</template>
</el-table-column>
<el-table-column label="是否普通保养" align="center" prop="mtnIsNormal" width="110">

@ -18,6 +18,11 @@
<el-input v-model="formData.name" placeholder="请输入电价模型名称" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="备注" prop="remark">
<el-input v-model="formData.remark" placeholder="请输入备注" />
</el-form-item>
</el-col>
<!-- <el-col :span="12">
<el-form-item label="时段数量" prop="periodsAmount">
<el-input v-model="formData.periodsAmount" placeholder="请输入时段数量" />
@ -90,11 +95,7 @@
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="备注" prop="remark">
<el-input v-model="formData.remark" placeholder="请输入备注" />
</el-form-item>
</el-col>
<!-- <el-col :span="12">
<el-form-item label="数据来源:0:云平台;1;三方运营商" prop="source">
<el-input

@ -189,9 +189,10 @@
<el-table-column label="手机号" align="center" prop="mobile" />
<el-table-column label="用户头像" align="center" prop="avatar" >
<template #default="scope">
<div style="display: flex; align-items: center; justify-content: center">
<div style="display: flex; align-items: center; justify-content: center" v-if="scope.row.avatar">
<el-image :src="scope.row.avatar" style="width: 160px; height: 90px" />
</div>
<div v-else></div>
</template>
</el-table-column>

@ -86,10 +86,21 @@
<el-table-column label="车牌号" align="center" prop="vehicleNo" />
<el-table-column label="vin码" align="center" prop="vin" />
<el-table-column label="行驶证图片" align="center" prop="vehicleLicense" width="200">
<template #default="{ row }">
<!-- <template #default="{ row }">
<div style="display: flex; align-items: center; justify-content: center">
<el-image :src="row.vehicleLicense" style="width: 160px; height: 90px" />
</div>
</template> -->
<template #default="scope">
<div v-if="Array.isArray(scope.row.vehicleLicense)">
<div style="display: flex; align-items: center; justify-content: center" v-for="item in scope.row.vehicleLicense" :key="item.index">
<el-image :src="item" style="width: 160px; height: 90px" />
</div>
</div>
<div v-else style="display: flex; align-items: center; justify-content: center">
<el-image :src="scope.row.vehicleLicense" style="width: 160px; height: 90px" />
</div>
</template>
</el-table-column>
<el-table-column label="电动机编号" align="center" prop="engineNo" width="100"/>

@ -86,11 +86,23 @@
<el-table-column label="车牌号" align="center" prop="vehicleNo" />
<el-table-column label="vin" align="center" prop="vin" />
<el-table-column label="行驶证图片" align="center" prop="vehicleLicense">
<template #default="{ row }">
<template #default="scope">
<div v-if="Array.isArray(scope.row.vehicleLicense)">
<div style="display: flex; align-items: center; justify-content: center" v-for="item in scope.row.vehicleLicense" :key="item.index">
<el-image :src="item" style="width: 160px; height: 90px" />
</div>
</div>
<div v-else style="display: flex; align-items: center; justify-content: center">
<el-image :src="scope.row.vehicleLicense" style="width: 160px; height: 90px" />
</div>
</template>
<!-- <template #default="{ row }">
<div style="display: flex; align-items: center; justify-content: center">
<el-image :src="row.vehicleLicense" style="width: 160px; height: 90px" />
</div>
</template>
</template> -->
</el-table-column>
<!-- <el-table-column label="mac地址" align="center" prop="mac" width="120"/> -->
<el-table-column label="电动机编号" align="center" prop="engineNo" />

@ -16,7 +16,20 @@
{{ formData.vehicleVin || '--' }}
</el-descriptions-item>
<el-descriptions-item label="行驶证图片">
<el-image :src="formData.vehicleLicense" style="width: 160px; height: 90px" />
<!-- <el-image :src="formData.vehicleLicense" style="width: 160px; height: 90px" /> -->
<!-- <div style="display: flex; align-items: center; justify-content: center" v-for="item in formData.vehicleLicense" :key="item.index">
<el-image :src="item" style="width: 160px; height: 90px" />
</div> -->
<div v-if="Array.isArray(formData.vehicleLicense)">
<div style="display: flex; align-items: center; justify-content: center" v-for="item in formData.vehicleLicense" :key="item.index">
<el-image :src="item" style="width: 160px; height: 90px" />
</div>
</div>
<div v-else style="display: flex; align-items: center; justify-content: center">
<el-image :src="formData.vehicleLicense" style="width: 160px; height: 90px" />
</div>
<!-- {{ formData.vehicleLicense || '--' }} -->
</el-descriptions-item>
<el-descriptions-item label="审核状态">

@ -114,13 +114,21 @@
</template>
</el-table-column>
<el-table-column label="车辆外观 " align="center" prop="vehicleApc" >
<template #default="scope">
<!-- <template #default="scope">
<div style="display: flex; align-items: center; justify-content: center" v-for="item in scope.row.vehicleApc" :key="item.index">
<el-image :src="item" style="width: 160px; height: 90px" />
</div>
<!-- <div style="display: flex; align-items: center; justify-content: center">
<el-image :src="scope.row.vehicleApc" style="width: 160px; height: 90px" />
</div> -->
</template> -->
<template #default="scope">
<div v-if="Array.isArray(scope.row.vehicleApc)">
<div style="display: flex; align-items: center; justify-content: center" v-for="item in scope.row.vehicleApc" :key="item.index">
<el-image :src="item" style="width: 160px; height: 90px" />
</div>
</div>
<div v-else style="display: flex; align-items: center; justify-content: center">
<el-image :src="scope.row.vehicleApc" style="width: 160px; height: 90px" />
</div>
</template>
</el-table-column>
<!-- <el-table-column label="营业开始时间" align="center" prop="startTime" width="150"/>

@ -158,9 +158,10 @@
<el-table-column label="手机号" align="center" prop="mobile" />
<el-table-column label="用户头像" align="center" prop="avatar" >
<template #default="scope">
<div style="display: flex; align-items: center; justify-content: center">
<div style="display: flex; align-items: center; justify-content: center" v-if="scope.row.avatar">
<el-image :src="scope.row.avatar" style="width: 160px; height: 90px" />
</div>
<div v-else></div>
</template>
</el-table-column>

Loading…
Cancel
Save