|
|
@ -46,10 +46,17 @@ |
|
|
|
<view class="su-line"> |
|
|
|
<view class="si-tit"><text>* </text>占用用途</view> |
|
|
|
<view class="su-ls"> |
|
|
|
<view :class="[ocUsage == 1 ? 'active' : '']" @click="ocUsage = 1"> |
|
|
|
<block v-for="(e, i) in usageLs" :key="i"> |
|
|
|
<view :class="[e.type == ocUsage ? 'active' : '']" @click="ocUsage = e.type"> |
|
|
|
<text>{{ e.name || "-" }}</text> |
|
|
|
<image v-if="e.type == ocUsage" mode="aspectFit" src='/static/images/icon/selected_tag.png'></image> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
<!-- <view :class="[ocUsage == 1 ? 'active' : '']" @click="ocUsage = 1"> |
|
|
|
<text>客户订场</text> |
|
|
|
<image v-if="ocUsage == 1" mode="aspectFit" src='/static/images/icon/selected_tag.png'></image> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view :class="[ocUsage == 2 ? 'active' : '']" @click="ocUsage = 2"> |
|
|
|
<text>散客</text> |
|
|
|
<image v-if="ocUsage == 2" mode="aspectFit" src='/static/images/icon/selected_tag.png'></image> |
|
|
@ -57,7 +64,7 @@ |
|
|
|
<view :class="[ocUsage == 3 ? 'active' : '']" @click="ocUsage = 3"> |
|
|
|
<text>锁场</text> |
|
|
|
<image v-if="ocUsage == 3" mode="aspectFit" src='/static/images/icon/selected_tag.png'></image> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="su-tip">注:占用用途如选择“散客”,用户端次卡列表将会显示该占用场次为散客时间</view> |
|
|
@ -85,8 +92,12 @@ export default { |
|
|
|
return { |
|
|
|
ocPrice: '', |
|
|
|
ocReaon: '', |
|
|
|
ocUsage: 1, // 1 -> 客户订场, 2-> 散客, 3-> 锁场 |
|
|
|
ocUsage: 1, // 1 -> 客户订场, 2-> 散客, 3-> 锁场, 4 -> 挂账 |
|
|
|
light_up: false, |
|
|
|
usageLs: [ |
|
|
|
{ name: '客户订场', type: 1 }, { name: '散客', type: 2 }, |
|
|
|
{ name: '锁场', type: 3 }, { name: '挂账', type: 4 }, |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
@ -310,12 +321,13 @@ export default { |
|
|
|
.si-usage{ |
|
|
|
padding: 24upx 0; |
|
|
|
.su-line{ |
|
|
|
@include centerFlex(flex-start); |
|
|
|
display: flex; |
|
|
|
.su-ls{ |
|
|
|
flex-wrap: wrap; |
|
|
|
margin-bottom: 20upx; |
|
|
|
@include centerFlex(flex-start); |
|
|
|
>view{ |
|
|
|
|
|
|
|
margin-bottom: 20upx; |
|
|
|
padding: 0 10upx; |
|
|
|
width: 152upx; |
|
|
|
height: 72upx; |
|
|
|