Commit d1c3f3a4 authored by zhengke's avatar zhengke

修改

parent 3991fff4
...@@ -78,7 +78,8 @@ ...@@ -78,7 +78,8 @@
<th width="130">操作</th> <th width="130">操作</th>
</tr> </tr>
<tr v-for="(item, index) in dataList" :key="index"> <tr v-for="(item, index) in dataList" :key="index">
<td>{{ item.ID }}</td> <td>{{ item.ID }}
</td>
<td> <td>
<template v-if="item.CType == 2"> <template v-if="item.CType == 2">
境内旅游合同 境内旅游合同
...@@ -91,7 +92,6 @@ ...@@ -91,7 +92,6 @@
</template> </template>
</td> </td>
<td>{{ item.T_ContractNum }}</td> <td>{{ item.T_ContractNum }}</td>
<td>{{ item.Tourists_Name }}</td> <td>{{ item.Tourists_Name }}</td>
<td>{{ item.TravelAgency_Name }}</td> <td>{{ item.TravelAgency_Name }}</td>
<td>{{ item.TravelAgency_DealMan }}</td> <td>{{ item.TravelAgency_DealMan }}</td>
...@@ -116,22 +116,22 @@ ...@@ -116,22 +116,22 @@
@click="goContract('SingleContract', item.ID, '单项委托合同')"></el-button> @click="goContract('SingleContract', item.ID, '单项委托合同')"></el-button>
</template> </template>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="复制" placement="top-start"> <el-tooltip class="item" effect="dark" content="复制" placement="top-start">
<el-button type="warning" icon="iconfont icon-copy" circle @click="CopyContract(item)" style="padding:4px;"></el-button> <el-button type="warning" icon="iconfont icon-copy" circle @click="CopyContract(item)" style="padding:4px;"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="下载" placement="top-start"> <el-tooltip class="item" effect="dark" content="下载" placement="top-start">
<el-button type="success" icon="el-icon-download" circle @click="DownLoadContract(item)"></el-button> <el-button type="success" icon="el-icon-download" circle @click="DownLoadContract(item)"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="取消" placement="top-start"> <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>
<el-tooltip class="item" effect="dark" content="提交并盖章" placement="top-start">
<el-button type="danger" icon="el-icon-close" circle @click="SubmitContract(item)"></el-button>
</el-tooltip>
</td> </td>
</tr> </tr>
</table> </table>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"> layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total">
</el-pagination> </el-pagination>
...@@ -179,6 +179,27 @@ ...@@ -179,6 +179,27 @@
this.getList(); this.getList();
}, },
methods: { methods: {
//提交并盖章
SubmitContract(item)
{
var that = this;
this.Confirm("是否提交并盖章此合同?", function () {
that.apipost(
"travelcontract_post_UpdateTravelContractSignService", {
ID: item.ID
},
res => {
if (res.data.resultCode == 1) {
that.Success(res.data.message);
that.getList();
} else {
that.Error(res.data.message);
}
},
err => {}
);
});
},
//复制合同 //复制合同
CopyContract(item) { CopyContract(item) {
//获取列表数据 //获取列表数据
......
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