jufubao-admin-library 1.1.160 → 1.1.161
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.
|
@@ -141,6 +141,7 @@
|
|
|
141
141
|
uiSkusHeaders(){
|
|
142
142
|
let purchase_price_name = this.$setting['system'] === 'supplier' ? '供货商' :this.$setting['system'] === 'open-dist' ?'分销价':'进货价';
|
|
143
143
|
return [
|
|
144
|
+
{"type": "normal", "prop": "product_sku", "align": "center", "min-width": 200, "label": "规格ID"},
|
|
144
145
|
{"type": "normal", "prop": "stands", "align": "left", "min-width": 200, "label": "规格"},
|
|
145
146
|
this.isShowPurchasePrice && {"type": "price", "prop": "purchase_price", "align": "center", "min-width": 80, "label": purchase_price_name},
|
|
146
147
|
{"type": "price", "prop": "jfb_price", "align": "center", "min-width": 80, "label": "建议零售价"},
|
|
@@ -181,7 +182,7 @@
|
|
|
181
182
|
getTableDataFromResponseData(data = []) {
|
|
182
183
|
let list = this.$xdHelper.cloneDeep(data);
|
|
183
184
|
return list.map((item) => {
|
|
184
|
-
let {specs, stocks, sku_uniq_id, standards} = item;
|
|
185
|
+
let {specs, stocks, sku_uniq_id, standards,product_sku} = item;
|
|
185
186
|
let imgStandIndex = standards.findIndex((ss) => ss.image);
|
|
186
187
|
if (imgStandIndex > -1) {
|
|
187
188
|
let imgUrl = standards[imgStandIndex].image;
|
|
@@ -215,6 +216,7 @@
|
|
|
215
216
|
...specs,
|
|
216
217
|
...stocks,
|
|
217
218
|
sku_uniq_id,
|
|
219
|
+
product_sku,
|
|
218
220
|
standards,
|
|
219
221
|
};
|
|
220
222
|
});
|