From 883ca635ebb2df1ccb9e7f6dc19a88c7ad374cb6 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期日, 21 七月 2024 14:47:00 +0800
Subject: [PATCH] update 部分需求变更
---
sub_pages/supplier/supplier-info/supplier-info.vue | 23 ++++-------------------
1 files changed, 4 insertions(+), 19 deletions(-)
diff --git a/sub_pages/supplier/supplier-info/supplier-info.vue b/sub_pages/supplier/supplier-info/supplier-info.vue
index c4a3c95..67e3878 100644
--- a/sub_pages/supplier/supplier-info/supplier-info.vue
+++ b/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 => {
--
Gitblit v1.9.3