| | |
| | | <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>
|
| | |
| | | }).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', {
|
| | |
| | | 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 => {
|