|
...
|
...
|
@@ -3103,47 +3103,64 @@ class NotebookDetailPageState extends State<NotebookDetailPage> { |
|
|
|
.rnameStr ==
|
|
|
|
''))
|
|
|
|
? SizedBox()
|
|
|
|
: Padding(
|
|
|
|
padding:
|
|
|
|
EdgeInsets.only(
|
|
|
|
top: w(10)),
|
|
|
|
child: Align(
|
|
|
|
alignment: Alignment
|
|
|
|
.centerRight,
|
|
|
|
child:
|
|
|
|
RoundButton(
|
|
|
|
text: '客户详情',
|
|
|
|
width: w(72),
|
|
|
|
height: w(22),
|
|
|
|
borderColor:
|
|
|
|
MyColours
|
|
|
|
.color_438E93,
|
|
|
|
textColor: MyColours
|
|
|
|
.color_438E93,
|
|
|
|
gradientStart:
|
|
|
|
MyColours
|
|
|
|
.color_ffffff,
|
|
|
|
gradientEnd:
|
|
|
|
MyColours
|
|
|
|
.color_ffffff,
|
|
|
|
isBold: true,
|
|
|
|
fontSize: 24,
|
|
|
|
onPressed: () {
|
|
|
|
if (!collectStoreProvider
|
|
|
|
.sellerPreserve) {
|
|
|
|
//没有购买客情维护模块
|
|
|
|
//提示购买
|
|
|
|
: detailEntity
|
|
|
|
.gid ==
|
|
|
|
null ||
|
|
|
|
detailEntity
|
|
|
|
.phone ==
|
|
|
|
'' ||
|
|
|
|
detailEntity
|
|
|
|
.phone ==
|
|
|
|
null
|
|
|
|
? SizedBox()
|
|
|
|
: Padding(
|
|
|
|
padding: EdgeInsets
|
|
|
|
.only(
|
|
|
|
top: w(
|
|
|
|
10)),
|
|
|
|
child: Align(
|
|
|
|
alignment:
|
|
|
|
Alignment
|
|
|
|
.centerRight,
|
|
|
|
child:
|
|
|
|
RoundButton(
|
|
|
|
text:
|
|
|
|
'客户详情',
|
|
|
|
width:
|
|
|
|
w(72),
|
|
|
|
height:
|
|
|
|
w(22),
|
|
|
|
borderColor:
|
|
|
|
MyColours
|
|
|
|
.color_438E93,
|
|
|
|
textColor:
|
|
|
|
MyColours
|
|
|
|
.color_438E93,
|
|
|
|
gradientStart:
|
|
|
|
MyColours
|
|
|
|
.color_ffffff,
|
|
|
|
gradientEnd:
|
|
|
|
MyColours
|
|
|
|
.color_ffffff,
|
|
|
|
isBold:
|
|
|
|
true,
|
|
|
|
fontSize:
|
|
|
|
24,
|
|
|
|
onPressed:
|
|
|
|
() {
|
|
|
|
if (!collectStoreProvider
|
|
|
|
.sellerPreserve) {
|
|
|
|
//没有购买客情维护模块
|
|
|
|
//提示购买
|
|
|
|
|
|
|
|
DialogUtil.showSellerVersionBuyDialog(
|
|
|
|
context,
|
|
|
|
'客情维护',
|
|
|
|
(v) {});
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
//gid 跳转客户详情页面
|
|
|
|
CustomerBySellerSunModel
|
|
|
|
userHistoryEntity =
|
|
|
|
CustomerBySellerSunModel(
|
|
|
|
DialogUtil.showSellerVersionBuyDialog(
|
|
|
|
context,
|
|
|
|
'客情维护',
|
|
|
|
(v) {});
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
//gid 跳转客户详情页面
|
|
|
|
CustomerBySellerSunModel userHistoryEntity = CustomerBySellerSunModel(
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
detailEntity
|
|
...
|
...
|
@@ -3163,14 +3180,14 @@ class NotebookDetailPageState extends State<NotebookDetailPage> { |
|
|
|
null,
|
|
|
|
null);
|
|
|
|
|
|
|
|
NavigatorUtil.goCustomerDetailPage(
|
|
|
|
context,
|
|
|
|
userHistoryEntity,
|
|
|
|
FromPage
|
|
|
|
.FromPageMessagePage);
|
|
|
|
},
|
|
|
|
),
|
|
|
|
))
|
|
|
|
NavigatorUtil.goCustomerDetailPage(
|
|
|
|
context,
|
|
|
|
userHistoryEntity,
|
|
|
|
FromPage
|
|
|
|
.FromPageMessagePage);
|
|
|
|
},
|
|
|
|
),
|
|
|
|
))
|
|
|
|
],
|
|
|
|
),
|
|
|
|
|
...
|
...
|
|