xuxueyang
2024-07-29 11f7661538f75c2d4eefd32408eba6dc0d77052b
sub_pages/customer/trade/list.vue
@@ -133,13 +133,14 @@
               </view>
            </view>
            <view class="button-space"></view>
            <view class="button-space"></view>
            <view class="button-green" style="background-color: #fff;bottom: 160rpx;color: #000"
               @click="closeParamPopAndQuery">
               查询
            <view>
               <view class="button-green" style="background-color: #fff;border: 2rpx solid #666; color: #666;width: 200rpx;left: 40rpx;right: unset;"
                  @click="closeParamPopAndQuery">
                  查询
               </view>
               <view class="button-green"  style="width: 200rpx;right: 40rpx;left: unset;" @click="closeParamPop">关闭</view>
            </view>
            <view class="button-green" @click="closeParamPop">关闭</view>
         </view>
      </uni-popup>
@@ -184,6 +185,11 @@
         this.query.category = options.categoryId || ''
         this.query.zoneId = options.zoneId || ''
         this.query.name = options.name || ''
         if(this.query.name){
            uni.setNavigationBarTitle({
               title:'商品列表-'+this.query.name
            })
         }
         this.listApi = '/api/customer/flower/list'
         this.getList('post')
         this.$http.request('get', '/api/code/value', {
@@ -253,13 +259,13 @@
         },
         closeParamPopAndQuery() {
            this.$refs.popup_param.close()
            //设置参数
            this.dto.params = []
            for (var params of this.params) {
               if (params.value) {
                  this.dto.params.push({
                     id: params.id,
                     value: params.value
            //设置参数
            this.query.params = []
            for (var param of this.params) {
               if (param.value) {
                  this.query.params.push({
                     id: param.id,
                     value: param.value
                  })
               }
            }