xuxueyang
2024-07-22 32ab1af0797e3e8ab60dc646fc2c30cddf1dfa1f
sub_pages/supplier/flower-manage/flower-add.vue
@@ -126,7 +126,8 @@
         <view class="form-item ">
            <view class="label required">商品参数详情</view>
            <view class="m-l-a m-r-0 flex " :class="[!dto.applicationType?'desc-gray':'']" @click="()=>{
            <view class="m-l-a m-r-0 flex " style="flex-wrap: nowrap;"
               :class="[!dto.applicationType?'desc-gray':'']" @click="()=>{
               if(!dto.category){
                  $message.showToast('请先选择分类')
               }else{
@@ -159,17 +160,21 @@
         <view v-if="dto.video">
            <video :src="dto.video" style="display: block;margin: 0 auto;"></video>
         </view>
         <view class="form-item ">
            <view class="label required">商品描述</view>
         <view class="form-item bottom-border-no">
            <view class="label">商品描述</view>
            <view class="m-l-a m-r-0 flex">
               <!--    <u-input type="textarea" v-model="dto.description" placeholder="请输入商品描述" type="number"
                  ></u-input> -->
               <u--textarea v-model="dto.description" style="margin-top: 16px;text-align: right;"
                  placeholder="请输入商品描述"></u--textarea>
               <!--                <u--textarea v-model="dto.description" style="margin-top: 16px;"
                  placeholder="请输入商品描述" count></u--textarea> -->
               <!-- <uni-easyinput  v-model="dto.description" placeholder="请输入商品描述" ></uni-easyinput> -->
            </view>
         </view>
         <view style="min-width: 500rpx;margin-left: 20rpx;margin-right: 20rpx;margin-top: 20rpx;">
            <u--textarea v-model="dto.description" autoHeight
               placeholder="请输入商品描述"></u--textarea>
         </view>
         <view style="min-height: 200rpx;">
@@ -214,7 +219,7 @@
<script>
   import environments from '@/environments'
   import dying318picker from '@/components/dying318-picker/Picker.vue'
   // import dying318picker from '@/components/dying318-picker/Picker.vue'
   import treeFilter from '@/components/tree-filter/tree-filter.vue'
@@ -431,7 +436,7 @@
                  }
                  if (has) {
                     console.log('has ', tmp, hasTrue, has)
                     // console.log('has ', tmp, hasTrue, has)
                     node.push(tmp)
                  } else {
@@ -708,7 +713,7 @@
         }
      },
      components: {
         dying318picker,
         // dying318picker,
         treeFilter
      }
   }