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;