xuxueyang
2024-07-21 883ca635ebb2df1ccb9e7f6dc19a88c7ad374cb6
sub_pages/supplier/supplier-info/supplier-info.vue
@@ -72,14 +72,6 @@
               <view>{{dto.stationName || '请选择'}}</view>
               <u-icon class="m-l-a" name="arrow-right"></u-icon>
            </view>
            <!--          <view class="m-l-a m-r-0 flex " :class="[!dto.stationId?'desc-gray':'']">
               <uni-data-picker @change="(e)=>{PickData('stationId','stationStr',e)}" placeholder="请选择"
                  :localdata="columns_station">
                  {{dto.typeStr || '请选择'}}
               </uni-data-picker>
               <u-icon class="m-l-a" name="arrow-right"></u-icon>
            </view> -->
         </view>
         <view class="form-item before-line">
            <view class="label required">地区</view>
@@ -291,13 +283,6 @@
            }).then(res => {
               var data = res.data
               this.columns_station = [data || []]
               // this.columns_station = (data || []).map(item => {
               //    return {
               //       ...item,
               //       code: item.id,
               //       text: item.name,
               //    }
               // })
            })
            //类型和集火站
            this.$http.request('get', '/api/supplier/type/list', {
@@ -509,10 +494,10 @@
                  tempFiles
               }) {
                  if (errMsg === 'chooseImage:ok') {
                     // console.log(tempFiles[0])
                     if (tempFiles[0].size > 1024 * 1024 * 5) {
                        that.$message.confirm('图片最多支持5M大小,超出大小限制')
                        return
                     // console.log(tempFiles[0])
                     if (tempFiles[0].size > 1024 * 1024 * 5) {
                        that.$message.confirm('图片最多支持5M大小,超出大小限制')
                        return
                     }
                     that.$message.showLoading()
                     that.$http.upload(tempFiles[0].path).then(async res => {