This commit is contained in:
weipengfei 2024-01-04 18:55:15 +08:00
parent edf84fd9f4
commit 027e0a0856
4 changed files with 35 additions and 8 deletions
manifest.json
pages
gather
nongKe/cloud_entrepot
store/settled

@ -2,8 +2,8 @@
"name" : "惠农生活",
"appid" : "__UNI__3A527D1",
"description" : "",
"versionName" : "1.6.9",
"versionCode" : 169,
"versionName" : "1.7.0",
"versionCode" : 170,
"transformPx" : false,
/* 5+App */
"app-plus" : {

@ -164,13 +164,13 @@
},
created() {},
onLoad() {
this.initAllAppLet();
this.Area();
},
onShow() {
if (this.isLogin) {
this.emptyText = '暂无可用应用'
this.jurisdiction = false
this.initAllAppLet();
} else {
this.emptyText = '请登录'
this.jurisdiction = true

@ -126,7 +126,7 @@
<!-- 购物车 -->
<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="cart" style="position: relative;z-index: 9999999;">
<u--image :showLoading="true" src="/static/images/LHYC/GWC.png" width="63.09rpx"
@ -773,7 +773,7 @@
cartFn() {
getCartList({
source: 103,
product_type: 98
// product_type: 98
}).then(res => {
this.totalMoney = 0
this.cartList = res.data.list
@ -786,7 +786,7 @@
})
getCartCounts({
source: 103,
product_type: 98
// product_type: 98
}).then(res => {
this.goodsNum = res.data[0].count
})

@ -115,7 +115,7 @@
</view>
</view>
</view>
<view class="item">
<!-- <view class="item">
<view class="uni-list">
<view class="uni-list-cell">
<view class="uni-list-cell-db acea-row row-middle">
@ -126,6 +126,24 @@
</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 class="item no-border">
<view class='acea-row row-middle'>
@ -384,10 +402,12 @@ import { Toast } from '../../../libs/uniApi';
index1: 0,
index2: [0, 0, 0],
mer_classification: "",
nature_business: 0,
array: [{
category_name: '',
merchant_category_id: ''
}],
companyTypeList: ['对公户', '个体户'],
bindPickerChangeidx: [],
storeTypeArr: [{
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) {
// console.log(e.detail);
// this.index = e.target.value[1];
@ -926,6 +950,7 @@ import { Toast } from '../../../libs/uniApi';
social_credit_code: that.merchantData.social_credit_code,
merchant_category_id: that.merchantData.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_storeType: this.mer_storeType,
area_id: this.area_id,
@ -1105,7 +1130,9 @@ import { Toast } from '../../../libs/uniApi';
if (!this.mer_classification) return that.$util.Tips({
title: '请选择商户分类'
});
if (!this.nature_business) return that.$util.Tips({
title: '请选择公司性质'
})
if (!this.mer_storeType) return that.$util.Tips({
title: '请选择店铺类型'
})