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