Commit 57f26ce6 authored by 吴春's avatar 吴春
parents eb31fcbb 4bd88f12
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
getList(); getList();
resetPageIndex(); resetPageIndex();
" /> " />
<el-dropdown size="medium" @command="getImport" split-button type="primary" @click="handleClick" <el-dropdown size="medium" @command="getImport" split-button type="primary" @click="handleClick"
style="padding-left:5px;"> style="padding-left:5px;">
一日游合同 一日游合同
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
<el-button type="info" icon="iconfont icon-copy-l" circle @click="GetQrCode(item)" <el-button type="info" icon="iconfont icon-copy-l" circle @click="GetQrCode(item)"
style="padding:4px;background-color:#9266f9;border-color:#9266f9;"></el-button> style="padding:4px;background-color:#9266f9;border-color:#9266f9;"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="取消" placement="top-start" v-if="item.Status==0"> <el-tooltip class="item" effect="dark" content="作废" placement="top-start">
<el-button type="danger" icon="el-icon-close" circle @click="DeleteContract(item)"></el-button> <el-button type="danger" icon="el-icon-close" circle @click="DeleteContract(item)"></el-button>
</el-tooltip> </el-tooltip>
...@@ -439,17 +439,17 @@ ...@@ -439,17 +439,17 @@
//删除合同 //删除合同
DeleteContract(item) { DeleteContract(item) {
var that = this; var that = this;
this.Confirm("是否取消此合同?", function () { this.Confirm("是否作废此合同?", function () {
var msg = { var msg = {
ID: item.ID, ID: item.ID,
Status: 4 Status: 5
}; };
that.apipost( that.apipost(
"travelcontract_post_UpdateTravelContractStatusService", "travelcontract_post_UpdateTravelContractStatusService",
msg, msg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
that.Success("取消成功!"); that.Success("作废成功!");
that.getList(); that.getList();
} else { } else {
that.Error(res.data.message); that.Error(res.data.message);
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<p> <p>
<span></span> <span></span>
<span :class="[isView?'':'HiddenNum']">{{isView?data.totalCommission:'***'}}</span> <span :class="[isView?'':'HiddenNum']">{{isView?data.totalCommission:'***'}}</span>
<div style="width: 20px;height: auto; position: absolute;right: -30px;top: 15px; cursor: pointer;color: #232323;" <div style="width: 20px;height: auto; position: absolute;right: -30px;top: -15px; cursor: pointer;color: #232323;"
@click.stop="isView=!isView"> @click.stop="isView=!isView">
<el-icon class="iconfont" <el-icon class="iconfont"
:class="[isView?'icon-chakan':'icon-yincang']" :class="[isView?'icon-chakan':'icon-yincang']"
......
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
<p> <p>
<span></span> <span></span>
<span :class="[isView?'':'HiddenNum']">{{isView?data.OPCommission:'***'}}</span> <span :class="[isView?'':'HiddenNum']">{{isView?data.OPCommission:'***'}}</span>
<div style="width: 20px;height: auto; position: absolute;right: -30px;top: 15px; cursor: pointer;color: #232323;" <div style="width: 20px;height: auto; position: absolute;right: -30px;top: -15px; cursor: pointer;color: #232323;"
@click.stop="isView=!isView"> @click.stop="isView=!isView">
<el-icon class="iconfont" <el-icon class="iconfont"
:class="[isView?'icon-chakan':'icon-yincang']" :class="[isView?'icon-chakan':'icon-yincang']"
......
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