Commit 42505083 authored by zhengke's avatar zhengke

增加合同提交审核

parent d5676542
......@@ -297,13 +297,13 @@
<span @click="isShowPop=true">查看合同</span>
<q-popup-proxy v-if="isShowPop">
<q-banner>
<div style="width: 520px;max-height:220px;overflow:auto;">
<div style="width: 550px;max-height:220px;overflow:auto;">
<table class="Contract_Table">
<tr>
<th>姓名</th>
<th style="width:180px;">合同编号</th>
<th>状态</th>
<th width="170px;">操作</th>
<th width="200px;">操作</th>
</tr>
<tr v-for="subItem in item.GuestList">
<td>{{subItem.GuestName}}</td>
......@@ -316,6 +316,7 @@
</template>
<template v-else>
<q-btn color="secondary" size="sm" @click="goContractMannage(subItem)" label="查看合同" />
<q-btn style="margin-left:5px;" v-if="subItem.ContractStatus==0" color="purple" size="sm" @click="goContractAudit(subItem)" label="提交审核" />
</template>
</td>
</tr>
......@@ -814,7 +815,8 @@
queryEmployee //员工列表
} from '../../api/users/user'
import {
SetOrderReceiveContract //领取合同
SetOrderReceiveContract, //领取合同
SetEducationContractAudit
} from '../../api/sale/contract'
export default {
......@@ -1333,6 +1335,25 @@
this.OpenNewUrl("/financial/cycleOrderList", {
OrderId: OrderId
});
},
//合同提交审核
goContractAudit(subItem){
let msg = {
ContractId: subItem.ContractId,
State: 1
}
SetEducationContractAudit(msg).then(res => {
if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '修改成功!',
position: 'top'
})
this.$emit('success');
}
})
}
}
}
......
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