Commit ab3e064c authored by zhengke's avatar zhengke

修改

parent a6db5015
......@@ -293,6 +293,7 @@
Type: 1,
Content: '',
}
this.hfMsg.Content=row.Reply;
this.addDig = true;
},
czsubmitForm() {
......@@ -367,7 +368,32 @@
OrderDetailIds: item.OrderDetailId,
Type: index,
}
this.commonSet(msg);
if(index==6){
this.delComent(msg);
}else{
this.commonSet(msg);
}
},
delComent(msg){
let that = this;
that.$confirm("确认删除?", '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.apipost("/api/order/SetCommentBatchByOrderDetailId", msg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.Success(res.data.message)
this.getList();
this.addDig = false;
} else {
this.Error(res.data.message)
}
})
}).catch(() => {
});
},
commonSet(msg) {
this.apipost("/api/order/SetCommentBatchByOrderDetailId", msg, res => {
......
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