xuxueyang
2024-08-06 623859790a3f074c103c792e5eaca33b199dbb91
sub_pages/customer/trade/list.vue
@@ -216,7 +216,8 @@
               levelStr: '',
               level: '',
               column: '',
               params: [],
               params: [],
               supplierName:'',
               columnStr: '',
            },
            categoryInfo: {},
@@ -241,7 +242,7 @@
         var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO &&
            that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || ''
         var url =
            `/sub_pages/customer/trade/list?categoryId=${this.query.category}&zoneId=${this.query.zoneId}&name=${this.query.name}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
            `/sub_pages/customer/trade/list?categoryId=${this.query.category}&zoneId=${this.query.zoneId}&name=${this.query.name}&supplierName=${this.query.supplierName}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
         return {
            title: "花满芫-商品列表",
            path: url,
@@ -252,7 +253,7 @@
         var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO &&
            that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || ''
         var url =
            `/sub_pages/customer/trade/list?categoryId=${this.query.category}&zoneId=${this.query.zoneId}&name=${this.query.name}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
            `/sub_pages/customer/trade/list?categoryId=${this.query.category}&zoneId=${this.query.zoneId}&name=${this.query.name}&supplierName=${this.query.supplierName}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
         return {
            title: "花满芫-商品列表",
            path: url,
@@ -264,11 +265,19 @@
         console.log('options', options)
         this.query.category = options.categoryId || options.category || ''
         this.query.zoneId = options.zoneId || ''
         this.query.name = options.name || ''
         this.query.name = options.name || ''
         this.query.supplierName = options.supplierName || ''
         if (this.query.name) {
            uni.setNavigationBarTitle({
               title: '商品列表-' + this.query.name
            })
         }
         if (this.query.supplierName) {
            uni.setNavigationBarTitle({
               title: '商品列表-' + this.query.supplierName
            })
         }
         this.listApi = '/api/customer/flower/list'
         this.getList('post')