Commit 32bdec61 authored by 黄奎's avatar 黄奎

页面修改

parent 1a22de5b
...@@ -38,7 +38,8 @@ ...@@ -38,7 +38,8 @@
.BilldownLoadCommon table td { .BilldownLoadCommon table td {
text-align: left; text-align: left;
} }
.newAopbdd{
.newAopbdd {
font-weight: bold; font-weight: bold;
display: inline-block; display: inline-block;
width: 25px; width: 25px;
...@@ -50,6 +51,7 @@ ...@@ -50,6 +51,7 @@
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
} }
</style> </style>
<template> <template>
<div class="flexOne quoTation"> <div class="flexOne quoTation">
...@@ -216,29 +218,38 @@ ...@@ -216,29 +218,38 @@
</div> </div>
</div> </div>
<div style="width:134px;"> <div style="width:134px;">
<span class="openGroup newAopbdd" @click="goToOpenTravel(item)" v-if="item.TravelState==3&&item.OpenState==2"> <span class="openGroup newAopbdd" @click="goToOpenTravel(item)"
v-if="item.TravelState==3&&item.OpenState==2">
<el-tooltip class="item" effect="dark" content="开团" placement="top-start" popper-class="max-w250"> <el-tooltip class="item" effect="dark" content="开团" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-nav-hangzheng"></i> <i class="iconfont icon-nav-hangzheng"></i>
</el-tooltip> </el-tooltip>
</span> </span>
<span v-if="userInfo.EmployeeId==615" class="bianji newAopbdd" @click="goMakeQuo('QuotationNewPrice',item.ID)"> <span v-if="userInfo.EmployeeId==615" class="bianji newAopbdd"
@click="goMakeQuo('QuotationNewPrice',item.ID)">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start" <el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start"
popper-class="max-w250"> popper-class="max-w250">
<i class="iconfont icon-bianji-smal"></i> <i class="iconfont icon-bianji-smal"></i>
</el-tooltip> </el-tooltip>
</span> </span>
<span class="bianji newAopbdd" @click="goMakeQuo('QuotationNewPrice',item.ID)" v-if="item.TravelState==1||item.TravelState==4||item.TravelState==5"> <span class="bianji newAopbdd" @click="goMakeQuo('QuotationNewPrice',item.ID)"
v-if="item.TravelState==1||item.TravelState==4||item.TravelState==5">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start" <el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start"
popper-class="max-w250"> popper-class="max-w250">
<i class="iconfont icon-bianji-smal"></i> <i class="iconfont icon-bianji-smal"></i>
</el-tooltip> </el-tooltip>
</span> </span>
<span class="QT-delete newAopbdd" @click="delQuotation(item.ID)" v-if="item.TravelState==1||item.TravelState==4||item.TravelState==5"> <span class="QT-delete newAopbdd" @click="delQuotation(item.ID)"
v-if="item.TravelState==1||item.TravelState==4||item.TravelState==5">
<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"
popper-class="max-w250"> popper-class="max-w250">
<i class="iconfont icon-shanchu"></i> <i class="iconfont icon-shanchu"></i>
</el-tooltip> </el-tooltip>
</span> </span>
<span style="background:#85ce61; " class="openGroup opbdList">
<el-tooltip class="item" effect="dark" content="查看" placement="top-start" popper-class="max-w250">
<span @click="goUrl('QuotationAduit',item.ID,1)"></span>
</el-tooltip>
</span>
<span style="background:#85ce61; " class="newAopbdd" @click="showDownLoad(item)"> <span style="background:#85ce61; " class="newAopbdd" @click="showDownLoad(item)">
<el-tooltip class="item" effect="dark" content="下载" placement="top-start" popper-class="max-w250"> <el-tooltip class="item" effect="dark" content="下载" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-bb-xiazai"></i> <i class="iconfont icon-bb-xiazai"></i>
...@@ -315,7 +326,7 @@ ...@@ -315,7 +326,7 @@
export default { export default {
data() { data() {
return { return {
userInfo:{}, userInfo: {},
queryData: { queryData: {
LineId: 0, LineId: 0,
LineteamId: 0, LineteamId: 0,
...@@ -393,6 +404,23 @@ ...@@ -393,6 +404,23 @@
commonTeamInfo: commonTeamInfo commonTeamInfo: commonTeamInfo
}, },
methods: { methods: {
goUrl(path, configId, qType) {
if (configId > 0) {
this.$router.push({
name: path,
query: {
configId: configId,
Qtype: qType,
blank: 'y',
tab: '报价单查看'
}
});
} else {
this.$router.push({
name: path
});
}
},
handleCurrentChange(val) { handleCurrentChange(val) {
this.queryData.pageIndex = val; this.queryData.pageIndex = val;
this.getList(); this.getList();
...@@ -635,4 +663,5 @@ ...@@ -635,4 +663,5 @@
this.getList(); this.getList();
} }
}; };
</script>
\ No newline at end of file </script>
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