xuxueyang
2024-08-02 1b78e33e0d0340f3d45f87160abcb0f13f013774
sub_pages/supplier/supplier-info/supplier-info.vue
@@ -119,23 +119,24 @@
                     v-for="(item, index) in shTypeList" :key="index" :label="item.name" :name="item.name">
                  </u-radio>
               </u-radio-group> -->
<!--               <view>-->
<!--                  <radio :checked="dto.idcardType==='身份证'" @click="()=>{-->
<!--                     dto.idcardType='身份证';-->
<!--                     $forceUpdate()-->
<!--                  }">-->
<!--                  </radio>身份证-->
<!--               </view>-->
<!--               <view class="m-l-10">-->
<!--                  <radio :checked="dto.idcardType==='营业执照'" @click="()=>{-->
<!--                     dto.idcardType='营业执照';-->
<!--                     $forceUpdate()-->
<!--                  }">-->
<!--                  </radio>营业执照-->
<!--               </view>-->
          <evan-radio-group v-model="dto.idcardType">
            <evan-radio v-for="item in shTypeList" :key="item.value" :label="item.value">{{item.label}}</evan-radio>
          </evan-radio-group>
               <!--               <view>-->
               <!--                  <radio :checked="dto.idcardType==='身份证'" @click="()=>{-->
               <!--                     dto.idcardType='身份证';-->
               <!--                     $forceUpdate()-->
               <!--                  }">-->
               <!--                  </radio>身份证-->
               <!--               </view>-->
               <!--               <view class="m-l-10">-->
               <!--                  <radio :checked="dto.idcardType==='营业执照'" @click="()=>{-->
               <!--                     dto.idcardType='营业执照';-->
               <!--                     $forceUpdate()-->
               <!--                  }">-->
               <!--                  </radio>营业执照-->
               <!--               </view>-->
               <evan-radio-group v-model="dto.idcardType">
                  <evan-radio v-for="item in shTypeList" :key="item.value"
                     :label="item.value">{{item.label}}</evan-radio>
               </evan-radio-group>
            </view>
         </view>
         <view class="form-item bottom-border-no before-line m-t-20 p-b-20" v-if="dto.idcardType=='1'">
@@ -208,15 +209,15 @@
   import {
      mapState
   } from 'vuex'
  import EvanRadio from "../components/evan-radio/evan-radio.vue";
  import EvanRadioGroup from "../components/evan-radio-group/evan-radio-group.vue";
   import EvanRadio from "../components/evan-radio/evan-radio.vue";
   import EvanRadioGroup from "../components/evan-radio-group/evan-radio-group.vue";
   export default {
    components:{
      EvanRadioGroup,
      EvanRadio
    },
      components: {
         EvanRadioGroup,
         EvanRadio
      },
      data() {
         return {
@@ -422,6 +423,9 @@
               } else if (typeof this.dto.idCards == 'string') {
                  this.dto.idCards = JSON.parse(this.dto.idCards)
               }
               if (!this.dto.idcardType) {
                  this.dto.idcardType = '1'
               }
               this.dto.userId = this.currentInfo.id
            }
@@ -479,8 +483,10 @@
            }
            if (this.dto.idcardType == '2' && this.dto.pictures.length == 0) {
               this.$message.showToast(`营业执照信息未填写`)
               return
            }
               return
            }
            await this.$message.confirm(`是否确定提交/修改店铺信息`)
@@ -648,12 +654,13 @@
      background-color: rgb(254, 243, 243);
   }
  /deep/ {
    .evan-radio-group {
      display: flex;
    }
    .evan-radio {
      margin-right: 12rpx;
    }
  }
</style>
   /deep/ {
      .evan-radio-group {
         display: flex;
      }
      .evan-radio {
         margin-right: 12rpx;
      }
   }
</style>