Commit 03d04967 authored by zhengke's avatar zhengke

修改

parent 2317467a
...@@ -277,11 +277,11 @@ ...@@ -277,11 +277,11 @@
let Ids = ""; let Ids = "";
let IdList = []; let IdList = [];
this.SelectList.forEach(item => { this.SelectList.forEach(item => {
IdList.push(item.Id); IdList.push(item.OrderDetailId);
}) })
Ids = IdList.join(','); Ids = IdList.join(',');
this.hfMsg = { this.hfMsg = {
CommentIds: Ids, OrderDetailIds: Ids,
Type: 1, Type: 1,
Content: '', Content: '',
} }
...@@ -321,11 +321,11 @@ ...@@ -321,11 +321,11 @@
let Ids = ""; let Ids = "";
let IdList = []; let IdList = [];
this.SelectList.forEach(item => { this.SelectList.forEach(item => {
IdList.push(item.Id); IdList.push(item.OrderDetailId);
}) })
Ids = IdList.join(','); Ids = IdList.join(',');
let msg = { let msg = {
CommentIds: Ids, OrderDetailIds: Ids,
Type: index, Type: index,
} }
let str = ""; let str = "";
...@@ -370,7 +370,7 @@ ...@@ -370,7 +370,7 @@
this.commonSet(msg); this.commonSet(msg);
}, },
commonSet(msg) { commonSet(msg) {
this.apipost("/api/order/SetGoodsCommentBatch", msg, res => { this.apipost("/api/order/SetCommentBatchByOrderDetailId", msg, res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message) this.Success(res.data.message)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment