Commit 05333146 by crushh

fix: 列表

parent 6061dbdf
...@@ -209,6 +209,13 @@ export default { ...@@ -209,6 +209,13 @@ export default {
*/ */
delMembers() { delMembers() {
let that = this; let that = this;
if (!that.selectedList.length) {
that.$message({
message: '请选择员工',
type: 'warning'
});
return false;
}
that that
.$confirm('是否要删除选中的员工?', '提示', { .$confirm('是否要删除选中的员工?', '提示', {
type: 'warning' type: 'warning'
...@@ -219,14 +226,6 @@ export default { ...@@ -219,14 +226,6 @@ 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,7 +632,6 @@ export default { ...@@ -632,7 +632,6 @@ 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