|
|
@@ -1,7 +1,7 @@
|
|
1
|
1
|
<template>
|
|
2
|
2
|
<view class="product-add-wrapper">
|
|
3
|
3
|
<view class="headers">
|
|
4
|
|
- <headersVue headerTitle="添加商品" @headerJump="headerJump"></headersVue>
|
|
|
4
|
+ <headersVue :headerTitle="headerTitle" @headerJump="headerJump"></headersVue>
|
|
5
|
5
|
<view class="headers-title">
|
|
6
|
6
|
<view class="content">
|
|
7
|
7
|
该功能仅支持单规格商品快速添加,可在PC端编辑
|
|
|
@@ -483,11 +483,13 @@ export default {
|
|
483
|
483
|
product_id: "",
|
|
484
|
484
|
fengMianImage: [], //封面
|
|
485
|
485
|
lunBoTuImage: [], //轮播图
|
|
|
486
|
+ headerTitle:"添加单规格商品"
|
|
486
|
487
|
};
|
|
487
|
488
|
},
|
|
488
|
489
|
async onLoad(e) {
|
|
489
|
490
|
this.product_id = e.product_id || "";
|
|
490
|
491
|
this.clickType = e.clickType;
|
|
|
492
|
+ this.headerTitle = e.clickType=="updated"?'编辑单规格商品':'添加单规格商品'
|
|
491
|
493
|
await this.getGoodsClassCategoryData();
|
|
492
|
494
|
await this.getMerchantProfit();
|
|
493
|
495
|
if (this.clickType == "updated" && this.product_id) {
|