|
...
|
...
|
@@ -720,8 +720,10 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
Widget _managerWidget(String pnum, String btnTitle, String percent,
|
|
|
|
Widget _managerWidget(
|
|
|
|
String pnum, String btnTitle, String percent, String detailStr,
|
|
|
|
{String uid = ''}) {
|
|
|
|
List detailList = detailStr.split('-');
|
|
|
|
return Container(
|
|
|
|
// width: w(122),
|
|
|
|
height: w(116),
|
|
...
|
...
|
@@ -734,6 +736,7 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
Align(
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
child: Container(
|
|
|
|
// constraints: BoxConstraints(maxHeight: w(24)),
|
|
|
|
padding: EdgeInsets.symmetric(vertical: w(4), horizontal: w(5)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
borderRadius: BorderRadius.circular(r(3)),
|
|
...
|
...
|
@@ -741,6 +744,8 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
Border.all(color: MyColours.color_999999, width: w(1))),
|
|
|
|
child: Text(
|
|
|
|
btnTitle,
|
|
|
|
maxLines: 1,
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: font(12),
|
|
|
|
fontWeight: FontWeight.bold,
|
|
...
|
...
|
@@ -952,7 +957,8 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
return _managerWidget(
|
|
|
|
'${widget.customerProvider.storeSunmodel.distribution}',
|
|
|
|
'未分配经理',
|
|
|
|
null);
|
|
|
|
null,
|
|
|
|
'2-2-2');
|
|
|
|
}
|
|
|
|
|
|
|
|
return _managerWidget(
|
|
...
|
...
|
@@ -963,6 +969,7 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
? ''
|
|
|
|
: '${widget.customerProvider.storeSunmodel.sellerUser[index - 1].nickName ?? widget.customerProvider.storeSunmodel.sellerUser[index - 1].account}',
|
|
|
|
null,
|
|
|
|
'${widget.customerProvider.storeSunmodel.sellerUser[index - 1].detailStr}',
|
|
|
|
uid: widget.customerProvider.storeSunmodel
|
|
|
|
.sellerUser[index - 1].uid);
|
|
|
|
}),
|
...
|
...
|
|