|
@@ -199,9 +199,9 @@
|
|
_this.list = res.data.list || []
|
|
_this.list = res.data.list || []
|
|
}
|
|
}
|
|
_this.total = res.data.count || 0
|
|
_this.total = res.data.count || 0
|
|
- if(this.current == 0){
|
|
|
|
- _this.tabList[0].count = _this.total
|
|
|
|
- }
|
|
|
|
|
|
+ // if(this.current == 0){
|
|
|
|
+ // _this.tabList[0].count = _this.total
|
|
|
|
+ // }
|
|
} else {
|
|
} else {
|
|
_this.list = []
|
|
_this.list = []
|
|
_this.total = 0
|
|
_this.total = 0
|
|
@@ -224,9 +224,9 @@
|
|
console.log(res)
|
|
console.log(res)
|
|
if(res.status == 200){
|
|
if(res.status == 200){
|
|
this.list.splice(index,1)
|
|
this.list.splice(index,1)
|
|
- if(this.current == 0){
|
|
|
|
- this.tabList[0].count = this.tabList[0].count - 1
|
|
|
|
- }
|
|
|
|
|
|
+ // if(this.current == 0){
|
|
|
|
+ // this.tabList[0].count = this.tabList[0].count - 1
|
|
|
|
+ // }
|
|
}else{
|
|
}else{
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: '提示',
|
|
title: '提示',
|
|
@@ -269,9 +269,9 @@
|
|
takeGoods({sn:item.shelfOrderSn}).then(res => {
|
|
takeGoods({sn:item.shelfOrderSn}).then(res => {
|
|
if(res.status == 200){
|
|
if(res.status == 200){
|
|
_this.list.splice(index,1)
|
|
_this.list.splice(index,1)
|
|
- if(_this.current == 0){
|
|
|
|
- _this.tabList[0].count = _this.tabList[0].count - 1
|
|
|
|
- }
|
|
|
|
|
|
+ // if(_this.current == 0){
|
|
|
|
+ // _this.tabList[0].count = _this.tabList[0].count - 1
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: res.message,
|
|
title: res.message,
|