|
@@ -7,10 +7,10 @@
|
|
<view>{{warehouseName}}</view>
|
|
<view>{{warehouseName}}</view>
|
|
<u-icon name="arrow-down" color=""></u-icon>
|
|
<u-icon name="arrow-down" color=""></u-icon>
|
|
</view>
|
|
</view>
|
|
- <view class="right">
|
|
|
|
|
|
+ <!-- <view class="right">
|
|
<u-icon name="checkmark-circle-fill" color="#22C572"></u-icon>
|
|
<u-icon name="checkmark-circle-fill" color="#22C572"></u-icon>
|
|
<view class="default">默认</view>
|
|
<view class="default">默认</view>
|
|
- </view>
|
|
|
|
|
|
+ </view> -->
|
|
</view>
|
|
</view>
|
|
<u-select v-model="isShowWarehouse" :default-value='[0]' :list="warehouseList" @confirm="confirmWarehouse">
|
|
<u-select v-model="isShowWarehouse" :default-value='[0]' :list="warehouseList" @confirm="confirmWarehouse">
|
|
</u-select>
|
|
</u-select>
|
|
@@ -58,6 +58,9 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view v-show="isContent">
|
|
|
|
+ <uni-load-more :status="loadStatus"></uni-load-more>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -69,6 +72,8 @@
|
|
warehouseName: '',
|
|
warehouseName: '',
|
|
isShowWarehouse: false,
|
|
isShowWarehouse: false,
|
|
warehouseList: [],
|
|
warehouseList: [],
|
|
|
|
+ isContent:false,
|
|
|
|
+ loadStatus:'noMore',
|
|
dataList: []
|
|
dataList: []
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -107,7 +112,7 @@
|
|
methods: {
|
|
methods: {
|
|
loadData() {
|
|
loadData() {
|
|
this.$api.doRequest('get', '/warehouseBaseInfo/selectWarehouseSelf', {
|
|
this.$api.doRequest('get', '/warehouseBaseInfo/selectWarehouseSelf', {
|
|
- compId: this.compId
|
|
|
|
|
|
+ compId: ''
|
|
}).then(res => {
|
|
}).then(res => {
|
|
console.log("warehouseBaseInfo", res)
|
|
console.log("warehouseBaseInfo", res)
|
|
let _resData = res.data.data
|
|
let _resData = res.data.data
|
|
@@ -125,7 +130,7 @@
|
|
//获取列表
|
|
//获取列表
|
|
getList() {
|
|
getList() {
|
|
this.$api.doRequest('get', '/weighingManagement/selectWeighingManagement', {
|
|
this.$api.doRequest('get', '/weighingManagement/selectWeighingManagement', {
|
|
- compId: this.compId,
|
|
|
|
|
|
+ compId: '',
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
searchKeyWord: this.inputKeyword,
|
|
searchKeyWord: this.inputKeyword,
|
|
@@ -134,6 +139,9 @@
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.dataList = res.data.data.records
|
|
this.dataList = res.data.data.records
|
|
console.log(res.data.data.records)
|
|
console.log(res.data.data.records)
|
|
|
|
+ if(res.data.data.records.length==0){
|
|
|
|
+ this.isContent=true
|
|
|
|
+ }
|
|
console.log("--------------------------------")
|
|
console.log("--------------------------------")
|
|
console.log("this.dataList",this.dataList)
|
|
console.log("this.dataList",this.dataList)
|
|
})
|
|
})
|