|
|
@@ -203,12 +203,14 @@ class _SampleTaskListPageState extends BaseLifecycleState<SampleTaskListPage> wi
|
|
203
|
203
|
List<Map<String, String?>> infoList = [];
|
|
204
|
204
|
if (item.deliveryStatus != 2) {
|
|
205
|
205
|
// 未扦样
|
|
206
|
|
- infoList.addAll([
|
|
207
|
|
- {'采样品种': item.cypzName},
|
|
208
|
|
- {'检验指标': item.jyzb},
|
|
209
|
|
- {'样品等级': DictService.getDict(DictType.ypdj, value: item.ypdj)?.label},
|
|
210
|
|
- {'扦样地区': item.qydq},
|
|
211
|
|
- ]);
|
|
|
206
|
+ infoList.add({'采样品种': item.cypzName});
|
|
|
207
|
+ if (item.jyzb != null) {
|
|
|
208
|
+ infoList.add({'检验指标': item.jyzb});
|
|
|
209
|
+ }
|
|
|
210
|
+ infoList.add({'扦样地区': item.qydq});
|
|
|
211
|
+ if (item.ypdj != null) {
|
|
|
212
|
+ infoList.add({'样品层级': DictService.getDict(DictType.ypdj, value: item.ypdj)?.label});
|
|
|
213
|
+ }
|
|
212
|
214
|
} else {
|
|
213
|
215
|
// 已扦样
|
|
214
|
216
|
infoList.addAll([
|
|
|
@@ -216,7 +218,7 @@ class _SampleTaskListPageState extends BaseLifecycleState<SampleTaskListPage> wi
|
|
216
|
218
|
{'扦样地区': item.qydq},
|
|
217
|
219
|
]);
|
|
218
|
220
|
if (item.ypdj != null) {
|
|
219
|
|
- infoList.add({'样品等级': DictService.getDict(DictType.ypdj, value: item.ypdj)?.label});
|
|
|
221
|
+ infoList.add({'样品层级': DictService.getDict(DictType.ypdj, value: item.ypdj)?.label});
|
|
220
|
222
|
}
|
|
221
|
223
|
if (item.jyzb != null) {
|
|
222
|
224
|
infoList.add({'检验指标': item.jyzb});
|