jufubao-mall 2.0.86-beta2 → 2.0.86-beta3
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/package.json
CHANGED
|
@@ -1343,17 +1343,20 @@
|
|
|
1343
1343
|
toService() {
|
|
1344
1344
|
if(this.$configProject['isPreview']) return;
|
|
1345
1345
|
const product = this.base_info;
|
|
1346
|
+
const price = this.choseSkuPrice.sale_price || (product.prices && product.prices.sale_price) || 0;
|
|
1346
1347
|
const content = {
|
|
1347
1348
|
title: product ? product.product_name : '',
|
|
1348
1349
|
desc: this.choseSkuName || '',
|
|
1349
1350
|
picture: product && product.thumb ? getServiceUrl(product.thumb, 'size4') : '',
|
|
1350
1351
|
url: location.href,
|
|
1352
|
+
goodsId: product ? product.product_id + '' : 0,
|
|
1353
|
+
note: "¥" + price/100,
|
|
1351
1354
|
};
|
|
1352
1355
|
jfbRootExec("updateCustomerService", {
|
|
1353
1356
|
vm: this,
|
|
1354
1357
|
data: {
|
|
1355
1358
|
namespace: this.xnamespace,
|
|
1356
|
-
supplier_id: this.brand_info.
|
|
1359
|
+
supplier_id: this.brand_info.supplier_id,
|
|
1357
1360
|
content: JSON.stringify(content)
|
|
1358
1361
|
}
|
|
1359
1362
|
}).then(res => {
|