@kmkf-fe-packages/services-components 2.2.13-beta.11 → 2.2.13-beta.12

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.
@@ -1503,7 +1503,15 @@ var GoodHeaderMap = {
1503
1503
  component: BsHeaderChild,
1504
1504
  name: "是否组合装",
1505
1505
  key: "bfit",
1506
- width: 150
1506
+ width: 150,
1507
+ transformValue: function transformValue(val) {
1508
+ if (isNull(val)) return "--";
1509
+ return val === "True" ? "是" : "否";
1510
+ },
1511
+ renderExport: function renderExport(val) {
1512
+ if (isNull(val)) return "--";
1513
+ return val === "True" ? "是" : "否";
1514
+ }
1507
1515
  },
1508
1516
  combinationName: {
1509
1517
  component: BsHeaderChild,
@@ -1521,7 +1529,15 @@ var GoodHeaderMap = {
1521
1529
  component: BsHeaderChild,
1522
1530
  name: "是否赠品",
1523
1531
  key: "gift",
1524
- width: 150
1532
+ width: 150,
1533
+ transformValue: function transformValue(val) {
1534
+ if (isNull(val)) return "--";
1535
+ return val === "1" ? "是" : "否";
1536
+ },
1537
+ renderExport: function renderExport(val) {
1538
+ if (isNull(val)) return "--";
1539
+ return val === "1" ? "是" : "否";
1540
+ }
1525
1541
  },
1526
1542
  skuNote: {
1527
1543
  component: BsHeaderChild,
@@ -1531,13 +1547,13 @@ var GoodHeaderMap = {
1531
1547
  }
1532
1548
  },
1533
1549
  itemKey: {
1534
- goodsName: "货品名称",
1535
- goodsCode: "货品编号",
1536
- goodsId: "货品ID",
1550
+ // goodsName: "货品名称",
1551
+ // goodsCode: "货品编号",
1552
+ // goodsId: "货品ID",
1537
1553
  goodsClass: "货品类别",
1538
1554
  code: "条码",
1539
- specName: "规格名称",
1540
- specCode: "规格编号",
1555
+ // specName: "规格名称",
1556
+ // specCode: "规格编号",
1541
1557
  specId: "规格ID",
1542
1558
  productName: "系统商品名称",
1543
1559
  productCode: "系统商品编码",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.2.13-beta.11",
3
+ "version": "2.2.13-beta.12",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "08f751ed4f907685178ea27d4fba6111a4b42f48",
44
+ "gitHead": "227d75be5af0b62e72e71f663f54ba606991d4a8",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }