lisy il y a 3 semaines
Parent
commit
7f5a268496

+ 5 - 5
src/pages/plant/processing/models/output.vue

@@ -14,16 +14,16 @@
                 </view>
             </view>
         </view>
-        <view class="bg-#F6FAFE" v-else>
+        <view class="bg-#F6FAFE flex1" v-else>
             <ut-row gap="10rpx">
-                <view class="">01</view>
+                <view class="" :span="2">01</view>
                 <view class="d-flex flex-cln" :span="10">
                     <span>统货</span>
                     <span>1mm极薄片</span>
                 </view>
-                <view class=""> 19999kg </view>
-                <view class="">未检</view>
-                <view class="">已入药材库</view>
+                <view class="" :span="10"> 19999kg </view>
+                <view class="" :span="2">未检</view>
+                <view class="" :span="5">已入药材库</view>
             </ut-row>
         </view>
     </view>

+ 2 - 1
src/plant/port/port-harvest-create/index.vue

@@ -131,7 +131,7 @@
                     </ut-action-sheet>
                     <!-- 采收地块 -->
                     <up-form-item v-if="+mgMethod !== 2" :borderBottom="false" :label="'采收' + landIdsTitle" prop="landIds" id="landIdspppp">
-                        <Go_button v-if="!deawerData" @click="openDrawer" :title="'请选择采收的' + landIdsTitle" style="flex: 1" />
+                        <Go_button v-if="!deawerData?.data.length" @click="openDrawer" :title="'请选择采收的' + landIdsTitle" style="flex: 1" />
                         <view class="w-100%" v-else>
                             <Baseinfo :modeValue="deawerData" @close="handleBaseinfoClose" :baseType="baseType" />
                         </view>
@@ -576,6 +576,7 @@ onLoad(async (options: any) => {
             deawerData.value.aloneChecked = false;
         }
         deawerData.value.data = res.data?.lands;
+        console.log(deawerData.value, 'deawerData.value');
     } else {
         if (+taskType?.value == 11) {
             form.value.outputType = '1';