@fonixtree/magic-design 0.1.70 → 0.1.71
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.
|
@@ -265,8 +265,9 @@ function AffiliateProductTable(props) {
|
|
|
265
265
|
var rowSelection = {
|
|
266
266
|
onChange: function onChange(selectedRowKeys, selectedRow) {
|
|
267
267
|
_onChange({
|
|
268
|
-
value: selectedRow[0].
|
|
269
|
-
name: selectedRow[0].productName
|
|
268
|
+
value: selectedRow[0].productName,
|
|
269
|
+
name: selectedRow[0].productName,
|
|
270
|
+
productId: selectedRow[0].affiliateProductId
|
|
270
271
|
});
|
|
271
272
|
},
|
|
272
273
|
type: 'radio'
|
package/es/utils/businessUtil.js
CHANGED
|
@@ -154,13 +154,14 @@ var newParseUrl = function newParseUrl(urlObj) {
|
|
|
154
154
|
break;
|
|
155
155
|
|
|
156
156
|
case _constants.urlTypeMap.AFFILIATE_PRODUCT:
|
|
157
|
-
//
|
|
157
|
+
// 分销商品
|
|
158
158
|
link = '';
|
|
159
159
|
params = {
|
|
160
160
|
action: 'operation',
|
|
161
161
|
params: {
|
|
162
162
|
type: 'AFFILIATE_PRODUCT',
|
|
163
|
-
|
|
163
|
+
productName: value,
|
|
164
|
+
productId: productId
|
|
164
165
|
}
|
|
165
166
|
};
|
|
166
167
|
break;
|
|
@@ -265,8 +265,9 @@ function AffiliateProductTable(props) {
|
|
|
265
265
|
var rowSelection = {
|
|
266
266
|
onChange: function onChange(selectedRowKeys, selectedRow) {
|
|
267
267
|
_onChange({
|
|
268
|
-
value: selectedRow[0].
|
|
269
|
-
name: selectedRow[0].productName
|
|
268
|
+
value: selectedRow[0].productName,
|
|
269
|
+
name: selectedRow[0].productName,
|
|
270
|
+
productId: selectedRow[0].affiliateProductId
|
|
270
271
|
});
|
|
271
272
|
},
|
|
272
273
|
type: 'radio'
|
|
@@ -154,13 +154,14 @@ var newParseUrl = function newParseUrl(urlObj) {
|
|
|
154
154
|
break;
|
|
155
155
|
|
|
156
156
|
case _constants.urlTypeMap.AFFILIATE_PRODUCT:
|
|
157
|
-
//
|
|
157
|
+
// 分销商品
|
|
158
158
|
link = '';
|
|
159
159
|
params = {
|
|
160
160
|
action: 'operation',
|
|
161
161
|
params: {
|
|
162
162
|
type: 'AFFILIATE_PRODUCT',
|
|
163
|
-
|
|
163
|
+
productName: value,
|
|
164
|
+
productId: productId
|
|
164
165
|
}
|
|
165
166
|
};
|
|
166
167
|
break;
|