huangxw 2 týždňov pred
rodič
commit
4eb7e4c878

+ 1 - 1
src/plant/processing/processing-detail-list/models/outputInfo.vue

@@ -1,6 +1,6 @@
 <template>
     <up-popup :show="show" mode="bottom" @close="handleClose" :round="20" closeable style="height: 70vh">
-        <view class="d-flex flex-cln h-100% pd-24 bg-#fff" style="max-height: 70vh">
+        <view class="d-flex flex-cln h-100% pd-24 bg-#fff p-rtv" style="max-height: 70vh">
             <view class="f-s-34 f-w-5">添加产出信息</view>
             <scroll-view scroll-y class="h-0 flex1">
                 <up-form ref="formRef" :model="formData" :rules="rules" labelPosition="top" labelWidth="auto">

+ 22 - 20
src/plant/storage/fresh-goods/detail/index.vue

@@ -69,28 +69,30 @@
                     <up-button @click="navigateToInventoryLoss" type="warning" plain :customStyle="{ background: '#FFF9EF', borderColor: '#F9D9A3' }">库存有消耗?库存损耗登记{{ '>' }}</up-button>
                 </view>
             </view>
-            <view class="pd-24">
-                <view class="startline-title">采收信息</view>
-            </view>
-            <view class="bg-#fff pd-24" v-if="form?.harvestInfo">
-                <view class="f-s-30 pd2-16-0 info-border-bottom">
-                    <span class="c-#666">采收日期:</span>
-                    <span class="c-#333 f-w-600">{{ form?.harvestInfo?.harvestDate || '-' }}至{{ form?.harvestInfo?.harvestDateEnd || '-' }}</span>
+            <template v-if="form?.instoreType == '3'">
+                <view class="pd-24">
+                    <view class="startline-title">采收信息</view>
                 </view>
-                <view class="f-s-30 pd2-16-0 info-border-bottom">
-                    <span class="c-#666">采收批号:</span>
-                    <span class="c-#333 f-w-600">
-                        {{ form?.harvestInfo?.harvestCode || '-' }}
-                    </span>
-                </view>
-                <!-- 基地挖坑 -->
-                <view class="f-s-30 pd2-16-0 info-border-bottom">
-                    <span class="c-#666">种源加工处理工艺:</span>
-                    <span class="c-#333 f-w-600">
-                        {{ form?.harvestInfo?.ptech ? form?.harvestInfo?.ptech.replace(/,/g, '→') : '-' }}
-                    </span>
+                <view class="bg-#fff pd-24" v-if="form?.harvestInfo">
+                    <view class="f-s-30 pd2-16-0 info-border-bottom">
+                        <span class="c-#666">采收日期:</span>
+                        <span class="c-#333 f-w-600">{{ form?.harvestInfo?.harvestDate || '-' }}至{{ form?.harvestInfo?.harvestDateEnd || '-' }}</span>
+                    </view>
+                    <view class="f-s-30 pd2-16-0 info-border-bottom">
+                        <span class="c-#666">采收批号:</span>
+                        <span class="c-#333 f-w-600">
+                            {{ form?.harvestInfo?.harvestCode || '-' }}
+                        </span>
+                    </view>
+                    <!-- 基地挖坑 -->
+                    <view class="f-s-30 pd2-16-0 info-border-bottom">
+                        <span class="c-#666">种源加工处理工艺:</span>
+                        <span class="c-#333 f-w-600">
+                            {{ form?.harvestInfo?.ptech ? form?.harvestInfo?.ptech.replace(/,/g, '→') : '-' }}
+                        </span>
+                    </view>
                 </view>
-            </view>
+            </template>
             <view class="pd-24">
                 <view class="startline-title">鲜货信息</view>
             </view>

+ 22 - 20
src/plant/storage/seed-source/detail/index.vue

@@ -85,28 +85,30 @@
                     <up-button @click="navigateToInventoryLoss" type="warning" plain :customStyle="{ background: '#FFF9EF', borderColor: '#F9D9A3' }">库存有消耗?库存损耗登记{{ '>' }}</up-button>
                 </view>
             </view>
-            <view class="pd-24">
-                <view class="startline-title">采收信息</view>
-            </view>
-            <view class="bg-#fff pd-24" v-if="form?.harvestInfo">
-                <view class="f-s-30 pd2-16-0 info-border-bottom">
-                    <span class="c-#666">采收日期:</span>
-                    <span class="c-#333 f-w-600">{{ form?.harvestInfo?.harvestDate || '-' }}至{{ form?.harvestInfo?.harvestDateEnd || '-' }}</span>
-                </view>
-                <view class="f-s-30 pd2-16-0 info-border-bottom">
-                    <span class="c-#666">采收批号:</span>
-                    <span class="c-#333 f-w-600">
-                        {{ form?.harvestInfo?.harvestCode || '-' }}
-                    </span>
+            <template v-if="form?.instoreType == '3'">
+                <view class="pd-24">
+                    <view class="startline-title">采收信息</view>
                 </view>
-                <!-- 基地挖坑 -->
-                <view class="f-s-30 pd2-16-0 info-border-bottom">
-                    <span class="c-#666">种源加工处理工艺:</span>
-                    <span class="c-#333 f-w-600">
-                        {{ form?.harvestInfo?.ptech ? form?.harvestInfo?.ptech.replace(/,/g, '→') : '-' }}
-                    </span>
+                <view class="bg-#fff pd-24" v-if="form?.harvestInfo">
+                    <view class="f-s-30 pd2-16-0 info-border-bottom">
+                        <span class="c-#666">采收日期:</span>
+                        <span class="c-#333 f-w-600">{{ form?.harvestInfo?.harvestDate || '-' }}至{{ form?.harvestInfo?.harvestDateEnd || '-' }}</span>
+                    </view>
+                    <view class="f-s-30 pd2-16-0 info-border-bottom">
+                        <span class="c-#666">采收批号:</span>
+                        <span class="c-#333 f-w-600">
+                            {{ form?.harvestInfo?.harvestCode || '-' }}
+                        </span>
+                    </view>
+                    <!-- 基地挖坑 -->
+                    <view class="f-s-30 pd2-16-0 info-border-bottom">
+                        <span class="c-#666">种源加工处理工艺:</span>
+                        <span class="c-#333 f-w-600">
+                            {{ form?.harvestInfo?.ptech ? form?.harvestInfo?.ptech.replace(/,/g, '→') : '-' }}
+                        </span>
+                    </view>
                 </view>
-            </view>
+            </template>
             <view class="pd-24">
                 <view class="startline-title">种源信息</view>
             </view>