订单详情

This commit is contained in:
jjLv 2024-11-27 17:12:33 +08:00
parent f73ff35633
commit d3d3907eb2
3 changed files with 82 additions and 4 deletions

2
env/.env.dev vendored
View File

@ -7,7 +7,7 @@ VITE_API_URL = '/proxyApi'
# 开发环境接口地址
# VITE_proxyTarget = 'http://10.40.92.74:8080' #盛旭
VITE_proxyTarget = 'http://192.168.2.246:28080' # 马帅
VITE_proxyTarget = 'http://localhost:18080' # 马帅
# VITE_proxyTarget = 'http://192.168.0.244:28580' # 马帅
# VITE_proxyTarget = 'http://192.168.2.129:18080' # 马帅

View File

@ -228,6 +228,18 @@ const routes: Array<RouteRecordRaw> = [
isLogin: true
},
},
/* 订单管理(订单详情) */
{
path: 'orderManagementInfo',
name: 'orderManagementInfo',
component: () => import('@/views/user/orderManagement/detail.vue'),
meta: {
title: '订单详情',
keepAlive: true,
AuthFlag: false,
isLogin: false
},
},
/* 订单管理(退租) */
{
path: 'rentinTermination',

View File

@ -115,7 +115,7 @@ const clickConfirmReceipt = (row: any) => {
const settleinTitle = ref('')
/* 编辑 */
const isEditDisabled = ref(false)
//
// 退
const dialogFormVisibleSettlein: any = ref(false)
const equipmentDeploymentParams: any = ref({
/* 设备名称 */
@ -263,10 +263,33 @@ const equipmentDeploymentParams: any = ref({
insureList: [],
picList: []
}
//
// 退
dialogFormVisibleSettlein.value = true
}
const settlemoneyTitle = ref('')
const moneParams: any = ref({
/* 设备名称 */
deviceName: '',
deviceTypeList: [],
deviceCount: 1,
unitName: '',
})
// 退
const dialogFormVisibleSettlemoney: any = ref(false)
//
const handleViewMoney = () => {
settlemoneyTitle.value = '费用结算'
moneParams.value = {
/* 设备状态 */
maStatus: 15,
detectionList: [],
insureList: [],
picList: []
}
// 退
dialogFormVisibleSettlemoney.value = true
}
</script>
@ -500,7 +523,7 @@ const equipmentDeploymentParams: any = ref({
退租检修
</el-button>
<el-button
@click="handleViewOrder(j)"
@click="handleViewMoney(j)"
type="text"
size="mini"
style="color: #blue; font-weight: bold"
@ -716,6 +739,49 @@ const equipmentDeploymentParams: any = ref({
</el-dialog>
</div>
<!-- 费用结算弹框 -->
<el-dialog v-model="dialogFormVisibleSettlemoney" :title="settlemoneyTitle"
width="60%" align-center :close-on-click-modal="false">
<div style="height: 80px;">
<div
class="info"
style="margin-top: 5px;margin-bottom: 8px; display: flex; flex-wrap: wrap;"
>
<div class="item" style="width: 30%;flex-shrink: 0;margin-bottom: 5px;font-size: 16px;margin-left: 40px;">
<span>订单编号10000212135656</span>
</div>
<div class="item" style="width: 30%;flex-shrink: 0;margin-bottom: 5px;font-size: 16px;">
<span>装备套数2</span>
</div>
<div class="item" style="width: 30%;flex-shrink: 0;margin-bottom: 5px;font-size: 16px;">
<span>退租时间2024-10-10 10:00:00</span>
</div>
</div>
<div
class="info"
style="margin-top: 5px; display: flex; flex-wrap: wrap;"
>
<div class="item" style="width: 30%;flex-shrink: 0;margin-bottom: 5px;font-size: 16px;margin-left: 80px;">
<span>结算单位安徽送变电公司</span>
</div>
<div class="item" style="width: 30%;flex-shrink: 0;margin-bottom: 5px;font-size: 16px;">
<span>租赁天数30{{"/天"}}</span>
</div>
<div class="item" style="width: 30%;flex-shrink: 0;margin-bottom: 5px;font-size: 16px;">
<span>租赁费用()1800</span>
</div>
</div>
<div class="title">
<span class="title-sign"></span>
<span class="title-text">退租检测信息</span>
</div>
</div>
</el-dialog>
</template>