From e672a5323cd6cda77d4dcb51f560dffed7003bff Mon Sep 17 00:00:00 2001 From: kevin jiang Date: Wed, 29 Apr 2020 22:24:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A8=E5=B9=BF=E4=BA=BA?= =?UTF-8?q?=E5=91=98=EF=BC=8C=E8=A7=92=E8=89=B2option=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/shop/IncreaseStaffManager.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pages/shop/IncreaseStaffManager.vue b/src/pages/shop/IncreaseStaffManager.vue index e09c705..bc94f56 100644 --- a/src/pages/shop/IncreaseStaffManager.vue +++ b/src/pages/shop/IncreaseStaffManager.vue @@ -373,12 +373,19 @@ open: function (flag,row) { this.flag = flag; this.isShowAdd = true; + let role; + if(row.type === 1){ + role = "DZ-DIANZHANG"; + }else{ + role = "DG-DAOGOU"; + } + if(flag == 2){ this.formValidate = { name: row.name, staffCode: row.staffCode, phone: row.mobil, - role: row.type, + role: role, store: row.storeId, userId:row.userId, id : row.id