界面修改

This commit is contained in:
jia 2023-09-13 18:52:42 +08:00
parent caa3e35b3e
commit fc740a71e8
4 changed files with 23 additions and 6 deletions

View File

@ -253,9 +253,7 @@
mounted() { mounted() {
this.getUserInfo() this.getUserInfo()
uni.onNetworkStatusChange((res) => {
console.log(res, res.networkType)
});
this.selfLocation() this.selfLocation()
// #ifdef H5 // #ifdef H5
// //

View File

@ -102,6 +102,19 @@
</view> </view>
</view> </view>
</view> </view>
<view class="item">
<view class="uni-list">
<view class="uni-list-cell">
<view class="uni-list-cell-db acea-row row-middle">
<text class="item-name businessBox">社会信用代码</text>
<input type="text" maxlength="30" placeholder="请输入社会信用代码"
v-model="merchantData.social_credit_code" @input="validateBtn"
placeholder-class='placeholder' />
</view>
</view>
</view>
</view>
<!-- <view class="item"> <!-- <view class="item">
<view class="acea-row row-middle"> <view class="acea-row row-middle">
<text class="item-name">是否农贸市场</text> <text class="item-name">是否农贸市场</text>
@ -230,7 +243,8 @@
enterprise_name: "", enterprise_name: "",
user_name: "", user_name: "",
phone: "", phone: "",
classification: '' classification: '',
social_credit_code: '',
}, },
validate: false, validate: false,
successful: false, successful: false,
@ -374,6 +388,7 @@
this.merchantData.enterprise_name = resData.mer_name this.merchantData.enterprise_name = resData.mer_name
this.merchantData.user_name = resData.name this.merchantData.user_name = resData.name
this.merchantData.phone = resData.phone this.merchantData.phone = resData.phone
this.merchantData.social_credit_code=resData.social_credit_code
this.merchantData.classification = resData.merchant_category_id this.merchantData.classification = resData.merchant_category_id
this.merchantData.mer_type = resData.mer_type_id this.merchantData.mer_type = resData.mer_type_id
this.area_id=resData.area_id this.area_id=resData.area_id
@ -594,6 +609,7 @@
mer_name: that.merchantData.enterprise_name, mer_name: that.merchantData.enterprise_name,
name: that.merchantData.user_name, name: that.merchantData.user_name,
code: that.merchantData.yanzhengma, code: that.merchantData.yanzhengma,
social_credit_code: that.merchantData.social_credit_code,
merchant_category_id: that.merchantData.classification, merchant_category_id: that.merchantData.classification,
mer_type_id: that.merchantData.mer_type, mer_type_id: that.merchantData.mer_type,
mer_storeType:this.mer_storeType, mer_storeType:this.mer_storeType,
@ -666,6 +682,9 @@
if (!value.enterprise_name) return that.$util.Tips({ if (!value.enterprise_name) return that.$util.Tips({
title: '请输入企业名称' title: '请输入企业名称'
}); });
if (!value.social_credit_code) return that.$util.Tips({
title: '请输入统一社会信用代码'
});
if (!value.user_name) return that.$util.Tips({ if (!value.user_name) return that.$util.Tips({
title: '请输入姓名' title: '请输入姓名'
}); });

View File

@ -117,7 +117,7 @@ const actions = {
} else { } else {
apptype = 1 apptype = 1
} }
console.log(os)
Appversion({ Appversion({
version: os.appWgtVersion, version: os.appWgtVersion,
type: apptype type: apptype