|
|
@@ -1865,6 +1865,23 @@ export default {
|
|
|
},
|
|
|
// 添加门店
|
|
|
addStoreFun() {
|
|
|
+ // 门店重复判断
|
|
|
+ if (true) {
|
|
|
+ this.$dialog
|
|
|
+ .confirm({
|
|
|
+ title: '门店已存在',
|
|
|
+ message: `res.message`,
|
|
|
+ confirmButtonText: '维护',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.$router.push({
|
|
|
+ path: '/chainMaintain',
|
|
|
+ query: { id: 'res.id' },
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+ return;
|
|
|
addStore(this.fromValue).then((res) => {
|
|
|
this.toastLoading().clear();
|
|
|
if (res.code == 200) {
|