@kmkf-fe-packages/basic-components 2.0.64 → 2.0.65

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/dist/index.esm.js CHANGED
@@ -12293,7 +12293,7 @@ var gyColumns = [{
12293
12293
  }, {
12294
12294
  dataIndex: 'specNo',
12295
12295
  title: 'SKU编码',
12296
- width: 200,
12296
+ width: 150,
12297
12297
  ellipsis: true
12298
12298
  }, {
12299
12299
  dataIndex: 'goodName',
@@ -12304,11 +12304,11 @@ var gyColumns = [{
12304
12304
  dataIndex: 'goodShortName',
12305
12305
  title: "\u5546\u54C1\u7B80\u79F0",
12306
12306
  ellipsis: true,
12307
- width: 250
12307
+ width: 150
12308
12308
  }, {
12309
12309
  dataIndex: 'goodNo',
12310
12310
  title: '商品编码',
12311
- width: 200,
12311
+ width: 150,
12312
12312
  ellipsis: true
12313
12313
  }, {
12314
12314
  dataIndex: 'goodPicUrl',
@@ -14850,6 +14850,10 @@ var getColumns$2 = function getColumns(_ref) {
14850
14850
  label: '组合装',
14851
14851
  value: '2'
14852
14852
  }];
14853
+ var typeMap = {
14854
+ '1': '单品',
14855
+ '2': '组合装'
14856
+ };
14853
14857
  return !disabled ? /*#__PURE__*/React.createElement(Select, {
14854
14858
  style: {
14855
14859
  width: 70
@@ -14859,7 +14863,7 @@ var getColumns$2 = function getColumns(_ref) {
14859
14863
  onChange: function onChange(value) {
14860
14864
  return updateHandle(value, index, 'type');
14861
14865
  }
14862
- }) : /*#__PURE__*/React.createElement("span", null, val);
14866
+ }) : /*#__PURE__*/React.createElement("span", null, typeMap[val]);
14863
14867
  }
14864
14868
  }],
14865
14869
  //旺店通换出商品信息
@@ -14971,6 +14975,10 @@ var getColumns$2 = function getColumns(_ref) {
14971
14975
  label: '组合装',
14972
14976
  value: '2'
14973
14977
  }];
14978
+ var typeMap = {
14979
+ '1': '单品',
14980
+ '2': '组合装'
14981
+ };
14974
14982
  return !disabled ? /*#__PURE__*/React.createElement(Select, {
14975
14983
  style: {
14976
14984
  width: 70
@@ -14980,7 +14988,7 @@ var getColumns$2 = function getColumns(_ref) {
14980
14988
  onChange: function onChange(value) {
14981
14989
  return updateHandle(value, index, 'type');
14982
14990
  }
14983
- }) : /*#__PURE__*/React.createElement("span", null, val);
14991
+ }) : /*#__PURE__*/React.createElement("span", null, typeMap[val]);
14984
14992
  }
14985
14993
  }]
14986
14994
  };
package/dist/index.js CHANGED
@@ -12305,7 +12305,7 @@ var gyColumns = [{
12305
12305
  }, {
12306
12306
  dataIndex: 'specNo',
12307
12307
  title: 'SKU编码',
12308
- width: 200,
12308
+ width: 150,
12309
12309
  ellipsis: true
12310
12310
  }, {
12311
12311
  dataIndex: 'goodName',
@@ -12316,11 +12316,11 @@ var gyColumns = [{
12316
12316
  dataIndex: 'goodShortName',
12317
12317
  title: "\u5546\u54C1\u7B80\u79F0",
12318
12318
  ellipsis: true,
12319
- width: 250
12319
+ width: 150
12320
12320
  }, {
12321
12321
  dataIndex: 'goodNo',
12322
12322
  title: '商品编码',
12323
- width: 200,
12323
+ width: 150,
12324
12324
  ellipsis: true
12325
12325
  }, {
12326
12326
  dataIndex: 'goodPicUrl',
@@ -14862,6 +14862,10 @@ var getColumns$2 = function getColumns(_ref) {
14862
14862
  label: '组合装',
14863
14863
  value: '2'
14864
14864
  }];
14865
+ var typeMap = {
14866
+ '1': '单品',
14867
+ '2': '组合装'
14868
+ };
14865
14869
  return !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
14866
14870
  style: {
14867
14871
  width: 70
@@ -14871,7 +14875,7 @@ var getColumns$2 = function getColumns(_ref) {
14871
14875
  onChange: function onChange(value) {
14872
14876
  return updateHandle(value, index, 'type');
14873
14877
  }
14874
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
14878
+ }) : /*#__PURE__*/React__default['default'].createElement("span", null, typeMap[val]);
14875
14879
  }
14876
14880
  }],
14877
14881
  //旺店通换出商品信息
@@ -14983,6 +14987,10 @@ var getColumns$2 = function getColumns(_ref) {
14983
14987
  label: '组合装',
14984
14988
  value: '2'
14985
14989
  }];
14990
+ var typeMap = {
14991
+ '1': '单品',
14992
+ '2': '组合装'
14993
+ };
14986
14994
  return !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
14987
14995
  style: {
14988
14996
  width: 70
@@ -14992,7 +15000,7 @@ var getColumns$2 = function getColumns(_ref) {
14992
15000
  onChange: function onChange(value) {
14993
15001
  return updateHandle(value, index, 'type');
14994
15002
  }
14995
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
15003
+ }) : /*#__PURE__*/React__default['default'].createElement("span", null, typeMap[val]);
14996
15004
  }
14997
15005
  }]
14998
15006
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.0.64",
3
+ "version": "2.0.65",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -20,7 +20,7 @@
20
20
  "watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/kmkf-utils": "2.0.64",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.0.65",
24
24
  "ahooks": "^3.7.4",
25
25
  "bignumber.js": "^9.1.2",
26
26
  "kmkf-monitor": "^0.8.9",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "d2af71326cde542670f96569bb6c028ac7c57bf7"
68
+ "gitHead": "15f16ebf734a616f09c15fa589a4124cdc909f95"
69
69
  }