Commit e00b0a87 by lixiaomin

修改店铺商品下架

parent 1c7db8f6
...@@ -131,7 +131,11 @@ export default { ...@@ -131,7 +131,11 @@ export default {
handleSelectionChange(selection) { handleSelectionChange(selection) {
this.outIds = selection.map((item) => item.id); this.outIds = selection.map((item) => item.id);
}, },
soldOutGoos(){ soldOutGoos(){
if(!this.outIds){
this.$message.error('请选择所需下架的商品!');
return;
}
this.$confirm('是否确认下架所选商品?', '提示', { this.$confirm('是否确认下架所选商品?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
......
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 to comment