界面修改
This commit is contained in:
parent
caa3e35b3e
commit
fc740a71e8
2
App.vue
2
App.vue
@ -254,7 +254,7 @@
|
||||
uni.onNetworkStatusChange(function(res) {
|
||||
|
||||
if (res.isConnected) {
|
||||
|
||||
|
||||
uni.reLaunch({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
|
@ -253,9 +253,7 @@
|
||||
mounted() {
|
||||
this.getUserInfo()
|
||||
|
||||
uni.onNetworkStatusChange((res) => {
|
||||
console.log(res, res.networkType)
|
||||
});
|
||||
|
||||
this.selfLocation()
|
||||
// #ifdef H5
|
||||
// 监听页面滚动事件
|
||||
|
@ -102,6 +102,19 @@
|
||||
</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="acea-row row-middle">
|
||||
<text class="item-name">是否农贸市场</text>
|
||||
@ -230,7 +243,8 @@
|
||||
enterprise_name: "",
|
||||
user_name: "",
|
||||
phone: "",
|
||||
classification: ''
|
||||
classification: '',
|
||||
social_credit_code: '',
|
||||
},
|
||||
validate: false,
|
||||
successful: false,
|
||||
@ -374,6 +388,7 @@
|
||||
this.merchantData.enterprise_name = resData.mer_name
|
||||
this.merchantData.user_name = resData.name
|
||||
this.merchantData.phone = resData.phone
|
||||
this.merchantData.social_credit_code=resData.social_credit_code
|
||||
this.merchantData.classification = resData.merchant_category_id
|
||||
this.merchantData.mer_type = resData.mer_type_id
|
||||
this.area_id=resData.area_id
|
||||
@ -594,6 +609,7 @@
|
||||
mer_name: that.merchantData.enterprise_name,
|
||||
name: that.merchantData.user_name,
|
||||
code: that.merchantData.yanzhengma,
|
||||
social_credit_code: that.merchantData.social_credit_code,
|
||||
merchant_category_id: that.merchantData.classification,
|
||||
mer_type_id: that.merchantData.mer_type,
|
||||
mer_storeType:this.mer_storeType,
|
||||
@ -666,6 +682,9 @@
|
||||
if (!value.enterprise_name) return that.$util.Tips({
|
||||
title: '请输入企业名称'
|
||||
});
|
||||
if (!value.social_credit_code) return that.$util.Tips({
|
||||
title: '请输入统一社会信用代码'
|
||||
});
|
||||
if (!value.user_name) return that.$util.Tips({
|
||||
title: '请输入姓名'
|
||||
});
|
||||
|
@ -117,7 +117,7 @@ const actions = {
|
||||
} else {
|
||||
apptype = 1
|
||||
}
|
||||
|
||||
console.log(os)
|
||||
Appversion({
|
||||
version: os.appWgtVersion,
|
||||
type: apptype
|
||||
|
Loading…
x
Reference in New Issue
Block a user