@kmkf-fe-packages/basic-components 1.19.8-beta.2 → 1.19.8-beta.5
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 +27 -23
- package/dist/index.js +27 -23
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -12083,9 +12083,9 @@ var getTableData$1 = function getTableData(_ref, formData) {
|
|
|
12083
12083
|
var current = _ref.current,
|
|
12084
12084
|
pageSize = _ref.pageSize;
|
|
12085
12085
|
var data = {
|
|
12086
|
-
|
|
12087
|
-
|
|
12088
|
-
|
|
12086
|
+
goodNo: formData.goodNo || null,
|
|
12087
|
+
goodName: formData.goodName || null,
|
|
12088
|
+
skuCode: formData.skuCode || null,
|
|
12089
12089
|
skuId: formData.skuId || null
|
|
12090
12090
|
};
|
|
12091
12091
|
return extendRequest('/qy/gdfw/product/product/page', {
|
|
@@ -12127,7 +12127,7 @@ var columns$2 = [{
|
|
|
12127
12127
|
dataIndex: 'specNo',
|
|
12128
12128
|
title: "SKU",
|
|
12129
12129
|
ellipsis: true,
|
|
12130
|
-
width:
|
|
12130
|
+
width: 200
|
|
12131
12131
|
}, {
|
|
12132
12132
|
dataIndex: 'specId',
|
|
12133
12133
|
title: "SKU ID",
|
|
@@ -12137,28 +12137,32 @@ var columns$2 = [{
|
|
|
12137
12137
|
dataIndex: 'goodName',
|
|
12138
12138
|
title: "\u5546\u54C1\u540D\u79F0",
|
|
12139
12139
|
ellipsis: true,
|
|
12140
|
-
width:
|
|
12140
|
+
width: 200
|
|
12141
12141
|
}, {
|
|
12142
12142
|
dataIndex: 'goodShortName',
|
|
12143
12143
|
title: "\u5546\u54C1\u7B80\u79F0",
|
|
12144
12144
|
ellipsis: true,
|
|
12145
12145
|
width: 150
|
|
12146
|
-
},
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
|
|
12151
|
-
|
|
12152
|
-
|
|
12153
|
-
|
|
12154
|
-
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
|
|
12158
|
-
|
|
12159
|
-
|
|
12160
|
-
|
|
12161
|
-
|
|
12146
|
+
},
|
|
12147
|
+
// {
|
|
12148
|
+
// dataIndex: 'goodPicUrl',
|
|
12149
|
+
// title: `商品图片`,
|
|
12150
|
+
// ellipsis: true,
|
|
12151
|
+
// width: 100,
|
|
12152
|
+
// render: (picUrl: string) => {
|
|
12153
|
+
// return (
|
|
12154
|
+
// <img
|
|
12155
|
+
// style={{
|
|
12156
|
+
// width: '40px',
|
|
12157
|
+
// height: '40px',
|
|
12158
|
+
// objectFit: 'contain',
|
|
12159
|
+
// }}
|
|
12160
|
+
// src={picUrl}
|
|
12161
|
+
// ></img>
|
|
12162
|
+
// );
|
|
12163
|
+
// },
|
|
12164
|
+
// },
|
|
12165
|
+
{
|
|
12162
12166
|
dataIndex: 'goodNo',
|
|
12163
12167
|
title: "\u8D27\u53F7",
|
|
12164
12168
|
ellipsis: true,
|
|
@@ -13485,7 +13489,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13485
13489
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
13486
13490
|
type: "link",
|
|
13487
13491
|
onClick: handleChangeGoods
|
|
13488
|
-
},
|
|
13492
|
+
}, ['BS_E3_GOODS', 'BS_E3_REISSUE_GOODS', 'BS_E3_EXCHANGE_GOODS'].includes(type) ? '选择百胜ERP商品' : '选择商品'), otherOperations), /*#__PURE__*/React.createElement(Table, _objectSpread2(_objectSpread2({}, tableConfig), {}, {
|
|
13489
13493
|
columns: newColumns,
|
|
13490
13494
|
dataSource: value,
|
|
13491
13495
|
rowKey: 'uuid',
|
|
@@ -14618,7 +14622,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
14618
14622
|
valueRef.current = value;
|
|
14619
14623
|
if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$orders = value.orders) === null || _value$orders === void 0 ? void 0 : _value$orders.length) && (value === null || value === void 0 ? void 0 : value.orderNo)) {
|
|
14620
14624
|
getOrderFlag.current = true;
|
|
14621
|
-
getWdtOrderList(value === null || value === void 0 ? void 0 : value.orderNo);
|
|
14625
|
+
compType.indexOf('WDT') > -1 && getWdtOrderList(value === null || value === void 0 ? void 0 : value.orderNo);
|
|
14622
14626
|
}
|
|
14623
14627
|
}, [value]);
|
|
14624
14628
|
var getWdtOrderList = /*#__PURE__*/function () {
|
package/dist/index.js
CHANGED
|
@@ -12095,9 +12095,9 @@ var getTableData$1 = function getTableData(_ref, formData) {
|
|
|
12095
12095
|
var current = _ref.current,
|
|
12096
12096
|
pageSize = _ref.pageSize;
|
|
12097
12097
|
var data = {
|
|
12098
|
-
|
|
12099
|
-
|
|
12100
|
-
|
|
12098
|
+
goodNo: formData.goodNo || null,
|
|
12099
|
+
goodName: formData.goodName || null,
|
|
12100
|
+
skuCode: formData.skuCode || null,
|
|
12101
12101
|
skuId: formData.skuId || null
|
|
12102
12102
|
};
|
|
12103
12103
|
return extendRequest('/qy/gdfw/product/product/page', {
|
|
@@ -12139,7 +12139,7 @@ var columns$2 = [{
|
|
|
12139
12139
|
dataIndex: 'specNo',
|
|
12140
12140
|
title: "SKU",
|
|
12141
12141
|
ellipsis: true,
|
|
12142
|
-
width:
|
|
12142
|
+
width: 200
|
|
12143
12143
|
}, {
|
|
12144
12144
|
dataIndex: 'specId',
|
|
12145
12145
|
title: "SKU ID",
|
|
@@ -12149,28 +12149,32 @@ var columns$2 = [{
|
|
|
12149
12149
|
dataIndex: 'goodName',
|
|
12150
12150
|
title: "\u5546\u54C1\u540D\u79F0",
|
|
12151
12151
|
ellipsis: true,
|
|
12152
|
-
width:
|
|
12152
|
+
width: 200
|
|
12153
12153
|
}, {
|
|
12154
12154
|
dataIndex: 'goodShortName',
|
|
12155
12155
|
title: "\u5546\u54C1\u7B80\u79F0",
|
|
12156
12156
|
ellipsis: true,
|
|
12157
12157
|
width: 150
|
|
12158
|
-
},
|
|
12159
|
-
|
|
12160
|
-
|
|
12161
|
-
|
|
12162
|
-
|
|
12163
|
-
|
|
12164
|
-
|
|
12165
|
-
|
|
12166
|
-
|
|
12167
|
-
|
|
12168
|
-
|
|
12169
|
-
|
|
12170
|
-
|
|
12171
|
-
|
|
12172
|
-
|
|
12173
|
-
|
|
12158
|
+
},
|
|
12159
|
+
// {
|
|
12160
|
+
// dataIndex: 'goodPicUrl',
|
|
12161
|
+
// title: `商品图片`,
|
|
12162
|
+
// ellipsis: true,
|
|
12163
|
+
// width: 100,
|
|
12164
|
+
// render: (picUrl: string) => {
|
|
12165
|
+
// return (
|
|
12166
|
+
// <img
|
|
12167
|
+
// style={{
|
|
12168
|
+
// width: '40px',
|
|
12169
|
+
// height: '40px',
|
|
12170
|
+
// objectFit: 'contain',
|
|
12171
|
+
// }}
|
|
12172
|
+
// src={picUrl}
|
|
12173
|
+
// ></img>
|
|
12174
|
+
// );
|
|
12175
|
+
// },
|
|
12176
|
+
// },
|
|
12177
|
+
{
|
|
12174
12178
|
dataIndex: 'goodNo',
|
|
12175
12179
|
title: "\u8D27\u53F7",
|
|
12176
12180
|
ellipsis: true,
|
|
@@ -13497,7 +13501,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13497
13501
|
}), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
13498
13502
|
type: "link",
|
|
13499
13503
|
onClick: handleChangeGoods
|
|
13500
|
-
},
|
|
13504
|
+
}, ['BS_E3_GOODS', 'BS_E3_REISSUE_GOODS', 'BS_E3_EXCHANGE_GOODS'].includes(type) ? '选择百胜ERP商品' : '选择商品'), otherOperations), /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2(_objectSpread2({}, tableConfig), {}, {
|
|
13501
13505
|
columns: newColumns,
|
|
13502
13506
|
dataSource: value,
|
|
13503
13507
|
rowKey: 'uuid',
|
|
@@ -14630,7 +14634,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
14630
14634
|
valueRef.current = value;
|
|
14631
14635
|
if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$orders = value.orders) === null || _value$orders === void 0 ? void 0 : _value$orders.length) && (value === null || value === void 0 ? void 0 : value.orderNo)) {
|
|
14632
14636
|
getOrderFlag.current = true;
|
|
14633
|
-
getWdtOrderList(value === null || value === void 0 ? void 0 : value.orderNo);
|
|
14637
|
+
compType.indexOf('WDT') > -1 && getWdtOrderList(value === null || value === void 0 ? void 0 : value.orderNo);
|
|
14634
14638
|
}
|
|
14635
14639
|
}, [value]);
|
|
14636
14640
|
var getWdtOrderList = /*#__PURE__*/function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "1.19.8-beta.
|
|
3
|
+
"version": "1.19.8-beta.5",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "df47bb71fb2936e52efe5dcfbead6a929b714983"
|
|
69
69
|
}
|