diff --git a/src/api/provider.js b/src/api/provider.js index c7de50d..ede21d5 100644 --- a/src/api/provider.js +++ b/src/api/provider.js @@ -50,6 +50,6 @@ export const FetchProviderArticleAts = (providerArticle)=>{ return provider.post(`/${providerArticle.providerId}/ats/fetch/${providerArticle.skuID}`) } -export const FetchProviderArticleDetail = (pid)=>{ - return provider.post(`/${providerArticle.providerId}/detail/fetch/${pid}`) +export const FetchProviderArticleDetail = (providerId, pid)=>{ + return provider.post(`/${providerId}/detail/fetch/${pid}`) } \ No newline at end of file diff --git a/src/componse/fetch-article/fetch-article-panel.vue b/src/componse/fetch-article/fetch-article-panel.vue new file mode 100644 index 0000000..7d16c47 --- /dev/null +++ b/src/componse/fetch-article/fetch-article-panel.vue @@ -0,0 +1,124 @@ + + + + \ No newline at end of file diff --git a/src/componse/provider-article/provider-article-panel.vue b/src/componse/provider-article/provider-article-panel.vue index a8d9590..08b1f3b 100644 --- a/src/componse/provider-article/provider-article-panel.vue +++ b/src/componse/provider-article/provider-article-panel.vue @@ -32,12 +32,12 @@ {{provider.cost.calMark}} -
当前到手价:¥ {{provider.cost.finalPrice || '-'}}
+
当前到手价:¥ {{provider.cost.finalPrice.toFixed(2) || '-'}}
拉取价格
-
当前到手价:¥ {{provider.cost.finalPrice || '-'}}
+
当前到手价:¥ {{provider.cost.finalPrice.toFixed(2) || '-'}}
拉取价格
diff --git a/src/views/article/index.vue b/src/views/article/index.vue index e8c1214..39107a7 100644 --- a/src/views/article/index.vue +++ b/src/views/article/index.vue @@ -1,7 +1,9 @@