Commit a5db05b3 by LJM

bug

parent 2c2d04aa
...@@ -316,9 +316,10 @@ export default { ...@@ -316,9 +316,10 @@ export default {
this.closeDrawer(); this.closeDrawer();
}, 2000); }, 2000);
} else { } else {
uni.showToast({ uni.showModal({
title: res.msg, itle: '提示',
icon: 'error' content: res.msg,
showCancel: false
}); });
} }
}); });
...@@ -348,16 +349,16 @@ export default { ...@@ -348,16 +349,16 @@ export default {
title: '登记成功', title: '登记成功',
icon: 'success' icon: 'success'
}); });
s;
setTimeout(() => { setTimeout(() => {
this.getData(); this.getData();
this.closeDrawer(); this.closeDrawer();
this.filter_id = []; this.filter_id = [];
}, 2000); }, 2000);
} else { } else {
uni.showToast({ uni.showModal({
title: res.msg, itle: '提示',
icon: 'error' content: res.msg,
showCancel: false
}); });
} }
}); });
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
</view> </view>
<view class="fix-btn row verCenter"> <view class="fix-btn row verCenter">
<view class="btn3 row rowCenter verCenter" @click="allChnage()"> <view class="btn3 row rowCenter verCenter" @click="allChnage()">
<text class="check-box-icon" :class="{ curr: this.filter_list.length == this.filter_id.length }"></text> <text class="check-box-icon" :class="{ curr: filter_list.length == filter_id.length }"></text>
<text class="text">全选</text> <text class="text">全选</text>
</view> </view>
<view class="btn4 row rowCenter verCenter" @click="closeStockInRegister(1)">取消登记</view> <view class="btn4 row rowCenter verCenter" @click="closeStockInRegister(1)">取消登记</view>
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
</view> </view>
<view class="fix-btn row verCenter"> <view class="fix-btn row verCenter">
<view class="btn1 row rowCenter verCenter" @click="allChnage()"> <view class="btn1 row rowCenter verCenter" @click="allChnage()">
<text class="check-box-icon" :class="{ curr: this.filter_list.length == this.filter_id.length }"></text> <text class="check-box-icon" :class="{ curr: filter_list.length == filter_id.length }"></text>
<text class="text">全选</text> <text class="text">全选</text>
</view> </view>
<view class="btn2 row rowCenter verCenter" @click="cancelPicking">取消拣货</view> <view class="btn2 row rowCenter verCenter" @click="cancelPicking">取消拣货</view>
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
</view> </view>
<view class="fix-btn row verCenter"> <view class="fix-btn row verCenter">
<view class="btn1 row rowCenter verCenter" @click="allChnage()"> <view class="btn1 row rowCenter verCenter" @click="allChnage()">
<text class="check-box-icon" :class="{ curr: this.filter_list.length == this.filter_id.length }"></text> <text class="check-box-icon" :class="{ curr: filter_list.length == filter_id.length }"></text>
<text class="text">全选</text> <text class="text">全选</text>
</view> </view>
<view class="btn2 row rowCenter verCenter" @click="cancelCheck()">取消复核</view> <view class="btn2 row rowCenter verCenter" @click="cancelCheck()">取消复核</view>
......
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
</view> </view>
<view class="fix-btn row verCenter" v-if="curr == 0"> <view class="fix-btn row verCenter" v-if="curr == 0">
<view class="btn1 row rowCenter verCenter" @click="allChnage()"> <view class="btn1 row rowCenter verCenter" @click="allChnage()">
<text class="check-box-icon" :class="{ curr: this.filter_list.length == this.filter_id.length }"></text> <text class="check-box-icon" :class="{ curr: filter_list.length == filter_id.length }"></text>
<text class="text">全选</text> <text class="text">全选</text>
</view> </view>
<view class="btn2 row rowCenter verCenter" @click="showDrawer(0)">一键复核</view> <view class="btn2 row rowCenter verCenter" @click="showDrawer(0)">一键复核</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment