jufubao-admin-library 1.1.20 → 1.1.21

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.
@@ -22,6 +22,14 @@
22
22
  <template slot="volume" slot-scope="inScope">
23
23
  {{$xdHelper.divisionFloatNumber(inScope.row.volume, 100)}}m³
24
24
  </template>
25
+ <template slot="jfb_price_ratio" slot-scope="inScope">
26
+ <div>货源:<span class="red">{{$xdHelper.divisionFloatNumber(inScope.row.purchase_div_jfb_discount_ratio, 1000)}}</span>折</div>
27
+ <div v-if="inScope.row.dist_div_jfb_discount_ratio">平台:<span class="red">{{$xdHelper.divisionFloatNumber(inScope.row.dist_div_jfb_discount_ratio, 1000)}}</span>折</div>
28
+ </template>
29
+ <template slot="market_price_ratio" slot-scope="inScope">
30
+ <div>货源:<span class="red">{{$xdHelper.divisionFloatNumber(inScope.row.purchase_div_market_discount_ratio, 1000)}}</span>折</div>
31
+ <div v-if="inScope.row.dist_div_market_discount_ratio">平台:<span class="red">{{$xdHelper.divisionFloatNumber(inScope.row.dist_div_market_discount_ratio, 1000)}}</span>折</div>
32
+ </template>
25
33
  </xd-table>
26
34
  </div>
27
35
  </template>
@@ -40,7 +48,9 @@
40
48
  {"type": "normal", "prop": "stands", "align": "left", "min-width": 200, "label": "规格"},
41
49
  {"type": "price", "prop": "purchase_price", "align": "center", "min-width": 80, "label": purchase_price_name},
42
50
  {"type": "price", "prop": "jfb_price", "align": "center", "min-width": 80, "label": "建议零售价"},
51
+ {"type": "price", "prop": "jfb_price_ratio", "align": "left", "min-width": 120, "label": "建议售价折扣"},
43
52
  {"type": "price", "prop": "market_price", "align": "center", "min-width": 80, "label": "市场价"},
53
+ {"type": "price", "prop": "market_price_ratio", "align": "left", "min-width": 120, "label": "市场价折扣"},
44
54
  {"type": "normal", "prop": "init_num", "align": "left", "min-width": 80, "label": "库存"},
45
55
  {"type": "normal", "prop": "weight", "align": "left", "min-width": 80, "label": "重量"},
46
56
  {"type": "normal", "prop": "volume", "align": "left", "min-width": 80, "label": "体积"},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-admin-library",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {