jufubao-admin-library 1.1.18 → 1.1.19-beta1

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.
@@ -152,6 +152,7 @@ export default {
152
152
  * 规则类表单 创建公共项
153
153
  */
154
154
  getFormList (params) {
155
+ console.log(params,params.sale_num && params.sale_num.start,'getFormList');
155
156
  //电影初始化表单
156
157
  if (this.isMovie) return this.getMCFormList(params)
157
158
  return [
@@ -388,6 +389,33 @@ export default {
388
389
  EPlaceholder: '最高折扣值',
389
390
  },
390
391
  },
392
+ this.checkConfig('sale_num')&&{
393
+ label: '按销量:',
394
+ ele: 'xd-input-range',
395
+ valueKey: 'sale_num',
396
+ value: {
397
+ type: params.sale_num && params.sale_num.type,
398
+ start: params.sale_num && params.sale_num.start,
399
+ end: params.sale_num && params.sale_num.end,
400
+ },
401
+ disabled: false,
402
+ setting: {
403
+ unit: '%',
404
+ selectWidth: '220px',
405
+ selectMultiple: false,
406
+ selectPlaceholder: '请选择',
407
+ select: [],
408
+ },
409
+ maps: {
410
+ start: 'start',
411
+ end: 'end',
412
+ select: 'type'
413
+ },
414
+ placeholder: {
415
+ SPlaceholder: '最低折扣值',
416
+ EPlaceholder: '最高折扣值',
417
+ },
418
+ },
391
419
  this.checkConfig('is_push_gift') && {
392
420
  label: '是否推送至礼包:',
393
421
  ele: 'xd-radio',
@@ -727,6 +755,33 @@ export default {
727
755
  EPlaceholder: '最高价格',
728
756
  },
729
757
  },
758
+ this.checkConfig('sale_num')&&{
759
+ label: '按销量:',
760
+ ele: 'xd-input-range',
761
+ valueKey: 'sale_num',
762
+ value: {
763
+ type: params.sale_num && params.sale_num.type,
764
+ start: params.sale_num && params.sale_num.start,
765
+ end: params.sale_num && params.sale_num.end,
766
+ },
767
+ disabled: false,
768
+ setting: {
769
+ unit: '%',
770
+ selectWidth: '220px',
771
+ selectMultiple: false,
772
+ selectPlaceholder: '请选择',
773
+ select: [],
774
+ },
775
+ maps: {
776
+ start: 'start',
777
+ end: 'end',
778
+ select: 'type'
779
+ },
780
+ placeholder: {
781
+ SPlaceholder: '最低折扣值',
782
+ EPlaceholder: '最高折扣值',
783
+ },
784
+ },
730
785
  {
731
786
  label: '时间段:', //label
732
787
  ele: 'xd-date-range', //package 名称
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-admin-library",
3
- "version": "1.1.18",
3
+ "version": "1.1.19-beta1",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {