@kmkf-fe-packages/basic-components 1.19.4-beta.6 → 1.19.4-beta.8
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 +62 -79
- package/dist/index.js +62 -79
- package/dist/src/bs/component/model/BsE3GoodList.d.ts +4 -0
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -12093,7 +12093,7 @@ var getTableData$1 = function getTableData(_ref, formData) {
|
|
|
12093
12093
|
data: _objectSpread2({
|
|
12094
12094
|
pageSize: pageSize,
|
|
12095
12095
|
pageNo: current,
|
|
12096
|
-
platform: '
|
|
12096
|
+
platform: 'BS_E3_ERP'
|
|
12097
12097
|
}, data)
|
|
12098
12098
|
}).then(function (res) {
|
|
12099
12099
|
var _res$data = res.data,
|
|
@@ -12124,125 +12124,85 @@ var columns$2 = [{
|
|
|
12124
12124
|
},
|
|
12125
12125
|
width: 100
|
|
12126
12126
|
}, {
|
|
12127
|
-
dataIndex: '
|
|
12127
|
+
dataIndex: 'specNo',
|
|
12128
12128
|
title: "SKU",
|
|
12129
12129
|
ellipsis: true,
|
|
12130
|
-
width:
|
|
12130
|
+
width: 150
|
|
12131
12131
|
}, {
|
|
12132
|
-
dataIndex: '
|
|
12132
|
+
dataIndex: 'specId',
|
|
12133
12133
|
title: "SKU ID",
|
|
12134
12134
|
ellipsis: true,
|
|
12135
|
-
width:
|
|
12135
|
+
width: 150
|
|
12136
12136
|
}, {
|
|
12137
|
-
dataIndex: '
|
|
12137
|
+
dataIndex: 'goodName',
|
|
12138
12138
|
title: "\u5546\u54C1\u540D\u79F0",
|
|
12139
12139
|
ellipsis: true,
|
|
12140
|
-
width:
|
|
12140
|
+
width: 150
|
|
12141
12141
|
}, {
|
|
12142
|
-
dataIndex: '
|
|
12142
|
+
dataIndex: 'goodShortName',
|
|
12143
12143
|
title: "\u5546\u54C1\u7B80\u79F0",
|
|
12144
12144
|
ellipsis: true,
|
|
12145
|
-
width:
|
|
12145
|
+
width: 150
|
|
12146
12146
|
}, {
|
|
12147
|
-
dataIndex: '
|
|
12147
|
+
dataIndex: 'goodPicUrl',
|
|
12148
12148
|
title: "\u5546\u54C1\u56FE\u7247",
|
|
12149
12149
|
ellipsis: true,
|
|
12150
12150
|
width: 100,
|
|
12151
12151
|
render: function render(picUrl) {
|
|
12152
12152
|
return /*#__PURE__*/React.createElement("img", {
|
|
12153
12153
|
style: {
|
|
12154
|
-
width: '
|
|
12155
|
-
height: '
|
|
12154
|
+
width: '40px',
|
|
12155
|
+
height: '40px',
|
|
12156
12156
|
objectFit: 'contain'
|
|
12157
12157
|
},
|
|
12158
12158
|
src: picUrl
|
|
12159
12159
|
});
|
|
12160
12160
|
}
|
|
12161
12161
|
}, {
|
|
12162
|
-
dataIndex: '
|
|
12162
|
+
dataIndex: 'goodNo',
|
|
12163
12163
|
title: "\u8D27\u53F7",
|
|
12164
12164
|
ellipsis: true,
|
|
12165
|
-
width:
|
|
12165
|
+
width: 150
|
|
12166
12166
|
}, {
|
|
12167
|
-
dataIndex: '
|
|
12167
|
+
dataIndex: 'goodId',
|
|
12168
12168
|
title: "\u8D27\u53F7ID",
|
|
12169
12169
|
ellipsis: true,
|
|
12170
|
-
width:
|
|
12170
|
+
width: 150
|
|
12171
12171
|
}, {
|
|
12172
12172
|
dataIndex: 'colorName',
|
|
12173
12173
|
title: "\u989C\u8272\u540D\u79F0",
|
|
12174
12174
|
ellipsis: true,
|
|
12175
|
-
width:
|
|
12175
|
+
width: 100
|
|
12176
12176
|
}, {
|
|
12177
12177
|
dataIndex: 'colorCode',
|
|
12178
12178
|
title: "\u989C\u8272\u4EE3\u7801",
|
|
12179
12179
|
ellipsis: true,
|
|
12180
|
-
width:
|
|
12180
|
+
width: 150
|
|
12181
12181
|
}, {
|
|
12182
12182
|
dataIndex: 'sizeName',
|
|
12183
12183
|
title: "\u5C3A\u7801\u540D\u79F0",
|
|
12184
12184
|
ellipsis: true,
|
|
12185
|
-
width:
|
|
12185
|
+
width: 100
|
|
12186
12186
|
}, {
|
|
12187
12187
|
dataIndex: 'sizeCode',
|
|
12188
12188
|
title: "\u5C3A\u7801\u4EE3\u7801",
|
|
12189
12189
|
ellipsis: true,
|
|
12190
|
-
width:
|
|
12190
|
+
width: 150
|
|
12191
12191
|
}, {
|
|
12192
12192
|
dataIndex: 'brandName',
|
|
12193
12193
|
title: "\u54C1\u724C\u540D\u79F0",
|
|
12194
12194
|
ellipsis: true,
|
|
12195
|
-
width:
|
|
12195
|
+
width: 150
|
|
12196
12196
|
}, {
|
|
12197
|
-
dataIndex: '
|
|
12198
|
-
title: "\
|
|
12199
|
-
ellipsis: true,
|
|
12200
|
-
width: 70
|
|
12201
|
-
}, {
|
|
12202
|
-
dataIndex: 'goodsPrice',
|
|
12203
|
-
title: "\u5546\u54C1\u5355\u4EF7",
|
|
12204
|
-
ellipsis: true,
|
|
12205
|
-
width: 70
|
|
12206
|
-
}, {
|
|
12207
|
-
dataIndex: 'shopPrice',
|
|
12208
|
-
title: "\u5546\u54C1\u7F51\u5E97\u552E\u4EF7",
|
|
12209
|
-
ellipsis: true,
|
|
12210
|
-
width: 70
|
|
12211
|
-
}, {
|
|
12212
|
-
dataIndex: 'sharePrice',
|
|
12213
|
-
title: "\u5206\u644A\u4EF7",
|
|
12214
|
-
ellipsis: true,
|
|
12215
|
-
width: 70
|
|
12216
|
-
}, {
|
|
12217
|
-
dataIndex: 'sharePayment',
|
|
12218
|
-
title: "\u5206\u644A\u5B9E\u4ED8\u91D1\u989D",
|
|
12219
|
-
ellipsis: true,
|
|
12220
|
-
width: 70
|
|
12221
|
-
}, {
|
|
12222
|
-
dataIndex: 'payment',
|
|
12223
|
-
title: "\u5B9E\u4ED8\u91D1\u989D",
|
|
12224
|
-
ellipsis: true,
|
|
12225
|
-
width: 70
|
|
12226
|
-
}, {
|
|
12227
|
-
dataIndex: 'tcSku',
|
|
12228
|
-
title: "\u5957\u9910SKU",
|
|
12229
|
-
ellipsis: true,
|
|
12230
|
-
width: 70
|
|
12231
|
-
}, {
|
|
12232
|
-
dataIndex: 'tcGoodsNumber',
|
|
12233
|
-
title: "\u5957\u9910\u5957\u6570",
|
|
12234
|
-
ellipsis: true,
|
|
12235
|
-
width: 70
|
|
12236
|
-
}, {
|
|
12237
|
-
dataIndex: 'taoCanSingleSl',
|
|
12238
|
-
title: "\u5355\u4E2A\u5957\u9910\u6570\u91CF",
|
|
12197
|
+
dataIndex: 'marketPrice',
|
|
12198
|
+
title: "\u5E02\u573A\u4EF7",
|
|
12239
12199
|
ellipsis: true,
|
|
12240
|
-
width:
|
|
12200
|
+
width: 100
|
|
12241
12201
|
}, {
|
|
12242
|
-
dataIndex: '
|
|
12243
|
-
title: "\
|
|
12202
|
+
dataIndex: 'retailPrice',
|
|
12203
|
+
title: "\u552E\u4EF7",
|
|
12244
12204
|
ellipsis: true,
|
|
12245
|
-
width:
|
|
12205
|
+
width: 100
|
|
12246
12206
|
}];
|
|
12247
12207
|
var GoodList$1 = function GoodList(props, ref) {
|
|
12248
12208
|
var _useState = useState([]),
|
|
@@ -12276,7 +12236,7 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12276
12236
|
layout: "inline",
|
|
12277
12237
|
form: form
|
|
12278
12238
|
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
12279
|
-
name: "
|
|
12239
|
+
name: "goodNo",
|
|
12280
12240
|
style: {
|
|
12281
12241
|
marginBottom: '12px'
|
|
12282
12242
|
}
|
|
@@ -12287,7 +12247,7 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12287
12247
|
width: 150
|
|
12288
12248
|
}
|
|
12289
12249
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
12290
|
-
name: "
|
|
12250
|
+
name: "goodName",
|
|
12291
12251
|
style: {
|
|
12292
12252
|
marginBottom: '12px'
|
|
12293
12253
|
}
|
|
@@ -12298,7 +12258,7 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12298
12258
|
width: 150
|
|
12299
12259
|
}
|
|
12300
12260
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
12301
|
-
name: "
|
|
12261
|
+
name: "skuCode",
|
|
12302
12262
|
style: {
|
|
12303
12263
|
marginBottom: '12px'
|
|
12304
12264
|
}
|
|
@@ -12415,7 +12375,7 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12415
12375
|
}
|
|
12416
12376
|
}, /*#__PURE__*/React.createElement(Table, _objectSpread2({
|
|
12417
12377
|
rowSelection: rowSelection,
|
|
12418
|
-
rowKey: "
|
|
12378
|
+
rowKey: "specNo",
|
|
12419
12379
|
columns: columns$2,
|
|
12420
12380
|
scroll: {
|
|
12421
12381
|
x: '100%',
|
|
@@ -12483,7 +12443,6 @@ var BsE3GoodsModal = /*#__PURE__*/forwardRef(GoodsModal$4);
|
|
|
12483
12443
|
// styleId: string;
|
|
12484
12444
|
// }
|
|
12485
12445
|
var GoodItem$1 = function GoodItem(props) {
|
|
12486
|
-
var _ref;
|
|
12487
12446
|
var _props$value = props.value,
|
|
12488
12447
|
value = _props$value === void 0 ? [] : _props$value,
|
|
12489
12448
|
type = props.type,
|
|
@@ -13220,12 +13179,36 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13220
13179
|
});
|
|
13221
13180
|
} else if (['BS_E3_GOODS', 'BS_E3_REISSUE_GOODS', 'BS_E3_EXCHANGE_GOODS'].includes(type)) {
|
|
13222
13181
|
newList = list.map(function (item) {
|
|
13223
|
-
|
|
13224
|
-
|
|
13225
|
-
|
|
13226
|
-
|
|
13227
|
-
|
|
13228
|
-
|
|
13182
|
+
var specNo = item.specNo,
|
|
13183
|
+
specId = item.specId,
|
|
13184
|
+
goodName = item.goodName,
|
|
13185
|
+
goodShortName = item.goodShortName,
|
|
13186
|
+
goodPicUrl = item.goodPicUrl,
|
|
13187
|
+
goodNo = item.goodNo,
|
|
13188
|
+
goodId = item.goodId,
|
|
13189
|
+
retailPrice = item.retailPrice;
|
|
13190
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
13191
|
+
sku: specNo,
|
|
13192
|
+
skuId: specId,
|
|
13193
|
+
goodsName: goodName,
|
|
13194
|
+
goodsShortName: goodShortName,
|
|
13195
|
+
picPath: goodPicUrl,
|
|
13196
|
+
goodsSn: goodNo,
|
|
13197
|
+
goodsId: goodId,
|
|
13198
|
+
goodsPrice: retailPrice,
|
|
13199
|
+
shopPrice: retailPrice,
|
|
13200
|
+
sharePayment: '',
|
|
13201
|
+
sharePrice: '',
|
|
13202
|
+
payment: '',
|
|
13203
|
+
tcSku: '',
|
|
13204
|
+
tcGoodsNumber: '',
|
|
13205
|
+
taoCanSingleSl: '',
|
|
13206
|
+
isGift: '',
|
|
13207
|
+
uuid: uuid(),
|
|
13208
|
+
canDelete: true,
|
|
13209
|
+
goodsNumber: 1,
|
|
13210
|
+
canUpdateNumber: canUpdateNumber
|
|
13211
|
+
});
|
|
13229
13212
|
});
|
|
13230
13213
|
} else {
|
|
13231
13214
|
newList = list.map(function (item) {
|
|
@@ -13286,7 +13269,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13286
13269
|
}, showModeBtn && /*#__PURE__*/React.createElement(Checkbox, {
|
|
13287
13270
|
checked: isStrict,
|
|
13288
13271
|
onChange: handleCheckboxChange
|
|
13289
|
-
}, "\u5408\u5E76\u5355\uFF0C\u52FE\u9009\u540E\u53EA\u5C55\u793A\u5F53\u524D\u5E73\u53F0\u8BA2\u5355\u5546\u54C1"),
|
|
13272
|
+
}, "\u5408\u5E76\u5355\uFF0C\u52FE\u9009\u540E\u53EA\u5C55\u793A\u5F53\u524D\u5E73\u53F0\u8BA2\u5355\u5546\u54C1"), /*#__PURE__*/React.createElement(Button, {
|
|
13290
13273
|
type: "link",
|
|
13291
13274
|
onClick: handleChangeGoods
|
|
13292
13275
|
}, "\u9009\u62E9\u5546\u54C1"), otherOperations), /*#__PURE__*/React.createElement(Table, _objectSpread2(_objectSpread2({}, tableConfig), {}, {
|
package/dist/index.js
CHANGED
|
@@ -12105,7 +12105,7 @@ var getTableData$1 = function getTableData(_ref, formData) {
|
|
|
12105
12105
|
data: _objectSpread2({
|
|
12106
12106
|
pageSize: pageSize,
|
|
12107
12107
|
pageNo: current,
|
|
12108
|
-
platform: '
|
|
12108
|
+
platform: 'BS_E3_ERP'
|
|
12109
12109
|
}, data)
|
|
12110
12110
|
}).then(function (res) {
|
|
12111
12111
|
var _res$data = res.data,
|
|
@@ -12136,125 +12136,85 @@ var columns$2 = [{
|
|
|
12136
12136
|
},
|
|
12137
12137
|
width: 100
|
|
12138
12138
|
}, {
|
|
12139
|
-
dataIndex: '
|
|
12139
|
+
dataIndex: 'specNo',
|
|
12140
12140
|
title: "SKU",
|
|
12141
12141
|
ellipsis: true,
|
|
12142
|
-
width:
|
|
12142
|
+
width: 150
|
|
12143
12143
|
}, {
|
|
12144
|
-
dataIndex: '
|
|
12144
|
+
dataIndex: 'specId',
|
|
12145
12145
|
title: "SKU ID",
|
|
12146
12146
|
ellipsis: true,
|
|
12147
|
-
width:
|
|
12147
|
+
width: 150
|
|
12148
12148
|
}, {
|
|
12149
|
-
dataIndex: '
|
|
12149
|
+
dataIndex: 'goodName',
|
|
12150
12150
|
title: "\u5546\u54C1\u540D\u79F0",
|
|
12151
12151
|
ellipsis: true,
|
|
12152
|
-
width:
|
|
12152
|
+
width: 150
|
|
12153
12153
|
}, {
|
|
12154
|
-
dataIndex: '
|
|
12154
|
+
dataIndex: 'goodShortName',
|
|
12155
12155
|
title: "\u5546\u54C1\u7B80\u79F0",
|
|
12156
12156
|
ellipsis: true,
|
|
12157
|
-
width:
|
|
12157
|
+
width: 150
|
|
12158
12158
|
}, {
|
|
12159
|
-
dataIndex: '
|
|
12159
|
+
dataIndex: 'goodPicUrl',
|
|
12160
12160
|
title: "\u5546\u54C1\u56FE\u7247",
|
|
12161
12161
|
ellipsis: true,
|
|
12162
12162
|
width: 100,
|
|
12163
12163
|
render: function render(picUrl) {
|
|
12164
12164
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
12165
12165
|
style: {
|
|
12166
|
-
width: '
|
|
12167
|
-
height: '
|
|
12166
|
+
width: '40px',
|
|
12167
|
+
height: '40px',
|
|
12168
12168
|
objectFit: 'contain'
|
|
12169
12169
|
},
|
|
12170
12170
|
src: picUrl
|
|
12171
12171
|
});
|
|
12172
12172
|
}
|
|
12173
12173
|
}, {
|
|
12174
|
-
dataIndex: '
|
|
12174
|
+
dataIndex: 'goodNo',
|
|
12175
12175
|
title: "\u8D27\u53F7",
|
|
12176
12176
|
ellipsis: true,
|
|
12177
|
-
width:
|
|
12177
|
+
width: 150
|
|
12178
12178
|
}, {
|
|
12179
|
-
dataIndex: '
|
|
12179
|
+
dataIndex: 'goodId',
|
|
12180
12180
|
title: "\u8D27\u53F7ID",
|
|
12181
12181
|
ellipsis: true,
|
|
12182
|
-
width:
|
|
12182
|
+
width: 150
|
|
12183
12183
|
}, {
|
|
12184
12184
|
dataIndex: 'colorName',
|
|
12185
12185
|
title: "\u989C\u8272\u540D\u79F0",
|
|
12186
12186
|
ellipsis: true,
|
|
12187
|
-
width:
|
|
12187
|
+
width: 100
|
|
12188
12188
|
}, {
|
|
12189
12189
|
dataIndex: 'colorCode',
|
|
12190
12190
|
title: "\u989C\u8272\u4EE3\u7801",
|
|
12191
12191
|
ellipsis: true,
|
|
12192
|
-
width:
|
|
12192
|
+
width: 150
|
|
12193
12193
|
}, {
|
|
12194
12194
|
dataIndex: 'sizeName',
|
|
12195
12195
|
title: "\u5C3A\u7801\u540D\u79F0",
|
|
12196
12196
|
ellipsis: true,
|
|
12197
|
-
width:
|
|
12197
|
+
width: 100
|
|
12198
12198
|
}, {
|
|
12199
12199
|
dataIndex: 'sizeCode',
|
|
12200
12200
|
title: "\u5C3A\u7801\u4EE3\u7801",
|
|
12201
12201
|
ellipsis: true,
|
|
12202
|
-
width:
|
|
12202
|
+
width: 150
|
|
12203
12203
|
}, {
|
|
12204
12204
|
dataIndex: 'brandName',
|
|
12205
12205
|
title: "\u54C1\u724C\u540D\u79F0",
|
|
12206
12206
|
ellipsis: true,
|
|
12207
|
-
width:
|
|
12207
|
+
width: 150
|
|
12208
12208
|
}, {
|
|
12209
|
-
dataIndex: '
|
|
12210
|
-
title: "\
|
|
12211
|
-
ellipsis: true,
|
|
12212
|
-
width: 70
|
|
12213
|
-
}, {
|
|
12214
|
-
dataIndex: 'goodsPrice',
|
|
12215
|
-
title: "\u5546\u54C1\u5355\u4EF7",
|
|
12216
|
-
ellipsis: true,
|
|
12217
|
-
width: 70
|
|
12218
|
-
}, {
|
|
12219
|
-
dataIndex: 'shopPrice',
|
|
12220
|
-
title: "\u5546\u54C1\u7F51\u5E97\u552E\u4EF7",
|
|
12221
|
-
ellipsis: true,
|
|
12222
|
-
width: 70
|
|
12223
|
-
}, {
|
|
12224
|
-
dataIndex: 'sharePrice',
|
|
12225
|
-
title: "\u5206\u644A\u4EF7",
|
|
12226
|
-
ellipsis: true,
|
|
12227
|
-
width: 70
|
|
12228
|
-
}, {
|
|
12229
|
-
dataIndex: 'sharePayment',
|
|
12230
|
-
title: "\u5206\u644A\u5B9E\u4ED8\u91D1\u989D",
|
|
12231
|
-
ellipsis: true,
|
|
12232
|
-
width: 70
|
|
12233
|
-
}, {
|
|
12234
|
-
dataIndex: 'payment',
|
|
12235
|
-
title: "\u5B9E\u4ED8\u91D1\u989D",
|
|
12236
|
-
ellipsis: true,
|
|
12237
|
-
width: 70
|
|
12238
|
-
}, {
|
|
12239
|
-
dataIndex: 'tcSku',
|
|
12240
|
-
title: "\u5957\u9910SKU",
|
|
12241
|
-
ellipsis: true,
|
|
12242
|
-
width: 70
|
|
12243
|
-
}, {
|
|
12244
|
-
dataIndex: 'tcGoodsNumber',
|
|
12245
|
-
title: "\u5957\u9910\u5957\u6570",
|
|
12246
|
-
ellipsis: true,
|
|
12247
|
-
width: 70
|
|
12248
|
-
}, {
|
|
12249
|
-
dataIndex: 'taoCanSingleSl',
|
|
12250
|
-
title: "\u5355\u4E2A\u5957\u9910\u6570\u91CF",
|
|
12209
|
+
dataIndex: 'marketPrice',
|
|
12210
|
+
title: "\u5E02\u573A\u4EF7",
|
|
12251
12211
|
ellipsis: true,
|
|
12252
|
-
width:
|
|
12212
|
+
width: 100
|
|
12253
12213
|
}, {
|
|
12254
|
-
dataIndex: '
|
|
12255
|
-
title: "\
|
|
12214
|
+
dataIndex: 'retailPrice',
|
|
12215
|
+
title: "\u552E\u4EF7",
|
|
12256
12216
|
ellipsis: true,
|
|
12257
|
-
width:
|
|
12217
|
+
width: 100
|
|
12258
12218
|
}];
|
|
12259
12219
|
var GoodList$1 = function GoodList(props, ref) {
|
|
12260
12220
|
var _useState = React.useState([]),
|
|
@@ -12288,7 +12248,7 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12288
12248
|
layout: "inline",
|
|
12289
12249
|
form: form
|
|
12290
12250
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
12291
|
-
name: "
|
|
12251
|
+
name: "goodNo",
|
|
12292
12252
|
style: {
|
|
12293
12253
|
marginBottom: '12px'
|
|
12294
12254
|
}
|
|
@@ -12299,7 +12259,7 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12299
12259
|
width: 150
|
|
12300
12260
|
}
|
|
12301
12261
|
})), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
12302
|
-
name: "
|
|
12262
|
+
name: "goodName",
|
|
12303
12263
|
style: {
|
|
12304
12264
|
marginBottom: '12px'
|
|
12305
12265
|
}
|
|
@@ -12310,7 +12270,7 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12310
12270
|
width: 150
|
|
12311
12271
|
}
|
|
12312
12272
|
})), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
12313
|
-
name: "
|
|
12273
|
+
name: "skuCode",
|
|
12314
12274
|
style: {
|
|
12315
12275
|
marginBottom: '12px'
|
|
12316
12276
|
}
|
|
@@ -12427,7 +12387,7 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12427
12387
|
}
|
|
12428
12388
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
|
|
12429
12389
|
rowSelection: rowSelection,
|
|
12430
|
-
rowKey: "
|
|
12390
|
+
rowKey: "specNo",
|
|
12431
12391
|
columns: columns$2,
|
|
12432
12392
|
scroll: {
|
|
12433
12393
|
x: '100%',
|
|
@@ -12495,7 +12455,6 @@ var BsE3GoodsModal = /*#__PURE__*/React.forwardRef(GoodsModal$4);
|
|
|
12495
12455
|
// styleId: string;
|
|
12496
12456
|
// }
|
|
12497
12457
|
var GoodItem$1 = function GoodItem(props) {
|
|
12498
|
-
var _ref;
|
|
12499
12458
|
var _props$value = props.value,
|
|
12500
12459
|
value = _props$value === void 0 ? [] : _props$value,
|
|
12501
12460
|
type = props.type,
|
|
@@ -13232,12 +13191,36 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13232
13191
|
});
|
|
13233
13192
|
} else if (['BS_E3_GOODS', 'BS_E3_REISSUE_GOODS', 'BS_E3_EXCHANGE_GOODS'].includes(type)) {
|
|
13234
13193
|
newList = list.map(function (item) {
|
|
13235
|
-
|
|
13236
|
-
|
|
13237
|
-
|
|
13238
|
-
|
|
13239
|
-
|
|
13240
|
-
|
|
13194
|
+
var specNo = item.specNo,
|
|
13195
|
+
specId = item.specId,
|
|
13196
|
+
goodName = item.goodName,
|
|
13197
|
+
goodShortName = item.goodShortName,
|
|
13198
|
+
goodPicUrl = item.goodPicUrl,
|
|
13199
|
+
goodNo = item.goodNo,
|
|
13200
|
+
goodId = item.goodId,
|
|
13201
|
+
retailPrice = item.retailPrice;
|
|
13202
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
13203
|
+
sku: specNo,
|
|
13204
|
+
skuId: specId,
|
|
13205
|
+
goodsName: goodName,
|
|
13206
|
+
goodsShortName: goodShortName,
|
|
13207
|
+
picPath: goodPicUrl,
|
|
13208
|
+
goodsSn: goodNo,
|
|
13209
|
+
goodsId: goodId,
|
|
13210
|
+
goodsPrice: retailPrice,
|
|
13211
|
+
shopPrice: retailPrice,
|
|
13212
|
+
sharePayment: '',
|
|
13213
|
+
sharePrice: '',
|
|
13214
|
+
payment: '',
|
|
13215
|
+
tcSku: '',
|
|
13216
|
+
tcGoodsNumber: '',
|
|
13217
|
+
taoCanSingleSl: '',
|
|
13218
|
+
isGift: '',
|
|
13219
|
+
uuid: kmkfUtils.uuid(),
|
|
13220
|
+
canDelete: true,
|
|
13221
|
+
goodsNumber: 1,
|
|
13222
|
+
canUpdateNumber: canUpdateNumber
|
|
13223
|
+
});
|
|
13241
13224
|
});
|
|
13242
13225
|
} else {
|
|
13243
13226
|
newList = list.map(function (item) {
|
|
@@ -13298,7 +13281,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13298
13281
|
}, showModeBtn && /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
13299
13282
|
checked: isStrict,
|
|
13300
13283
|
onChange: handleCheckboxChange
|
|
13301
|
-
}, "\u5408\u5E76\u5355\uFF0C\u52FE\u9009\u540E\u53EA\u5C55\u793A\u5F53\u524D\u5E73\u53F0\u8BA2\u5355\u5546\u54C1"),
|
|
13284
|
+
}, "\u5408\u5E76\u5355\uFF0C\u52FE\u9009\u540E\u53EA\u5C55\u793A\u5F53\u524D\u5E73\u53F0\u8BA2\u5355\u5546\u54C1"), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
13302
13285
|
type: "link",
|
|
13303
13286
|
onClick: handleChangeGoods
|
|
13304
13287
|
}, "\u9009\u62E9\u5546\u54C1"), otherOperations), /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2(_objectSpread2({}, tableConfig), {}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "1.19.4-beta.
|
|
3
|
+
"version": "1.19.4-beta.8",
|
|
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": "1.19.4-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "1.19.4-beta.7",
|
|
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": "
|
|
68
|
+
"gitHead": "c34a35404bcdb337d537ab96cccdf70f3c116919"
|
|
69
69
|
}
|