修复bug

This commit is contained in:
weipengfei 2024-05-24 13:50:54 +08:00
parent a110387869
commit 8e2de605ef
2 changed files with 10 additions and 11 deletions

View File

@ -14,7 +14,7 @@
</view> --> </view> -->
<view class="content"> <view class="content">
<view class="heder-tips"> <view class="heder-tips">
简单3步 供应商入驻 简单3步 经销商入驻
</view> </view>
<view class="steps"> <view class="steps">
<view class="steps-li" @click="step=1"> <view class="steps-li" @click="step=1">
@ -49,7 +49,7 @@
<view class="step1" v-if='step==1'> <view class="step1" v-if='step==1'>
<view class="card"> <view class="card">
<view class="card-tit"> <view class="card-tit">
供应商名称 经销商名称
</view> </view>
<u--input placeholder="店铺名称" :maxlength='20' style="height: 100rpx;" border="surround" <u--input placeholder="店铺名称" :maxlength='20' style="height: 100rpx;" border="surround"
v-model="formData.mer_name"> v-model="formData.mer_name">
@ -57,7 +57,7 @@
</view> </view>
<view class="card"> <view class="card">
<view class="card-tit"> <view class="card-tit">
供应商电话 经销商电话
</view> </view>
<u--input placeholder="电话号码" :maxlength='20' style="height: 100rpx;" border="surround" <u--input placeholder="电话号码" :maxlength='20' style="height: 100rpx;" border="surround"
v-model="formData.phone"> v-model="formData.phone">
@ -65,7 +65,7 @@
</view> </view>
<view class="card"> <view class="card">
<view class="card-tit"> <view class="card-tit">
供应商分类 经销商分类
</view> </view>
<view class="card-cont"> <view class="card-cont">
<view class="card-cont-li" @click="showStoreType=true"> <view class="card-cont-li" @click="showStoreType=true">
@ -76,7 +76,7 @@
</view> </view>
<view class="card"> <view class="card">
<view class="card-tit"> <view class="card-tit">
供应商位置 经销商位置
</view> </view>
<!-- #ifdef APP-PLUS --> <!-- #ifdef APP-PLUS -->
<view @click="getLocation" <view @click="getLocation"
@ -482,7 +482,7 @@
if (this.formData.data_json) { if (this.formData.data_json) {
delete this.formData.data_json delete this.formData.data_json
} }
this.formData.is_merchant_type = 2 this.formData.is_merchant_type = 1
applysApi({ applysApi({
...this.formData ...this.formData
}).then(ress => { }).then(ress => {

View File

@ -7,7 +7,7 @@
报价列表 报价列表
</view> </view>
<view :class="{act: tabIndex==2}" @click="changeTabs(2)"> <view :class="{act: tabIndex==2}" @click="changeTabs(2)">
报价记录{{tabIndex}} 报价记录
</view> </view>
</view> </view>
<view style="height: 8rpx;" /> <view style="height: 8rpx;" />
@ -29,7 +29,7 @@
</view> </view>
<view class="card-content-r"> <view class="card-content-r">
<view class="title ellipsis"> <view class="title ellipsis">
{{item.goods.name}} {{item.goods.goods_name}}
</view> </view>
<view class="need"> <view class="need">
需求量 {{item.need_num}}{{item.goods.unit_name}} 需求量 {{item.need_num}}{{item.goods.unit_name}}
@ -86,8 +86,7 @@
date: "", date: "",
successPng: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/739c3202405071458553459.png', successPng: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/739c3202405071458553459.png',
errPng: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/04c2c202405071501462462.png', errPng: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/04c2c202405071501462462.png',
waitPng: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/274ad202405111523222891.png' waitPng: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/274ad202405111523222891.png',
} }
}, },
methods: { methods: {
@ -148,7 +147,7 @@
let res = await OpurchaseGoodsOfferApi({ let res = await OpurchaseGoodsOfferApi({
data: data data: data
}) })
this.getLists(2) this.getLists(1)
} }
}, },
onLoad(option) { onLoad(option) {