Commit 6061dbdf by crushh

fix: 修改

parent 600201d9
...@@ -208,13 +208,6 @@ export default { ...@@ -208,13 +208,6 @@ export default {
* 批量删除成员 * 批量删除成员
*/ */
delMembers() { delMembers() {
if (!this.selectedList.length) {
this.$message({
message: '请选择员工',
type: 'warning'
});
return false;
}
let that = this; let that = this;
that that
.$confirm('是否要删除选中的员工?', '提示', { .$confirm('是否要删除选中的员工?', '提示', {
...@@ -226,6 +219,14 @@ export default { ...@@ -226,6 +219,14 @@ export default {
that.selectedList.forEach(li => { that.selectedList.forEach(li => {
arr.push(li.employeeClerkId); arr.push(li.employeeClerkId);
}); });
if (!arr.length) {
that.$message({
message: '请选择员工',
type: 'warning'
});
that.loading = false;
return false;
}
let params = { let params = {
ids: arr.join(',') ids: arr.join(',')
}; };
......
...@@ -632,6 +632,7 @@ export default { ...@@ -632,6 +632,7 @@ export default {
* 获取卡券列表 * 获取卡券列表
*/ */
getCardList(brandId) { getCardList(brandId) {
console.log(brandId);
const that = this; const that = this;
let para = { let para = {
brandId: brandId, brandId: brandId,
......
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