@kmkf-fe-packages/basic-components 2.2.13-beta.22 → 2.2.13-beta.24

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
@@ -13830,7 +13830,7 @@ var jstGoods = function jstGoods(props) {
13830
13830
  onChange: function onChange(val) {
13831
13831
  changeInputHandle(val, 'logisticsCompany');
13832
13832
  },
13833
- value: platformType === 'gy' ? (expressDateInstance === null || expressDateInstance === void 0 ? void 0 : expressDateInstance.getExpressNameByCode((_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2['logisticsCompany'], false)) ? (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3['logisticsCompany'] : (_value$changeIndex4 = value[changeIndex]) === null || _value$changeIndex4 === void 0 ? void 0 : _value$changeIndex4['logisticsCompanyName'] : (_value$changeIndex5 = value[changeIndex]) === null || _value$changeIndex5 === void 0 ? void 0 : _value$changeIndex5['logisticsCompany'],
13833
+ value: ['gy', 'jy'].includes(platformType) ? (expressDateInstance === null || expressDateInstance === void 0 ? void 0 : expressDateInstance.getExpressNameByCode((_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2['logisticsCompany'], false)) ? (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3['logisticsCompany'] : (_value$changeIndex4 = value[changeIndex]) === null || _value$changeIndex4 === void 0 ? void 0 : _value$changeIndex4['logisticsCompanyName'] : (_value$changeIndex5 = value[changeIndex]) === null || _value$changeIndex5 === void 0 ? void 0 : _value$changeIndex5['logisticsCompany'],
13834
13834
  showSearch: true,
13835
13835
  dropdownMatchSelectWidth: false,
13836
13836
  filterOption: function filterOption(input, option) {
@@ -20279,7 +20279,43 @@ var getColumns$7 = function getColumns(_ref) {
20279
20279
  updateDataHandle = _ref.updateDataHandle;
20280
20280
  return {
20281
20281
  //巨益商品信息
20282
- JY_GOODS: [
20282
+ JY_GOODS: [{
20283
+ dataIndex: 'productName',
20284
+ title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20285
+ align: 'center',
20286
+ ellipsis: true,
20287
+ width: 150
20288
+ }, {
20289
+ dataIndex: 'productCode',
20290
+ title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20291
+ align: 'center',
20292
+ ellipsis: true,
20293
+ width: 150
20294
+ }, {
20295
+ dataIndex: 'productId',
20296
+ title: "\u7CFB\u7EDF\u5546\u54C1ID",
20297
+ align: 'center',
20298
+ ellipsis: true,
20299
+ width: 150
20300
+ }, {
20301
+ dataIndex: 'skuName',
20302
+ title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20303
+ align: 'center',
20304
+ ellipsis: true,
20305
+ width: 150
20306
+ }, {
20307
+ dataIndex: 'skuCode',
20308
+ title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20309
+ align: 'center',
20310
+ ellipsis: true,
20311
+ width: 150
20312
+ }, {
20313
+ dataIndex: 'specId',
20314
+ title: "\u89C4\u683CID",
20315
+ align: 'center',
20316
+ ellipsis: true,
20317
+ width: 150
20318
+ },
20283
20319
  // {
20284
20320
  // dataIndex: 'goodsName',
20285
20321
  // title: `货品名称`,
@@ -20319,42 +20355,6 @@ var getColumns$7 = function getColumns(_ref) {
20319
20355
  // width: 150,
20320
20356
  // },
20321
20357
  {
20322
- dataIndex: 'specId',
20323
- title: "\u89C4\u683CID",
20324
- align: 'center',
20325
- ellipsis: true,
20326
- width: 150
20327
- }, {
20328
- dataIndex: 'productName',
20329
- title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20330
- align: 'center',
20331
- ellipsis: true,
20332
- width: 150
20333
- }, {
20334
- dataIndex: 'productCode',
20335
- title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20336
- align: 'center',
20337
- ellipsis: true,
20338
- width: 150
20339
- }, {
20340
- dataIndex: 'productId',
20341
- title: "\u7CFB\u7EDF\u5546\u54C1ID",
20342
- align: 'center',
20343
- ellipsis: true,
20344
- width: 150
20345
- }, {
20346
- dataIndex: 'skuName',
20347
- title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20348
- align: 'center',
20349
- ellipsis: true,
20350
- width: 150
20351
- }, {
20352
- dataIndex: 'skuCode',
20353
- title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20354
- align: 'center',
20355
- ellipsis: true,
20356
- width: 150
20357
- }, {
20358
20358
  dataIndex: 'mallProductName',
20359
20359
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20360
20360
  align: 'center',
@@ -21136,7 +21136,7 @@ var processJyGoods = function processJyGoods(_ref2) {
21136
21136
  canDelete: true,
21137
21137
  sellCount: 1,
21138
21138
  sellPrice: retailPrice,
21139
- sellTotal: retailPrice * 1,
21139
+ sellTotal: (retailPrice * 1).toFixed(2),
21140
21140
  canEdit: true,
21141
21141
  canUpdateNumber: canUpdateNumber
21142
21142
  });
package/dist/index.js CHANGED
@@ -13845,7 +13845,7 @@ var jstGoods = function jstGoods(props) {
13845
13845
  onChange: function onChange(val) {
13846
13846
  changeInputHandle(val, 'logisticsCompany');
13847
13847
  },
13848
- value: platformType === 'gy' ? (expressDateInstance === null || expressDateInstance === void 0 ? void 0 : expressDateInstance.getExpressNameByCode((_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2['logisticsCompany'], false)) ? (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3['logisticsCompany'] : (_value$changeIndex4 = value[changeIndex]) === null || _value$changeIndex4 === void 0 ? void 0 : _value$changeIndex4['logisticsCompanyName'] : (_value$changeIndex5 = value[changeIndex]) === null || _value$changeIndex5 === void 0 ? void 0 : _value$changeIndex5['logisticsCompany'],
13848
+ value: ['gy', 'jy'].includes(platformType) ? (expressDateInstance === null || expressDateInstance === void 0 ? void 0 : expressDateInstance.getExpressNameByCode((_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2['logisticsCompany'], false)) ? (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3['logisticsCompany'] : (_value$changeIndex4 = value[changeIndex]) === null || _value$changeIndex4 === void 0 ? void 0 : _value$changeIndex4['logisticsCompanyName'] : (_value$changeIndex5 = value[changeIndex]) === null || _value$changeIndex5 === void 0 ? void 0 : _value$changeIndex5['logisticsCompany'],
13849
13849
  showSearch: true,
13850
13850
  dropdownMatchSelectWidth: false,
13851
13851
  filterOption: function filterOption(input, option) {
@@ -20294,7 +20294,43 @@ var getColumns$7 = function getColumns(_ref) {
20294
20294
  updateDataHandle = _ref.updateDataHandle;
20295
20295
  return {
20296
20296
  //巨益商品信息
20297
- JY_GOODS: [
20297
+ JY_GOODS: [{
20298
+ dataIndex: 'productName',
20299
+ title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20300
+ align: 'center',
20301
+ ellipsis: true,
20302
+ width: 150
20303
+ }, {
20304
+ dataIndex: 'productCode',
20305
+ title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20306
+ align: 'center',
20307
+ ellipsis: true,
20308
+ width: 150
20309
+ }, {
20310
+ dataIndex: 'productId',
20311
+ title: "\u7CFB\u7EDF\u5546\u54C1ID",
20312
+ align: 'center',
20313
+ ellipsis: true,
20314
+ width: 150
20315
+ }, {
20316
+ dataIndex: 'skuName',
20317
+ title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20318
+ align: 'center',
20319
+ ellipsis: true,
20320
+ width: 150
20321
+ }, {
20322
+ dataIndex: 'skuCode',
20323
+ title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20324
+ align: 'center',
20325
+ ellipsis: true,
20326
+ width: 150
20327
+ }, {
20328
+ dataIndex: 'specId',
20329
+ title: "\u89C4\u683CID",
20330
+ align: 'center',
20331
+ ellipsis: true,
20332
+ width: 150
20333
+ },
20298
20334
  // {
20299
20335
  // dataIndex: 'goodsName',
20300
20336
  // title: `货品名称`,
@@ -20334,42 +20370,6 @@ var getColumns$7 = function getColumns(_ref) {
20334
20370
  // width: 150,
20335
20371
  // },
20336
20372
  {
20337
- dataIndex: 'specId',
20338
- title: "\u89C4\u683CID",
20339
- align: 'center',
20340
- ellipsis: true,
20341
- width: 150
20342
- }, {
20343
- dataIndex: 'productName',
20344
- title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20345
- align: 'center',
20346
- ellipsis: true,
20347
- width: 150
20348
- }, {
20349
- dataIndex: 'productCode',
20350
- title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20351
- align: 'center',
20352
- ellipsis: true,
20353
- width: 150
20354
- }, {
20355
- dataIndex: 'productId',
20356
- title: "\u7CFB\u7EDF\u5546\u54C1ID",
20357
- align: 'center',
20358
- ellipsis: true,
20359
- width: 150
20360
- }, {
20361
- dataIndex: 'skuName',
20362
- title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20363
- align: 'center',
20364
- ellipsis: true,
20365
- width: 150
20366
- }, {
20367
- dataIndex: 'skuCode',
20368
- title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20369
- align: 'center',
20370
- ellipsis: true,
20371
- width: 150
20372
- }, {
20373
20373
  dataIndex: 'mallProductName',
20374
20374
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20375
20375
  align: 'center',
@@ -21151,7 +21151,7 @@ var processJyGoods = function processJyGoods(_ref2) {
21151
21151
  canDelete: true,
21152
21152
  sellCount: 1,
21153
21153
  sellPrice: retailPrice,
21154
- sellTotal: retailPrice * 1,
21154
+ sellTotal: (retailPrice * 1).toFixed(2),
21155
21155
  canEdit: true,
21156
21156
  canUpdateNumber: canUpdateNumber
21157
21157
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.2.13-beta.22",
3
+ "version": "2.2.13-beta.24",
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.2.13-beta.22",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.2.13-beta.24",
24
24
  "ahooks": "^3.7.4",
25
25
  "ali-react-table": "2.6.1",
26
26
  "bignumber.js": "^9.1.2",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "d7a2014469d2717f048fc238b35d9cb0aa59444c"
69
+ "gitHead": "8df4efcb267844d3dfdeb9ddf408436164924049"
70
70
  }