//点击删除按钮
delStoreFun(data) {
let than = this;
this.$prompt('删除门店请填写备注', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
inputValidator: (value) => { //非空验证
if (!value) {
return '输入不能为空'
}
},
}).then(({ value }) => {
delShop({ id: data.systemStore.id,reason:value}).then((res) => {
than.$message({
message: "操作成功",
type: 'success'
});
than.list();
})
})
},