jufubao-admin-library 1.1.77 → 1.1.79

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.
@@ -952,6 +952,24 @@ export default {
952
952
  { required: true, message: '请输入数值', trigger: 'blur' },
953
953
  ],
954
954
  },
955
+ {
956
+ label: '小数点保留位数:',
957
+ ele: 'xd-select-list',
958
+ valueKey: 'price_bit',
959
+ value: params.price_bit || 2,
960
+ placeholder: '请选择小数点保留位数',
961
+ multiple: false,
962
+ list: [
963
+ { "label": "零位", "value": -1 },
964
+ { "label": "一位", "value": 1 },
965
+ { "label": "两位", "value": 2 },
966
+ ],
967
+ rules: [{
968
+ required: true,
969
+ message: '请选择小数点保留位数',
970
+ trigger: 'blur'
971
+ }],
972
+ },
955
973
  ].filter(i => i)
956
974
  },
957
975
 
@@ -433,7 +433,6 @@ export default {
433
433
  this.detailTips = res.data['formula'];
434
434
  this.detailCard = res.data['card_number']
435
435
  this.dialogTableVisible = true;
436
- this.rePriceKey = Date.now();
437
436
  loading.close()
438
437
  })
439
438
  .catch(err=>{
@@ -567,6 +566,7 @@ export default {
567
566
  });
568
567
  this.total = res.data.total_size;
569
568
  this.totalData = res1.data;
569
+ this.rePriceKey = Date.now();
570
570
  })
571
571
  .catch((err) => {
572
572
  loading.close();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-admin-library",
3
- "version": "1.1.77",
3
+ "version": "1.1.79",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {