|
|
@@ -232,7 +232,7 @@ export default {
|
|
|
this.$msg('请选择花材')
|
|
|
return;
|
|
|
}
|
|
|
- this.$util.confirmModal({content:'确认隐藏 ' + this.selectedIdsSet.size + ' 个花材?'},() => {
|
|
|
+ this.$util.confirmModal({content:'确认隐藏这 ' + this.selectedIdsSet.size + ' 个花材?'},() => {
|
|
|
this.commitChange(1)
|
|
|
})
|
|
|
},
|
|
|
@@ -241,7 +241,7 @@ export default {
|
|
|
this.$msg('请选择花材')
|
|
|
return;
|
|
|
}
|
|
|
- this.$util.confirmModal({content:'确认显示 ' + this.selectedIdsSet.size + ' 个花材?'},() => {
|
|
|
+ this.$util.confirmModal({content:'确认显示这 ' + this.selectedIdsSet.size + ' 个花材?'},() => {
|
|
|
this.commitChange(0)
|
|
|
})
|
|
|
},
|
|
|
@@ -250,7 +250,13 @@ export default {
|
|
|
batchChangeFrontHide({ids:JSON.stringify(ids), frontHide: hideStatus}).then(res=>{
|
|
|
if(res.code == 1){
|
|
|
this.$msg(res.msg)
|
|
|
- this.initData()
|
|
|
+ // 清空选中状态
|
|
|
+ this.selectedIdsSet.clear()
|
|
|
+ // 重置分页和数据状态,重新加载数据
|
|
|
+ this.globalPage = 1
|
|
|
+ this.globalFinishGetItem = 0
|
|
|
+ this.globalItemData = []
|
|
|
+ this.getGlobalProductList()
|
|
|
}
|
|
|
})
|
|
|
},
|