|
@@ -3103,47 +3103,64 @@ class NotebookDetailPageState extends State<NotebookDetailPage> { |
|
@@ -3103,47 +3103,64 @@ class NotebookDetailPageState extends State<NotebookDetailPage> { |
|
3103
|
.rnameStr ==
|
3103
|
.rnameStr ==
|
|
3104
|
''))
|
3104
|
''))
|
|
3105
|
? SizedBox()
|
3105
|
? SizedBox()
|
|
3106
|
- : Padding(
|
|
|
|
3107
|
- padding:
|
|
|
|
3108
|
- EdgeInsets.only(
|
|
|
|
3109
|
- top: w(10)),
|
|
|
|
3110
|
- child: Align(
|
|
|
|
3111
|
- alignment: Alignment
|
|
|
|
3112
|
- .centerRight,
|
|
|
|
3113
|
- child:
|
|
|
|
3114
|
- RoundButton(
|
|
|
|
3115
|
- text: '客户详情',
|
|
|
|
3116
|
- width: w(72),
|
|
|
|
3117
|
- height: w(22),
|
|
|
|
3118
|
- borderColor:
|
|
|
|
3119
|
- MyColours
|
|
|
|
3120
|
- .color_438E93,
|
|
|
|
3121
|
- textColor: MyColours
|
|
|
|
3122
|
- .color_438E93,
|
|
|
|
3123
|
- gradientStart:
|
|
|
|
3124
|
- MyColours
|
|
|
|
3125
|
- .color_ffffff,
|
|
|
|
3126
|
- gradientEnd:
|
|
|
|
3127
|
- MyColours
|
|
|
|
3128
|
- .color_ffffff,
|
|
|
|
3129
|
- isBold: true,
|
|
|
|
3130
|
- fontSize: 24,
|
|
|
|
3131
|
- onPressed: () {
|
|
|
|
3132
|
- if (!collectStoreProvider
|
|
|
|
3133
|
- .sellerPreserve) {
|
|
|
|
3134
|
- //没有购买客情维护模块
|
|
|
|
3135
|
- //提示购买
|
3106
|
+ : detailEntity
|
|
|
|
3107
|
+ .gid ==
|
|
|
|
3108
|
+ null ||
|
|
|
|
3109
|
+ detailEntity
|
|
|
|
3110
|
+ .phone ==
|
|
|
|
3111
|
+ '' ||
|
|
|
|
3112
|
+ detailEntity
|
|
|
|
3113
|
+ .phone ==
|
|
|
|
3114
|
+ null
|
|
|
|
3115
|
+ ? SizedBox()
|
|
|
|
3116
|
+ : Padding(
|
|
|
|
3117
|
+ padding: EdgeInsets
|
|
|
|
3118
|
+ .only(
|
|
|
|
3119
|
+ top: w(
|
|
|
|
3120
|
+ 10)),
|
|
|
|
3121
|
+ child: Align(
|
|
|
|
3122
|
+ alignment:
|
|
|
|
3123
|
+ Alignment
|
|
|
|
3124
|
+ .centerRight,
|
|
|
|
3125
|
+ child:
|
|
|
|
3126
|
+ RoundButton(
|
|
|
|
3127
|
+ text:
|
|
|
|
3128
|
+ '客户详情',
|
|
|
|
3129
|
+ width:
|
|
|
|
3130
|
+ w(72),
|
|
|
|
3131
|
+ height:
|
|
|
|
3132
|
+ w(22),
|
|
|
|
3133
|
+ borderColor:
|
|
|
|
3134
|
+ MyColours
|
|
|
|
3135
|
+ .color_438E93,
|
|
|
|
3136
|
+ textColor:
|
|
|
|
3137
|
+ MyColours
|
|
|
|
3138
|
+ .color_438E93,
|
|
|
|
3139
|
+ gradientStart:
|
|
|
|
3140
|
+ MyColours
|
|
|
|
3141
|
+ .color_ffffff,
|
|
|
|
3142
|
+ gradientEnd:
|
|
|
|
3143
|
+ MyColours
|
|
|
|
3144
|
+ .color_ffffff,
|
|
|
|
3145
|
+ isBold:
|
|
|
|
3146
|
+ true,
|
|
|
|
3147
|
+ fontSize:
|
|
|
|
3148
|
+ 24,
|
|
|
|
3149
|
+ onPressed:
|
|
|
|
3150
|
+ () {
|
|
|
|
3151
|
+ if (!collectStoreProvider
|
|
|
|
3152
|
+ .sellerPreserve) {
|
|
|
|
3153
|
+ //没有购买客情维护模块
|
|
|
|
3154
|
+ //提示购买
|
|
3136
|
|
3155
|
|
|
3137
|
- DialogUtil.showSellerVersionBuyDialog(
|
|
|
|
3138
|
- context,
|
|
|
|
3139
|
- '客情维护',
|
|
|
|
3140
|
- (v) {});
|
|
|
|
3141
|
- return;
|
|
|
|
3142
|
- }
|
|
|
|
3143
|
- //gid 跳转客户详情页面
|
|
|
|
3144
|
- CustomerBySellerSunModel
|
|
|
|
3145
|
- userHistoryEntity =
|
|
|
|
3146
|
- CustomerBySellerSunModel(
|
3156
|
+ DialogUtil.showSellerVersionBuyDialog(
|
|
|
|
3157
|
+ context,
|
|
|
|
3158
|
+ '客情维护',
|
|
|
|
3159
|
+ (v) {});
|
|
|
|
3160
|
+ return;
|
|
|
|
3161
|
+ }
|
|
|
|
3162
|
+ //gid 跳转客户详情页面
|
|
|
|
3163
|
+ CustomerBySellerSunModel userHistoryEntity = CustomerBySellerSunModel(
|
|
3147
|
null,
|
3164
|
null,
|
|
3148
|
null,
|
3165
|
null,
|
|
3149
|
detailEntity
|
3166
|
detailEntity
|
|
@@ -3163,14 +3180,14 @@ class NotebookDetailPageState extends State<NotebookDetailPage> { |
|
@@ -3163,14 +3180,14 @@ class NotebookDetailPageState extends State<NotebookDetailPage> { |
|
3163
|
null,
|
3180
|
null,
|
|
3164
|
null);
|
3181
|
null);
|
|
3165
|
|
3182
|
|
|
3166
|
- NavigatorUtil.goCustomerDetailPage(
|
|
|
|
3167
|
- context,
|
|
|
|
3168
|
- userHistoryEntity,
|
|
|
|
3169
|
- FromPage
|
|
|
|
3170
|
- .FromPageMessagePage);
|
|
|
|
3171
|
- },
|
|
|
|
3172
|
- ),
|
|
|
|
3173
|
- ))
|
3183
|
+ NavigatorUtil.goCustomerDetailPage(
|
|
|
|
3184
|
+ context,
|
|
|
|
3185
|
+ userHistoryEntity,
|
|
|
|
3186
|
+ FromPage
|
|
|
|
3187
|
+ .FromPageMessagePage);
|
|
|
|
3188
|
+ },
|
|
|
|
3189
|
+ ),
|
|
|
|
3190
|
+ ))
|
|
3174
|
],
|
3191
|
],
|
|
3175
|
),
|
3192
|
),
|
|
3176
|
|
3193
|
|