huangxw 1 tydzień temu
rodzic
commit
053bd556a2
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/pages/plant/base/index.vue

+ 2 - 1
src/pages/plant/base/index.vue

@@ -102,7 +102,7 @@
                                         </view>
                                         <view class="c-333 f-s-28 pd-5">
                                             <text class="c-#666">基地地址:</text>
-                                            <text class="f-w-5">{{ item?.gapInfo?.address || '-' }}</text>
+                                            <text class="f-w-5">{{ (item?.gapInfo?.adcodeName || '') + (item?.gapInfo?.address || '') || '-' }}</text>
                                         </view>
                                         <view v-if="item?.plantingVarieties?.length" class="c-333 f-s-28 pd-5 d-flex">
                                             <text class="c-#666 w-s-no">当前在地品种:</text>
@@ -223,6 +223,7 @@ interface GapInfo {
     res: string;
     auditor: number;
     msg: string;
+    adcodeName?: string;
 }
 
 // 种植品种类型