Commit e7d14fd7 authored by 黄奎's avatar 黄奎

新增购物店删除

parent c85d2388
......@@ -46,7 +46,8 @@
</td>
<td class="_height_45">
<!--公司-->
{{subItem.BName}}
{{subItem.BName}} &nbsp;
<span @click="DeleteItem(subItem)" style="color:blue;cursor:pointer;text-decoration:underline;">删除</span>
</td>
<td class="more_td" v-if="subIndex==0" :rowspan="item.ShopDetailsList.length">
<el-input v-model="item.ShopDetailsList[0].EnterTime" placeholder="2019-01-01"
......@@ -292,6 +293,23 @@
},
err => {}
);
},
DeleteItem(item) {
var that=this;
this.Confirm("是否要删除此数据?删除后将不能恢复.", function () {
var msg = {
Id: item.Id
};
that.apipost("dmcstatistics_post_RemovePriceShopDetails", msg,
res => {
if (res.data.resultCode == 1) {
that.Success('删除成功!');
that.getList();
} else {
that.Error(res.data.data);
}
}, null);
});
}
},
mounted() {
......
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