|
|
@@ -2,7 +2,7 @@
|
|
|
<view class="billing_box_bg">
|
|
|
<view class="input-wrap">
|
|
|
<view class="search-bar">
|
|
|
- <app-search-module v-model="py" placeholder="输字母找,如小菊 xj" @input="searchFn"/>
|
|
|
+ <app-search-module v-model="py" placeholder="找小菊请输xj" @input="searchFn"/>
|
|
|
</view>
|
|
|
<view style="padding:0 0upx 0 20upx;" >
|
|
|
<button class="admin-button-com middle blue" style="margin-right:10upx;" @click="downloadTable()">价格表</button>
|
|
|
@@ -19,7 +19,7 @@
|
|
|
@scroll="scroll_detail"
|
|
|
lower-threshold="100"
|
|
|
@scrolltolower="scroll_bottom">
|
|
|
- <!--内容部分 start -->
|
|
|
+ <!--内容部分-->
|
|
|
<block v-if="!$util.isEmpty(filterProductInfo)">
|
|
|
<view class="item_list_bx selectAll" v-for="(classItem, classIndex) in filterProductInfo" :key="classIndex" :id="`class_${classIndex}`">
|
|
|
<view class="item_list_title" v-if="!$util.isEmpty(classItem.child)"> {{ classItem.className }}</view>
|
|
|
@@ -35,8 +35,6 @@
|
|
|
<app-wrapper-empty title="暂无数据" :is-empty="$util.isEmpty(filterProductInfo)"/>
|
|
|
</view>
|
|
|
</block>
|
|
|
- <!--内容部分 end -->
|
|
|
-
|
|
|
</scroll-view>
|
|
|
</view>
|
|
|
|
|
|
@@ -99,7 +97,6 @@ export default {
|
|
|
itemList: levelList,
|
|
|
success: function (respond) {
|
|
|
level = respond.tapIndex
|
|
|
-
|
|
|
uni.showLoading({title:'下载中',mask:true})
|
|
|
generatePriceTable({level:level}).then(res => {
|
|
|
if(res.code == 1){
|
|
|
@@ -129,9 +126,6 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
})
|
|
|
|
|
|
@@ -140,18 +134,18 @@ export default {
|
|
|
let that = this
|
|
|
console.log('admin/ghsProduct/detail?shopId='+ that.loginInfo.shopId+'&id=0&ghsShopAdminId='+that.loginInfo.shopAdminId+'&id='+id)
|
|
|
uni.navigateToMiniProgram({
|
|
|
- //姜枫-2021.04.13
|
|
|
- appId: that.getAppIdList.hd.miniAppId,
|
|
|
- path: 'admin/ghsProduct/detail?shopId='+ that.loginInfo.shopId+'&ghsShopAdminId='+that.loginInfo.shopAdminId+'&id='+id,
|
|
|
- //develop 开发版 trial 体验版 release 正式版
|
|
|
- envVersion: process.env.NODE_ENV === 'development' ? 'develop' : 'release',
|
|
|
- extraData: {
|
|
|
- 'shopId': that.loginInfo.shopId,
|
|
|
- 'id': 0,
|
|
|
- 'name':'',
|
|
|
- },
|
|
|
- success (res) {
|
|
|
- }
|
|
|
+ //姜枫-2021.04.13
|
|
|
+ appId: that.getAppIdList.hd.miniAppId,
|
|
|
+ path: 'admin/ghsProduct/detail?shopId='+ that.loginInfo.shopId+'&ghsShopAdminId='+that.loginInfo.shopAdminId+'&id='+id,
|
|
|
+ //develop 开发版 trial 体验版 release 正式版
|
|
|
+ envVersion: process.env.NODE_ENV === 'development' ? 'develop' : 'release',
|
|
|
+ extraData: {
|
|
|
+ 'shopId': that.loginInfo.shopId,
|
|
|
+ 'id': 0,
|
|
|
+ 'name':'',
|
|
|
+ },
|
|
|
+ success (res) {
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
affirm(val) {
|
|
|
@@ -177,17 +171,13 @@ export default {
|
|
|
this.filterProductInfoContrapose = [];
|
|
|
this.page = 1;
|
|
|
this.isMore = true;
|
|
|
- },
|
|
|
+ },
|
|
|
selectSussess(val) {
|
|
|
- uni.showLoading({
|
|
|
- title: "加载中"
|
|
|
- });
|
|
|
+ uni.showLoading({ title: "加载中" })
|
|
|
this.initProductInfo();
|
|
|
let type = "";
|
|
|
this.shopId = val.selectItem.id;
|
|
|
-
|
|
|
this.initData({ type, shopId: this.shopId });
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
@@ -311,4 +301,4 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|