Commit 02c6b34b authored by youjie's avatar youjie

图 bug

parent cb47a162
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
style="padding: 10px 0;" placeholder="请填写联系人" placeholder-style="color:#CECECE;"> style="padding: 10px 0;" placeholder="请填写联系人" placeholder-style="color:#CECECE;">
</view> </view>
<view class="bottom-border"> <view class="bottom-border">
<view class="label-text">品牌简介</view> <view class="label-text">联系人电话</view>
<input type="text" v-model="model.ContactPhone" <input type="text" v-model="model.ContactPhone"
style="padding: 10px 0;" placeholder="请填写联系人电话" placeholder-style="color:#CECECE;"> style="padding: 10px 0;" placeholder="请填写联系人电话" placeholder-style="color:#CECECE;">
</view> </view>
...@@ -429,7 +429,7 @@ ...@@ -429,7 +429,7 @@
// this.model.XinFeng = data.XinFeng?data.XinFeng:1; // this.model.XinFeng = data.XinFeng?data.XinFeng:1;
// this.model.IsInChengdu = data.IsInChengdu?data.IsInChengdu:0; // this.model.IsInChengdu = data.IsInChengdu?data.IsInChengdu:0;
// this.model.CategoryId = data.CategoryId?data.CategoryId:''; // this.model.BrandClassId= data.CategoryId?data.CategoryId:'';
// this.model.RanQiBZ = data.RanQiBZ?data.RanQiBZ:''; // this.model.RanQiBZ = data.RanQiBZ?data.RanQiBZ:'';
// this.model.IsDianLiang = data.IsDianLiang? data.IsDianLiang:1; // this.model.IsDianLiang = data.IsDianLiang? data.IsDianLiang:1;
// this.model.PaiYanBZ = data.PaiYanBZ?data.PaiYanBZ:''; // this.model.PaiYanBZ = data.PaiYanBZ?data.PaiYanBZ:'';
...@@ -650,7 +650,7 @@ ...@@ -650,7 +650,7 @@
clickItem(x) {//类型选择 clickItem(x) {//类型选择
if(this.showType==1){ if(this.showType==1){
this.BrandClassName = x.ClassName; this.BrandClassName = x.ClassName;
this.model.CategoryId = x.ID; this.model.BrandClassId= x.ID;
this.showTypeStatus=false this.showTypeStatus=false
}else { }else {
let list = this.model.PropertyDemandList.filter(y=>{ let list = this.model.PropertyDemandList.filter(y=>{
...@@ -672,7 +672,6 @@ ...@@ -672,7 +672,6 @@
}) })
}, },
brandchildren(Id){//主页面调取方法 brandchildren(Id){//主页面调取方法
this.request2({ this.request2({
url: "/api/AppletTrade/GetBrandDetailsForCompany", url: "/api/AppletTrade/GetBrandDetailsForCompany",
data: {ID:Id}, data: {ID:Id},
...@@ -707,7 +706,7 @@ ...@@ -707,7 +706,7 @@
this.model.KongTiao = data.KongTiao; this.model.KongTiao = data.KongTiao;
this.model.XinFeng = data.XinFeng; this.model.XinFeng = data.XinFeng;
this.model.IsInChengdu = data.IsInChengdu; this.model.IsInChengdu = data.IsInChengdu;
this.model.CategoryId = data.CategoryId; this.model.BrandClassId= data.CategoryId;
this.model.RanQiBZ = data.RanQiBZ; this.model.RanQiBZ = data.RanQiBZ;
this.model.IsDianLiang = data.IsDianLiang; this.model.IsDianLiang = data.IsDianLiang;
this.model.PaiYanBZ = data.PaiYanBZ; this.model.PaiYanBZ = data.PaiYanBZ;
...@@ -727,7 +726,7 @@ ...@@ -727,7 +726,7 @@
}) })
} }
this.BrandClassList.forEach(x=>{ this.BrandClassList.forEach(x=>{
if(this.model.CategoryId == x.ID){ if(this.model.BrandClassId== x.ID){
this.BrandClassName = x.ClassName; this.BrandClassName = x.ClassName;
} }
}) })
...@@ -737,7 +736,7 @@ ...@@ -737,7 +736,7 @@
}, },
brandSubmit(){ brandSubmit(){
if(this.model.CategoryId == ''){ if(this.model.BrandClassId== ''){
uni.showToast({title: '请选择品牌分类',icon: 'none',}) uni.showToast({title: '请选择品牌分类',icon: 'none',})
return return
} }
......
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
<view slot="addBtn" class="slot-btn" v-if="disabled == false"> <view slot="addBtn" class="slot-btn" v-if="disabled == false">
<image <image
class="image" class="image"
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1616498310000_18.png" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/ybminiappimg.png"
mode="widthFix" mode="widthFix"
></image> ></image>
</view> </view>
...@@ -514,8 +514,8 @@ export default { ...@@ -514,8 +514,8 @@ export default {
this.datas.IsComplete != undefined this.datas.IsComplete != undefined
) { ) {
//判断是否填写过了 //判断是否填写过了
this.model = this.datas.CarrierModel this.model = this.datas.buildingApplyForModel
let data = this.datas.CarrierModel; let data = this.datas.buildingApplyForModel;
// this.model = this.datas.CarrierModel // this.model = this.datas.CarrierModel
if (this.model.BannerList && this.model.BannerList.length > 0) { if (this.model.BannerList && this.model.BannerList.length > 0) {
......
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
<view slot="addBtn" class="slot-btn" @click="disabled ? '' : upvideo()"> <view slot="addBtn" class="slot-btn" @click="disabled ? '' : upvideo()">
<image <image
class="image" class="image"
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/1616573063000_398.png" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/ybminiappvideo.png"
mode="widthFix" mode="widthFix"
></image> ></image>
</view> </view>
...@@ -621,7 +621,7 @@ export default { ...@@ -621,7 +621,7 @@ export default {
this.datas.IsComplete != undefined this.datas.IsComplete != undefined
) { ) {
//判断是否填写过了 //判断是否填写过了
this.model = this.datas.CarrierModel this.model = this.datas.EnterpriseServicesModel
if (this.model.BannerList && this.model.BannerList.length > 0) { if (this.model.BannerList && this.model.BannerList.length > 0) {
this.model.BannerList.forEach((x) => { this.model.BannerList.forEach((x) => {
......
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
</view> </view>
<view @click="disabled?'':uploadcard()"> <view @click="disabled?'':uploadcard()">
<view slot="addBtn" class="slot-btn" v-if="model.Logo==''" > <view slot="addBtn" class="slot-btn" v-if="model.Logo==''" >
<image class="image" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1616498310000_18.png" mode="widthFix"></image> <image class="image" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/ybminiappimg.png" mode="widthFix"></image>
</view> </view>
<view class="slot-btn" v-if="model.Logo!=''" @click="disabled?previewImage([model.Logo],1):''"> <view class="slot-btn" v-if="model.Logo!=''" @click="disabled?previewImage([model.Logo],1):''">
<image style="width: 220rpx;height: 220rpx;" :src="model.Logo" mode="aspectFill"></image> <image style="width: 220rpx;height: 220rpx;" :src="model.Logo" mode="aspectFill"></image>
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
<view> <view>
<u-upload :action="action" :max-count="9" :max-size="2*1024*1024" :deletable='!disabled' :file-list="fileList" @on-remove="onRemove1" :custom-btn="true" @on-success="uploadSuccessHandler"> <u-upload :action="action" :max-count="9" :max-size="2*1024*1024" :deletable='!disabled' :file-list="fileList" @on-remove="onRemove1" :custom-btn="true" @on-success="uploadSuccessHandler">
<view slot="addBtn" class="slot-btn" v-if='disabled==false'> <view slot="addBtn" class="slot-btn" v-if='disabled==false'>
<image class="image" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1616498310000_18.png" mode="widthFix"></image> <image class="image" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/ybminiappimg.png" mode="widthFix"></image>
</view> </view>
</u-upload> </u-upload>
</view> </view>
...@@ -452,11 +452,11 @@ ...@@ -452,11 +452,11 @@
this.model.CompanyId = this.datas.CompanyId this.model.CompanyId = this.datas.CompanyId
if(this.datas.CompanyStatus!=undefined && this.datas.IsComplete != undefined){//判断是否填写过了 if(this.datas.CompanyStatus!=undefined && this.datas.IsComplete != undefined){//判断是否填写过了
this.model = this.datas.BrandModel this.model = this.datas.EnterpriseServicesModel
this.model.CompanyId = this.datas.CompanyId this.model.CompanyId = this.datas.CompanyId
let data = this.datas.EnterpriseServicesModel
this.glBrandName = data.BrandName this.glBrandName = data.Name
if(this.model.BannerList && this.model.BannerList.length>0){ if(this.model.BannerList && this.model.BannerList.length>0){
this.model.BannerList.forEach(x=>{ this.model.BannerList.forEach(x=>{
let obj ={ let obj ={
......
...@@ -286,7 +286,7 @@ export default { ...@@ -286,7 +286,7 @@ export default {
goodsType: [], //商品性质 goodsType: [], //商品性质
goodsTypeValue: "", goodsTypeValue: "",
businessLicenseDemo: businessLicenseDemo:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/upLoadDemo.png", //营业执照占位图片 "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/ybminiappupbg.png", //营业执照占位图片
businessLicenseUploadIsSuccess: false, //营业执照是否上传成功 businessLicenseUploadIsSuccess: false, //营业执照是否上传成功
access_token: "", //百度ai平台token access_token: "", //百度ai平台token
dataOne: { dataOne: {
...@@ -504,7 +504,7 @@ export default { ...@@ -504,7 +504,7 @@ export default {
stepOne() { stepOne() {
this.dataOne.FirstShopType = this.ChooseidentityId; this.dataOne.FirstShopType = this.ChooseidentityId;
let parms = { let parms = {
url: "/api/AppletTrade/SetCompany", url: "/api/AppletTrade/SetCompanyEnterprise",
data: this.dataOne, data: this.dataOne,
}; };
this.request2(parms, (res) => { this.request2(parms, (res) => {
......
...@@ -313,9 +313,9 @@ export default { ...@@ -313,9 +313,9 @@ export default {
this.replace = uni.getStorageSync('replace_page_index') this.replace = uni.getStorageSync('replace_page_index')
this.msg.BrandEnterpriseType = this.replace.state=='1'?1:2 this.msg.BrandEnterpriseType = this.replace.state=='1'?1:2
// if (options && options.id) { if (options && options.id) {
// this.msg.BrandClassId = options.id; this.msg.BrandClassId = options.id;
// } }
// this.u = uni.getStorageSync("mall_UserInfo"); // this.u = uni.getStorageSync("mall_UserInfo");
// if (!this.u) { // if (!this.u) {
// this.u = { // this.u = {
......
...@@ -405,8 +405,8 @@ export default { ...@@ -405,8 +405,8 @@ export default {
this.msg.BuildingCarrierType = this.replace.state=='1'?1:2 this.msg.BuildingCarrierType = this.replace.state=='1'?1:2
if (options && options.id) { if (options && options.id) {
// if(this.TenantId==18) this.msg.ProjectType = options.id; this.msg.ProjectType = options.id;
// else this.msg.CategoryId = options.id this.msg.CategoryId = options.id
} }
let c = this.$uiConfig.is_bang ? 78 : 50; let c = this.$uiConfig.is_bang ? 78 : 50;
this.contentHeight = this.$utils.calcContentHeight(c) + 40; this.contentHeight = this.$utils.calcContentHeight(c) + 40;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment