Commit cfea887c authored by 黄奎's avatar 黄奎

景点报价修改

parent dd6aa01d
...@@ -438,7 +438,6 @@ ...@@ -438,7 +438,6 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.total = res.data.data.count; this.total = res.data.data.count;
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
console.log(this.dataList,'datalist');
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
......
...@@ -394,7 +394,7 @@ input[type="number"] { ...@@ -394,7 +394,7 @@ input[type="number"] {
<el-col :span="2"> <el-col :span="2">
<div class="LM_BTNList"> <div class="LM_BTNList">
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" circle icon="el-icon-edit" @click="isShowDIv = true,divTitle='修改报价',updateData(index)"></el-button> <el-button type="primary" circle icon="el-icon-edit" @click="isShowDIv = true,divTitle='修改报价',updateData(item.ID)"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('system.table_delete')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('system.table_delete')" placement="top-start">
<el-button type="danger" circle icon="el-icon-delete" @click="isdelete(item.ID)"></el-button> <el-button type="danger" circle icon="el-icon-delete" @click="isdelete(item.ID)"></el-button>
...@@ -691,9 +691,17 @@ export default { ...@@ -691,9 +691,17 @@ export default {
this.addMsg.CurrentRate = ""; this.addMsg.CurrentRate = "";
}, },
//修改报价信息 //修改报价信息
updateData(index) { updateData(ID) {
var ticketPrice = this.tableData[index]; this.apipost(
this.addMsg = JSON.parse(JSON.stringify(ticketPrice)); "ticketcouponsprice_post_Get",
{ID:ID},
res => {
if (res.data.resultCode == 1) {
this.addMsg = res.data.data;
}
},
err => {}
);
}, },
//获取所有币种 //获取所有币种
getAllCurrency() { getAllCurrency() {
......
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