更新
This commit is contained in:
parent
edf84fd9f4
commit
027e0a0856
@ -2,8 +2,8 @@
|
|||||||
"name" : "惠农生活",
|
"name" : "惠农生活",
|
||||||
"appid" : "__UNI__3A527D1",
|
"appid" : "__UNI__3A527D1",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.6.9",
|
"versionName" : "1.7.0",
|
||||||
"versionCode" : 169,
|
"versionCode" : 170,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
@ -164,13 +164,13 @@
|
|||||||
},
|
},
|
||||||
created() {},
|
created() {},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.initAllAppLet();
|
|
||||||
this.Area();
|
this.Area();
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
if (this.isLogin) {
|
if (this.isLogin) {
|
||||||
this.emptyText = '暂无可用应用'
|
this.emptyText = '暂无可用应用'
|
||||||
this.jurisdiction = false
|
this.jurisdiction = false
|
||||||
|
this.initAllAppLet();
|
||||||
} else {
|
} else {
|
||||||
this.emptyText = '请登录'
|
this.emptyText = '请登录'
|
||||||
this.jurisdiction = true
|
this.jurisdiction = true
|
||||||
|
@ -126,7 +126,7 @@
|
|||||||
|
|
||||||
<!-- 购物车 -->
|
<!-- 购物车 -->
|
||||||
<view class="card" :style="`bottom:${30}px`"
|
<view class="card" :style="`bottom:${30}px`"
|
||||||
@click="navgo('/pages/order_addcart/order_addcart?product_type=98&source=103')">
|
@click="navgo('/pages/order_addcart/order_addcart?source=103')">
|
||||||
<view class="left">
|
<view class="left">
|
||||||
<view class="cart" style="position: relative;z-index: 9999999;">
|
<view class="cart" style="position: relative;z-index: 9999999;">
|
||||||
<u--image :showLoading="true" src="/static/images/LHYC/GWC.png" width="63.09rpx"
|
<u--image :showLoading="true" src="/static/images/LHYC/GWC.png" width="63.09rpx"
|
||||||
@ -773,7 +773,7 @@
|
|||||||
cartFn() {
|
cartFn() {
|
||||||
getCartList({
|
getCartList({
|
||||||
source: 103,
|
source: 103,
|
||||||
product_type: 98
|
// product_type: 98
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.totalMoney = 0
|
this.totalMoney = 0
|
||||||
this.cartList = res.data.list
|
this.cartList = res.data.list
|
||||||
@ -786,7 +786,7 @@
|
|||||||
})
|
})
|
||||||
getCartCounts({
|
getCartCounts({
|
||||||
source: 103,
|
source: 103,
|
||||||
product_type: 98
|
// product_type: 98
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.goodsNum = res.data[0].count
|
this.goodsNum = res.data[0].count
|
||||||
})
|
})
|
||||||
|
@ -115,7 +115,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<!-- <view class="item">
|
||||||
<view class="uni-list">
|
<view class="uni-list">
|
||||||
<view class="uni-list-cell">
|
<view class="uni-list-cell">
|
||||||
<view class="uni-list-cell-db acea-row row-middle">
|
<view class="uni-list-cell-db acea-row row-middle">
|
||||||
@ -126,6 +126,24 @@
|
|||||||
</view>
|
</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">公司性质</text>
|
||||||
|
<picker @change="natureBusinessChange" mode="selector" :value="index" :range="companyTypeList">
|
||||||
|
<input v-if="nature_business==1" placeholder="请选择公司性质" type="text" readonly disabled
|
||||||
|
value="对公户">
|
||||||
|
<input v-else-if="nature_business==2" placeholder="请选择公司性质" type="text" readonly disabled
|
||||||
|
value="个体户">
|
||||||
|
<input v-else placeholder="请选择公司性质" type="text" readonly disabled
|
||||||
|
value="">
|
||||||
|
<view class='iconfont icon-jiantou'></view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item no-border">
|
<view class="item no-border">
|
||||||
<view class='acea-row row-middle'>
|
<view class='acea-row row-middle'>
|
||||||
@ -384,10 +402,12 @@ import { Toast } from '../../../libs/uniApi';
|
|||||||
index1: 0,
|
index1: 0,
|
||||||
index2: [0, 0, 0],
|
index2: [0, 0, 0],
|
||||||
mer_classification: "",
|
mer_classification: "",
|
||||||
|
nature_business: 0,
|
||||||
array: [{
|
array: [{
|
||||||
category_name: '',
|
category_name: '',
|
||||||
merchant_category_id: ''
|
merchant_category_id: ''
|
||||||
}],
|
}],
|
||||||
|
companyTypeList: ['对公户', '个体户'],
|
||||||
bindPickerChangeidx: [],
|
bindPickerChangeidx: [],
|
||||||
storeTypeArr: [{
|
storeTypeArr: [{
|
||||||
type_name: '',
|
type_name: '',
|
||||||
@ -644,6 +664,10 @@ import { Toast } from '../../../libs/uniApi';
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 选择公司性质
|
||||||
|
natureBusinessChange(e){
|
||||||
|
this.nature_business = this.companyTypeList[e.detail.value]=='个体户'?2:1;
|
||||||
|
},
|
||||||
bindPickerChange: function(e) {
|
bindPickerChange: function(e) {
|
||||||
// console.log(e.detail);
|
// console.log(e.detail);
|
||||||
// this.index = e.target.value[1];
|
// this.index = e.target.value[1];
|
||||||
@ -926,6 +950,7 @@ import { Toast } from '../../../libs/uniApi';
|
|||||||
social_credit_code: that.merchantData.social_credit_code,
|
social_credit_code: that.merchantData.social_credit_code,
|
||||||
merchant_category_id: that.merchantData.classification,
|
merchant_category_id: that.merchantData.classification,
|
||||||
merchant_category_name: that.mer_classification,
|
merchant_category_name: that.mer_classification,
|
||||||
|
is_company: that.nature_business==1?1:0, // 是否是公司, 1是公司, 0是个体
|
||||||
mer_type_id: that.merchantData.mer_type,
|
mer_type_id: that.merchantData.mer_type,
|
||||||
mer_storeType: this.mer_storeType,
|
mer_storeType: this.mer_storeType,
|
||||||
area_id: this.area_id,
|
area_id: this.area_id,
|
||||||
@ -1105,7 +1130,9 @@ import { Toast } from '../../../libs/uniApi';
|
|||||||
if (!this.mer_classification) return that.$util.Tips({
|
if (!this.mer_classification) return that.$util.Tips({
|
||||||
title: '请选择商户分类'
|
title: '请选择商户分类'
|
||||||
});
|
});
|
||||||
|
if (!this.nature_business) return that.$util.Tips({
|
||||||
|
title: '请选择公司性质'
|
||||||
|
})
|
||||||
if (!this.mer_storeType) return that.$util.Tips({
|
if (!this.mer_storeType) return that.$util.Tips({
|
||||||
title: '请选择店铺类型'
|
title: '请选择店铺类型'
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user