Commit cfea887c authored by 黄奎's avatar 黄奎

景点报价修改

parent dd6aa01d
......@@ -438,7 +438,6 @@
if (res.data.resultCode == 1) {
this.total = res.data.data.count;
this.dataList = res.data.data.pageData;
console.log(this.dataList,'datalist');
} else {
this.$message.error(res.data.message)
}
......
......@@ -394,7 +394,7 @@ input[type="number"] {
<el-col :span="2">
<div class="LM_BTNList">
<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 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>
......@@ -691,9 +691,17 @@ export default {
this.addMsg.CurrentRate = "";
},
//修改报价信息
updateData(index) {
var ticketPrice = this.tableData[index];
this.addMsg = JSON.parse(JSON.stringify(ticketPrice));
updateData(ID) {
this.apipost(
"ticketcouponsprice_post_Get",
{ID:ID},
res => {
if (res.data.resultCode == 1) {
this.addMsg = res.data.data;
}
},
err => {}
);
},
//获取所有币种
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