|
@@ -1,8 +1,7 @@
|
|
|
<template>
|
|
|
<view class="pagesCons">
|
|
|
<view class="utabs">
|
|
|
- <u-tabs-swiper ref="uTabs" :list="tabList" name="dispName" :current="current" @change="tabsChange" :is-scroll="false"
|
|
|
- swiperWidth="750"></u-tabs-swiper>
|
|
|
+ <u-tabs-swiper ref="uTabs" :list="tabList" name="dispName" :current="current" @change="tabsChange" :is-scroll="false" swiperWidth="750"></u-tabs-swiper>
|
|
|
</view>
|
|
|
<swiper class="check-list" :current="swiperCurrent" @transition="transition" @change="swiperChange" @animationfinish="animationfinish">
|
|
|
<swiper-item class="swiper-item" v-for="(tabs, index) in tabList" :key="index">
|
|
@@ -12,8 +11,7 @@
|
|
|
v-if="index==current"
|
|
|
v-for="(item,sindex) in 20"
|
|
|
:key="item.id+'-'+sindex"
|
|
|
- @click="viewRow(item)"
|
|
|
- >
|
|
|
+ @click="viewRow(item)" >
|
|
|
<view class="check-row">
|
|
|
<view>西安车领主常青二路数字货架</view>
|
|
|
<view>
|
|
@@ -37,7 +35,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- // import { getBackLogList } from '@/api/backLog.js'
|
|
|
+ import { shelfReplenishList } from '@/api/shelfReplenish.js'
|
|
|
export default {
|
|
|
components: {
|
|
|
},
|
|
@@ -63,7 +61,7 @@
|
|
|
status: ''
|
|
|
},
|
|
|
{
|
|
|
- dispName: '待入库',
|
|
|
+ dispName: '待签收',
|
|
|
typeId: 3,
|
|
|
status: ''
|
|
|
},
|
|
@@ -90,7 +88,7 @@
|
|
|
onLoad() {
|
|
|
// 监听整改完成后刷新事件
|
|
|
uni.$on('refreshBL',this.getRow)
|
|
|
- // this.getRow(1)
|
|
|
+ this.getRow(1)
|
|
|
},
|
|
|
onUnload() {
|
|
|
uni.$off('refreshBL',this.getRow)
|
|
@@ -144,7 +142,7 @@
|
|
|
billState: this.tabList[this.current].status,
|
|
|
}
|
|
|
this.status = "loading"
|
|
|
- getBackLogList(params).then(res => {
|
|
|
+ shelfReplenishList(params).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
if(this.pageNo>1){
|
|
|
this.list = this.list.concat(res.data.list || [])
|