Commit a5db05b3 by LJM

bug

parent 2c2d04aa
......@@ -316,9 +316,10 @@ export default {
this.closeDrawer();
}, 2000);
} else {
uni.showToast({
title: res.msg,
icon: 'error'
uni.showModal({
itle: '提示',
content: res.msg,
showCancel: false
});
}
});
......@@ -348,16 +349,16 @@ export default {
title: '登记成功',
icon: 'success'
});
s;
setTimeout(() => {
this.getData();
this.closeDrawer();
this.filter_id = [];
}, 2000);
} else {
uni.showToast({
title: res.msg,
icon: 'error'
uni.showModal({
itle: '提示',
content: res.msg,
showCancel: false
});
}
});
......
......@@ -70,7 +70,7 @@
</view>
<view class="fix-btn row verCenter">
<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>
</view>
<view class="btn4 row rowCenter verCenter" @click="closeStockInRegister(1)">取消登记</view>
......
......@@ -73,7 +73,7 @@
</view>
<view class="fix-btn row verCenter">
<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>
</view>
<view class="btn2 row rowCenter verCenter" @click="cancelPicking">取消拣货</view>
......
......@@ -72,7 +72,7 @@
</view>
<view class="fix-btn row verCenter">
<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>
</view>
<view class="btn2 row rowCenter verCenter" @click="cancelCheck()">取消复核</view>
......
......@@ -138,7 +138,7 @@
</view>
<view class="fix-btn row verCenter" v-if="curr == 0">
<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>
</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