From 581eb5e646ed48c3764810b4f91a1915798764ec Mon Sep 17 00:00:00 2001 From: yinliujing Date: Mon, 20 Apr 2020 19:19:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E5=B9=BF=E4=BA=BA=E5=91=98=E5=92=8C?= =?UTF-8?q?=E5=BA=97=E9=93=BA=E4=BA=BA=E5=91=98=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/shop/IncreaseStaffManager.vue | 2 ++ src/pages/shop/IncreaseStoreManager.vue | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/src/pages/shop/IncreaseStaffManager.vue b/src/pages/shop/IncreaseStaffManager.vue index fa2471f..a2f02bd 100644 --- a/src/pages/shop/IncreaseStaffManager.vue +++ b/src/pages/shop/IncreaseStaffManager.vue @@ -298,6 +298,8 @@ data = data.data; if (data.code == "0000"){ that.$Message.success('添加成功!'); + that.handleAdd(that.formValidate); + that.listOfLogistics(); } }) }, diff --git a/src/pages/shop/IncreaseStoreManager.vue b/src/pages/shop/IncreaseStoreManager.vue index 01369b0..160fab8 100644 --- a/src/pages/shop/IncreaseStoreManager.vue +++ b/src/pages/shop/IncreaseStoreManager.vue @@ -30,6 +30,7 @@ + @@ -39,6 +40,9 @@ + + + @@ -343,6 +347,7 @@ }else { that.$Message.success('添加成功!'); that.listOfStore(); + this.handleAdd(this.formValidate); } } }) @@ -461,6 +466,22 @@ downLoadImportExcel(){ window.location.href = '/门店号批量开通模板.xlsx' }, + handleAdd(value){ + value.alias = '', + value.userId = '', + value.gender = '', + value. mobile = '', + value.email = '', + value. address = '', + value. departIds = '', + value. selectedPhoneRegion ='86', + value.duty= '', + value.position='', + value.interest= [], + value.desc= '', + value.checkbox= ['vail'], + value.storeId='' + }, updateSuccess (response) { if (response.code === "0000") { let data = response.results;