|
@@ -3,48 +3,52 @@
|
|
|
<!-- <template #right> 添加 </template> -->
|
|
|
</van-nav-bar>
|
|
|
<van-search v-model="req.keyword" :placeholder="$t('common.pleaseEnterKeywords')" @search="onRefresh" />
|
|
|
- <van-pull-refresh v-model="loading" @refresh="onRefresh">
|
|
|
- <div class="list">
|
|
|
- <van-list v-model:loading="loading" :finished="finished" :finished-text="$t('common.noMore')" @load="onLoad" style="margin-bottom: 60px">
|
|
|
- <commonList :data="listData" :config="listConfig" :showMore="false">
|
|
|
- <template #businessType="{row}">
|
|
|
- <div style="width:100%">
|
|
|
- {{dictValueLabel(row.businessType,businessType)}}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template #logistics="{row}">
|
|
|
- <div style="width:100%">
|
|
|
- {{ row.logisticsCompanyName }} (
|
|
|
- <span style="cursor: pointer; color: #409eff"> {{ row.code }} </span>
|
|
|
- )
|
|
|
- </div>
|
|
|
- </template>
|
|
|
+ <div :class="[isIosSysteme?'iosListBox':'androidListBox']">
|
|
|
+ <van-pull-refresh v-model="loading" @refresh="onRefresh">
|
|
|
+ <div class="list">
|
|
|
+ <van-list v-model:loading="loading" :finished="finished" :finished-text="$t('common.noMore')" @load="onLoad" style="margin-bottom: 60px">
|
|
|
+ <commonList :data="listData" :config="listConfig" :showMore="false">
|
|
|
+ <template #businessType="{row}">
|
|
|
+ <div style="width:100%">
|
|
|
+ {{dictValueLabel(row.businessType,businessType)}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template #logistics="{row}">
|
|
|
+ <div style="width:100%">
|
|
|
+ {{ row.logisticsCompanyName }} (
|
|
|
+ <span style="cursor: pointer; color: #409eff"> {{ row.code }} </span>
|
|
|
+ )
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
|
|
|
- <template #status="{row}">
|
|
|
- <div style="width:100%">
|
|
|
- <span :class="{'aa':row.status=='1'}"> {{dictValueLabel(row.status,statusData)}}</span>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
+ <template #status="{row}">
|
|
|
+ <div style="width:100%">
|
|
|
+ <span :class="{'aa':row.status=='1'}"> {{dictValueLabel(row.status,statusData)}}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
|
|
|
- <template #btn="{row}">
|
|
|
- <div style="width:100%;text-align:right">
|
|
|
- <van-button type="primary" size="small" style="margin-right:10px" @click="toDtl(row)">入库</van-button>
|
|
|
- <van-button type="default" size="small" @click="handleEndInbound(row)">结束入库</van-button>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
+ <template #btn="{row}">
|
|
|
+ <div style="width:100%;text-align:right">
|
|
|
+ <van-button type="primary" size="small" style="margin-right:10px" @click="toDtl(row)">入库</van-button>
|
|
|
+ <van-button type="default" size="small" @click="handleEndInbound(row)">结束入库</van-button>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ </commonList>
|
|
|
+ <div></div>
|
|
|
+ </van-list>
|
|
|
+ </div>
|
|
|
+ </van-pull-refresh>
|
|
|
+ </div>
|
|
|
|
|
|
- </commonList>
|
|
|
- <div></div>
|
|
|
- </van-list>
|
|
|
- </div>
|
|
|
- </van-pull-refresh>
|
|
|
</template>
|
|
|
<script setup>
|
|
|
import { ref, getCurrentInstance, onMounted } from "vue";
|
|
|
import commonList from "@/components/common-list.vue";
|
|
|
import { useRoute } from "vue-router";
|
|
|
import { showSuccessToast, showConfirmDialog } from "vant";
|
|
|
-
|
|
|
+import useDeviceStore from "@/store/device";
|
|
|
+const deviceStore = useDeviceStore();
|
|
|
const loading = ref(false);
|
|
|
const router = useRoute();
|
|
|
const req = ref({
|
|
@@ -187,7 +191,7 @@ const handleEndInbound = (row) => {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.list {
|
|
|
- min-height: 70vh;
|
|
|
+ min-height: 100%;
|
|
|
}
|
|
|
.aa {
|
|
|
background: #fa9841;
|