jufubao-base 1.0.243-beta207 → 1.0.243-beta209

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.243-beta207",
3
+ "version": "1.0.243-beta209",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -298,6 +298,7 @@
298
298
  }
299
299
  this.productList = product_list.map(item => {
300
300
  item.product_thumb = getServiceUrl(item.product_thumb, 'size2');
301
+ item.max = item.product_num;
301
302
  return item;
302
303
  });
303
304
  this.baseInfo = base_info;
@@ -317,7 +318,7 @@
317
318
  })
318
319
  },
319
320
  toAfterSaleDetail(){
320
- this.$xdUniHelper.navigateTo({
321
+ this.$xdUniHelper.redirectTo({
321
322
  url: `${this.refundStepPath}?service_order_id=${this.last_service_order_id}`,
322
323
  });
323
324
  },
@@ -11,7 +11,7 @@
11
11
  <view class="prod_number">申请数量
12
12
  <xd-number v-if="showNumberSet" style="margin-left: 24rpx;"
13
13
  v-model="item.product_num"
14
- :max="item.product_num"
14
+ :max="item.max"
15
15
  :min="1"
16
16
  @change="update(item)"
17
17
  ></xd-number>
@@ -296,9 +296,8 @@
296
296
  }
297
297
  }).then(res => {
298
298
  this.p_getAfterServiceOrder();
299
- // this.$xdUniHelper.navigateTo({
300
- // url: this.serviceListPath
301
- // })
299
+ }).catch(err => {
300
+ this.p_getAfterServiceOrder();
302
301
  })
303
302
  }
304
303
  else{
@@ -339,6 +339,8 @@
339
339
  }
340
340
  },
341
341
  onJfbShow(options) {
342
+ this.page_token = 1;
343
+ this.getList();
342
344
  // console.log('event.onJfbShow', options)
343
345
  },
344
346
  onJfbHide(options) {
@@ -1062,7 +1062,8 @@ export default {
1062
1062
  custom_content_container_id: this.cid,
1063
1063
  is_show_jhd_code: Number(this.is_show),
1064
1064
  is_show_product: this.is_show_product === "Y" ? 1 : 0,
1065
- version: 'v2'
1065
+ version: 'v2',
1066
+ is_show_after_btn: this.showApplyAfter === 'Y' ? 1 : 0
1066
1067
  },
1067
1068
  })
1068
1069
  .then((res) => {