@kmkf-fe-packages/basic-components 2.10.9-beta.35 → 2.10.9-beta.37
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 +103 -21
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -25255,28 +25255,110 @@ var getTtxBomTypeName = function getTtxBomTypeName(value) {
|
|
|
25255
25255
|
};
|
|
25256
25256
|
var getColumns$b = function getColumns() {
|
|
25257
25257
|
return {
|
|
25258
|
-
TTX_GOODS: [
|
|
25259
|
-
|
|
25260
|
-
|
|
25261
|
-
|
|
25262
|
-
|
|
25263
|
-
|
|
25264
|
-
|
|
25265
|
-
|
|
25266
|
-
|
|
25267
|
-
|
|
25268
|
-
|
|
25269
|
-
|
|
25270
|
-
|
|
25271
|
-
|
|
25272
|
-
|
|
25273
|
-
|
|
25274
|
-
|
|
25275
|
-
|
|
25258
|
+
TTX_GOODS: [{
|
|
25259
|
+
dataIndex: 'skuName',
|
|
25260
|
+
title: 'SKU名称',
|
|
25261
|
+
width: 150,
|
|
25262
|
+
render: renderTextEllipsis
|
|
25263
|
+
}, {
|
|
25264
|
+
dataIndex: 'skuCode',
|
|
25265
|
+
title: 'SKU编码',
|
|
25266
|
+
width: 150,
|
|
25267
|
+
render: renderTextEllipsis
|
|
25268
|
+
}, {
|
|
25269
|
+
dataIndex: 'sourceSpuId',
|
|
25270
|
+
title: '平台商品ID',
|
|
25271
|
+
width: 150,
|
|
25272
|
+
render: renderTextEllipsis
|
|
25273
|
+
}, {
|
|
25274
|
+
dataIndex: 'sourceSkuId',
|
|
25275
|
+
title: '平台SKU ID',
|
|
25276
|
+
width: 150,
|
|
25277
|
+
render: renderTextEllipsis
|
|
25278
|
+
}, {
|
|
25279
|
+
dataIndex: 'requestQty',
|
|
25280
|
+
title: '要求发货数量',
|
|
25281
|
+
width: 150,
|
|
25282
|
+
render: renderTextEllipsis
|
|
25283
|
+
}, {
|
|
25284
|
+
dataIndex: 'shipQty',
|
|
25285
|
+
title: '已发货数量',
|
|
25286
|
+
width: 150,
|
|
25287
|
+
render: renderTextEllipsis
|
|
25288
|
+
}, {
|
|
25289
|
+
dataIndex: 'returnQty',
|
|
25290
|
+
title: '退货数量',
|
|
25291
|
+
width: 150,
|
|
25292
|
+
render: renderTextEllipsis
|
|
25293
|
+
}, {
|
|
25294
|
+
dataIndex: 'listPrice',
|
|
25295
|
+
title: '零售价/标价',
|
|
25296
|
+
width: 150,
|
|
25297
|
+
render: renderTextEllipsis
|
|
25298
|
+
}, {
|
|
25299
|
+
dataIndex: 'netPrice',
|
|
25300
|
+
title: '客户实付单价',
|
|
25301
|
+
width: 150,
|
|
25302
|
+
render: renderTextEllipsis
|
|
25303
|
+
}, {
|
|
25304
|
+
dataIndex: 'msrPrice',
|
|
25305
|
+
title: '建议零售价',
|
|
25306
|
+
width: 150,
|
|
25307
|
+
render: renderTextEllipsis
|
|
25308
|
+
}, {
|
|
25309
|
+
dataIndex: 'itemTotalAmount',
|
|
25310
|
+
title: '商品总金额',
|
|
25311
|
+
width: 150,
|
|
25312
|
+
render: renderTextEllipsis
|
|
25313
|
+
}, {
|
|
25314
|
+
dataIndex: 'totalPayAmount',
|
|
25315
|
+
title: '实付金额',
|
|
25316
|
+
width: 150,
|
|
25317
|
+
render: renderTextEllipsis
|
|
25318
|
+
}, {
|
|
25319
|
+
dataIndex: 'isGift',
|
|
25320
|
+
title: '是否赠品',
|
|
25321
|
+
width: 150,
|
|
25322
|
+
render: function render(value) {
|
|
25323
|
+
return renderTextEllipsis(getYesOrNo$4(value));
|
|
25324
|
+
},
|
|
25325
|
+
renderExport: getYesOrNo$4,
|
|
25326
|
+
headerMapping: {
|
|
25327
|
+
transformValue: getYesOrNo$4,
|
|
25276
25328
|
renderExport: getYesOrNo$4
|
|
25277
|
-
}
|
|
25329
|
+
}
|
|
25330
|
+
}, {
|
|
25331
|
+
dataIndex: 'bomType',
|
|
25332
|
+
title: 'BOM类型',
|
|
25333
|
+
width: 150,
|
|
25334
|
+
render: function render(value) {
|
|
25335
|
+
return renderTextEllipsis(getTtxBomTypeName(value));
|
|
25336
|
+
},
|
|
25337
|
+
renderExport: getTtxBomTypeName,
|
|
25338
|
+
headerMapping: {
|
|
25339
|
+
transformValue: getTtxBomTypeName,
|
|
25278
25340
|
renderExport: getTtxBomTypeName
|
|
25279
|
-
}
|
|
25341
|
+
}
|
|
25342
|
+
}, {
|
|
25343
|
+
dataIndex: 'bomSkuCode',
|
|
25344
|
+
title: 'BOM商品编码',
|
|
25345
|
+
width: 150,
|
|
25346
|
+
render: renderTextEllipsis
|
|
25347
|
+
}, {
|
|
25348
|
+
dataIndex: 'platformSpuCode',
|
|
25349
|
+
title: '商品货号',
|
|
25350
|
+
width: 150,
|
|
25351
|
+
render: renderTextEllipsis
|
|
25352
|
+
}, {
|
|
25353
|
+
dataIndex: 'platformSkuCode',
|
|
25354
|
+
title: 'SKU货号',
|
|
25355
|
+
width: 150,
|
|
25356
|
+
render: renderTextEllipsis
|
|
25357
|
+
}].map(function (item) {
|
|
25358
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
25359
|
+
align: 'center',
|
|
25360
|
+
ellipsis: true
|
|
25361
|
+
});
|
|
25280
25362
|
})
|
|
25281
25363
|
};
|
|
25282
25364
|
};
|
|
@@ -27407,7 +27489,7 @@ var getWdtOrderListSingleton = function getWdtOrderListSingleton(orderNo) {
|
|
|
27407
27489
|
billType: WDT_ORDER_TYPE_MAP[item.tradeType],
|
|
27408
27490
|
billTag: item.tagName || item.tags,
|
|
27409
27491
|
tradeStatusValue: tradeStatusMap === null || tradeStatusMap === void 0 ? void 0 : (_tradeStatusMap$data$ = tradeStatusMap[data.data.version]) === null || _tradeStatusMap$data$ === void 0 ? void 0 : _tradeStatusMap$data$[item.tradeStatus],
|
|
27410
|
-
warehouseType: warehouseTypeMap === null || warehouseTypeMap === void 0 ? void 0 : (_warehouseTypeMap$dat = warehouseTypeMap[data.data.version]) === null || _warehouseTypeMap$dat === void 0 ? void 0 : _warehouseTypeMap$dat[item.
|
|
27492
|
+
warehouseType: warehouseTypeMap === null || warehouseTypeMap === void 0 ? void 0 : (_warehouseTypeMap$dat = warehouseTypeMap[data.data.version]) === null || _warehouseTypeMap$dat === void 0 ? void 0 : _warehouseTypeMap$dat[item.warehouseType],
|
|
27411
27493
|
logisticsName: ExpressData.getInstance('wdt').getExpressNameByCode(item === null || item === void 0 ? void 0 : item.logisticsCode, false) || (item === null || item === void 0 ? void 0 : item.logisticsName)
|
|
27412
27494
|
});
|
|
27413
27495
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.10.9-beta.
|
|
3
|
+
"version": "2.10.9-beta.37",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "2aae3ba8dbfc4b29bc85214fd50fa6fef3baa80e"
|
|
70
70
|
}
|