aa2cea42 by zhangmeng

订单头

1 parent baf43972
......@@ -13,13 +13,13 @@
<el-row class="pd20" :gutter="20">
<el-col :span="24">
<!--已选订单-->
<div class="border-info" v-for="b in list" :key="b.id">
<div v-if="orderType!=6" class="border-info" v-for="b in list" :key="b.id">
<label class="blueTag" v-if="orderType == 0"> {{ language==0?'酒店订单':'HOTEL' }}</label>
<label class="orangeTag" v-if="b.orderType == 1"> {{ language==0?'车辆订单':'TRANSPORTATION' }}</label>
<label class="purpleTag" v-if="b.orderType == 2"> {{ language==0?'餐饮订单':'DINING' }}</label>
<label class="pinkTag" v-if="b.orderType == 3"> {{ language==0?'化妆订单':'MakeUp' }}</label>
<label class="yellowTag" v-if="b.orderType == 4"> {{ language==0?'拍摄订单':'Shooting'}}</label>
<label class="yellowTag" v-if="!b.orderType">{{ language==0?'赛事报名':'REGISTRATION' }}</label>
<label class="yellowTag" v-if="!b.orderType&&orderType==5">{{ language==0?'赛事报名':'REGISTRATION' }}</label>
<h3 v-if="b.name">{{ b.name }}</h3>
<h3 v-if="b.cptName">{{ b.cptName }}</h3>
......@@ -66,7 +66,7 @@
<h3>{{ formDate.name }}</h3>
<div>
<p>地点:{{formDate.placeName}}</p>
<p>单价:{{formDate.singlePrice}}</p>
<p>单价:{{paymentType!=2?'¥':'€'}}{{formDate.singlePrice}}</p>
<p>数量:{{formDate.seatList?.length}}</p>
<p class="poPrice">{{paymentType!=2?'¥':'€'}}{{formDate.payAmount}}</p>
</div>
......@@ -282,10 +282,10 @@ onMounted(() => {
getList()
}
if(user.userName.indexOf('@')>-1){
form.value.address = user.userName
}
route.query.orderSn&&getDataInfo()
})
async function getDataInfo(){
......
......@@ -12,7 +12,7 @@
<el-row class="pd20" :gutter="20">
<el-col :span="24">
<!--已选订单-->
<div class="border-info" v-for="b in list" :key="b.id">
<div v-if="orderType!=6" class="border-info" v-for="b in list" :key="b.id">
<label class="blueTag" v-if="b.orderType == 0"> 酒店订单</label>
<label class="orangeTag" v-if="b.orderType == 1"> 接送订单</label>
<label class="purpleTag" v-if="b.orderType == 2"> 餐饮订单</label>
......@@ -63,7 +63,7 @@
<h3>{{ formDate.name }}</h3>
<div>
<p>地点:{{formDate.placeName}}</p>
<p>单价:{{formDate.singlePrice}}</p>
<p>单价:{{paymentType!=2?'¥':'€'}}{{formDate.singlePrice}}</p>
<p>数量:{{formDate.seatList?.length}}</p>
<p class="poPrice">{{paymentType!=2?'¥':'€'}}{{formDate.payAmount}}</p>
</div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!