diff --git a/src/api/marketIng.js b/src/api/marketIng.js
new file mode 100644
index 0000000..e69de29
diff --git a/src/api/product/info.js b/src/api/product/info.js
index c668d71..0f1cf09 100644
--- a/src/api/product/info.js
+++ b/src/api/product/info.js
@@ -38,7 +38,7 @@ export function updateInfo(data) {
return request({
url: '/product/info/'+data.projectAddModel.id,
method: 'put',
- data: data.projectAddModel
+ data: data
})
}
diff --git a/src/views/marketIng/index.vue b/src/views/marketIng/index.vue
new file mode 100644
index 0000000..9cce60d
--- /dev/null
+++ b/src/views/marketIng/index.vue
@@ -0,0 +1,265 @@
+
+
+
+
添加拼团
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ fit }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 确 定
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
设置活动开启结束时间,用户可以在设置时间内发起参与拼团
+
+
+
+
+
+
+
用户发起拼团后开始计时,需在设置时间内邀请到规定好友人数参团,超过时效时间,则系统判定拼团失败,自动发起退款
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
商品详情:
+
+
![]()
+
+
+
+
+
+
+
上一步
+
下一步
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/product/attribute/index.vue b/src/views/product/attribute/index.vue
index d1b259f..453ec91 100644
--- a/src/views/product/attribute/index.vue
+++ b/src/views/product/attribute/index.vue
@@ -181,12 +181,17 @@ export default {
// 表单重置
reset() {
this.form = {
- id: null,
- code: null,
- name: null,
- createBy: null,
- createTime: null,
- remark: null
+ projectImage: null,
+ activityName: null,
+ activities: null,
+ projectUnit: null,
+ carouselImages: null,
+ endTime: null,
+ strategyId: null,
+ strategyType: null,
+ projectSkuList: null,
+ weight: null,
+ goodsDetails: null
};
this.resetForm("form");
},
diff --git a/src/views/product/category/index.vue b/src/views/product/category/index.vue
index 1108899..cba2583 100644
--- a/src/views/product/category/index.vue
+++ b/src/views/product/category/index.vue
@@ -246,7 +246,7 @@ export default {
watch: {
'form.parentId': {
handler(val){
- if (val !== undefined && val !== 0 && val != null){
+ if (val !== undefined && val !== null && val !== 0 && val != null && this.id ===null ){
parentCommonElement(val).then(response => {
this.attributeInfoList = response.data.attributeInfoList;
this.attributeGroupList = response.data.attributeGroupList;
@@ -358,11 +358,17 @@ export default {
handleUpdate(row) {
this.reset();
this.getTreeselect();
- if (row != null) {
- this.form.parentId = row.parentId;
- }
+
getCategory(row.id).then(response => {
this.form = response.data;
+ if (row != null) {
+ this.form.parentId = row.parentId;
+ }
+ parentCommonElement(row.id).then(response => {
+ this.attributeInfoList = response.data.attributeInfoList;
+ this.attributeGroupList = response.data.attributeGroupList;
+ this.brandInfoList = response.data.brandInfoList;
+ })
this.open = true;
this.title = "修改品类信息";
});
diff --git a/src/views/product/info/index.vue b/src/views/product/info/index.vue
index 370b6eb..cd97b4e 100644
--- a/src/views/product/info/index.vue
+++ b/src/views/product/info/index.vue
@@ -312,7 +312,7 @@
-
+