|
@@ -74,16 +74,14 @@
|
|
|
autocomplete="off"
|
|
autocomplete="off"
|
|
|
>
|
|
>
|
|
|
<template #right-icon>
|
|
<template #right-icon>
|
|
|
- <van-button
|
|
|
|
|
|
|
+ <div
|
|
|
v-if="systemForcePublishEnabled && barcodeActiveList.length > 0"
|
|
v-if="systemForcePublishEnabled && barcodeActiveList.length > 0"
|
|
|
- type="primary"
|
|
|
|
|
- size="mini"
|
|
|
|
|
- plain
|
|
|
|
|
- :loading="changeLocationLoading"
|
|
|
|
|
|
|
+ class="change-location-btn"
|
|
|
|
|
+ :class="{ 'change-location-btn--loading': changeLocationLoading }"
|
|
|
@click.stop="onChangeLocation"
|
|
@click.stop="onChangeLocation"
|
|
|
>
|
|
>
|
|
|
换一换
|
|
换一换
|
|
|
- </van-button>
|
|
|
|
|
|
|
+ </div>
|
|
|
</template>
|
|
</template>
|
|
|
</van-search>
|
|
</van-search>
|
|
|
</div>
|
|
</div>
|
|
@@ -902,6 +900,23 @@ window.onRefresh = loadData
|
|
|
font-weight: bold
|
|
font-weight: bold
|
|
|
color: #ee0a25
|
|
color: #ee0a25
|
|
|
|
|
|
|
|
|
|
+ .change-location-btn
|
|
|
|
|
+ display: inline-flex
|
|
|
|
|
+ align-items: center
|
|
|
|
|
+ justify-content: center
|
|
|
|
|
+ height: 22px
|
|
|
|
|
+ padding: 0 8px
|
|
|
|
|
+ font-size: 12px
|
|
|
|
|
+ color: #1989fa
|
|
|
|
|
+ border: 1px solid #1989fa
|
|
|
|
|
+ border-radius: 999px
|
|
|
|
|
+ white-space: nowrap
|
|
|
|
|
+ flex-shrink: 0
|
|
|
|
|
+
|
|
|
|
|
+ &--loading
|
|
|
|
|
+ opacity: 0.6
|
|
|
|
|
+ pointer-events: none
|
|
|
|
|
+
|
|
|
.take-lot
|
|
.take-lot
|
|
|
text-align: left
|
|
text-align: left
|
|
|
margin-top: 5px
|
|
margin-top: 5px
|