Commit 30cbc643d27401249116e67a3206edb85c44b54e

Authored by wdn127929
1 parent 6d2dcae5

八、【提测变更项内容说明】v5.1.4.2

... ... @@ -666,37 +666,38 @@ class _PersonnelDetailPageState extends State<PersonnelDetailPage> {
],
),
)),
InkWell(
onTap: () async {
await DialogUtil.removePersonnalDialog(
context, personnelProvider.sellerManageList, onTap: (map) {
print(map);
String uid = map['bjtype'];
if (uid == '') {
//选择了 全店未分配客户资源
} else {
//选择了某个经理
}
_delSellerClerk(uid);
if (widget.position != '管理员')
InkWell(
onTap: () async {
await DialogUtil.removePersonnalDialog(
context, personnelProvider.sellerManageList, onTap: (map) {
print(map);
String uid = map['bjtype'];
if (uid == '') {
//选择了 全店未分配客户资源
} else {
//选择了某个经理
}
_delSellerClerk(uid);
// DialogUtil.cupertinoAlertDialog(context,
// title: '提示',
// content: '移除店员后,店员将无法接收门店收款通知,店员收款码也将无法收款',
// rTitle: '移除', rCallback: () {
// _delSellerClerk();
// });
});
},
child: Padding(
padding: EdgeInsets.symmetric(
vertical: ScreenUtil().setWidth(34 * 2)),
child: Text(
'移除员工',
style: TextStyle(
decoration: TextDecoration.underline,
color: MyColours.color_438E93,
fontSize: ScreenUtil().setSp(28)),
))),
// DialogUtil.cupertinoAlertDialog(context,
// title: '提示',
// content: '移除店员后,店员将无法接收门店收款通知,店员收款码也将无法收款',
// rTitle: '移除', rCallback: () {
// _delSellerClerk();
// });
});
},
child: Padding(
padding: EdgeInsets.symmetric(
vertical: ScreenUtil().setWidth(34 * 2)),
child: Text(
'移除员工',
style: TextStyle(
decoration: TextDecoration.underline,
color: MyColours.color_438E93,
fontSize: ScreenUtil().setSp(28)),
))),
]),
);
}
... ...