Commit faf4b7c8 authored by 张冬's avatar 张冬

应收账款

parent 489d79c0
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</div> </div>
<!-- 在线对话 --> <!-- 在线对话 -->
<div class="dialogue" style="margin-top: 30px;" v-show="dialogue"> <div class="dialogue" style="margin-top: 30px;" v-show="dialogue">
<JwChat :taleList="dialogueList" scrollType @enter="bindEnter" v-model="content" :toolConfig="tool" > <JwChat :taleList="dialogueList" scrollType="scroll" @enter="bindEnter" v-model="content" :toolConfig="tool" >
</JwChat> </JwChat>
</div> </div>
<!-- <!--
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
<template slot-scope="scope"> <template slot-scope="scope">
<div class="flex"> <div class="flex">
<div> <div>
<el-button type="text" size="small" @click="contractSign(scope.row.projectId)" v-if="scope.row.constractOperation==1">合同签署</el-button> <el-button type="text" size="small" @click="contractSign(scope.row)" v-if="scope.row.constractOperation==1">合同签署</el-button>
<el-button type="text" size="small" @click="contractSign(scope.row.projectId)" v-else-if="scope.row.constractOperation==2">合同查看</el-button> <el-button type="text" size="small" @click="contractSee(scope.row)" v-else-if="scope.row.constractOperation==2">合同查看</el-button>
<el-button type="text" size="small" v-else disabled>合同查看</el-button> <el-button type="text" size="small" v-else disabled>合同查看</el-button>
</div> </div>
<div> <div>
...@@ -84,11 +84,23 @@ ...@@ -84,11 +84,23 @@
this.sendData.tenderCompanyId = localStorage.getItem("companyId") this.sendData.tenderCompanyId = localStorage.getItem("companyId")
}, },
methods: { methods: {
contractSign(id) { contractSign(row) {
this.$router.push(`/purchaser/buyOut/contractSign?id=${id}`) this.$router.push({
name:"/purchaser/buyOut/contractSign",
params:{
id:row.projectId,
url:row.tenderIframeUrl
}
})
}, },
contractSee(id) { contractSee(id) {
this.$router.push(`/purchaser/buyOut/contractSee?id=${id}`) this.$router.push({
name:"/purchaser/buyOut/contractSign",
params:{
id:row.projectId,
url:row.contractUrl
}
})
}, },
voucherSee(id) { voucherSee(id) {
this.$router.push(`/purchaser/buyOut/voucherSee?id=${id}`) this.$router.push(`/purchaser/buyOut/voucherSee?id=${id}`)
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
<h5>签署合同</h5> <h5>签署合同</h5>
</div> </div>
<div class="content"> <div class="content">
<div class="flex"> <iframe :src="url" frameborder="0" style="width:100%;height:600px"></iframe>
<!-- <div class="flex">
<div>下载合同:</div> <div>下载合同:</div>
<ul> <ul>
<li class="flex-item"> <li class="flex-item">
...@@ -21,12 +22,12 @@ ...@@ -21,12 +22,12 @@
<div class="button flex-center"> <div class="button flex-center">
<el-button @click="revoke">撤销签章</el-button> <el-button @click="revoke">撤销签章</el-button>
<el-button>电子签章</el-button> <el-button>电子签章</el-button>
</div> </div> -->
</div> </div>
<div class="bottomButton"> <!-- <div class="bottomButton">
<el-button @click="back">取消</el-button> <el-button @click="back">取消</el-button>
<el-button type="primary" @click="submitData">提交</el-button> <el-button type="primary" @click="submitData">提交</el-button>
</div> </div> -->
</div> </div>
</template> </template>
...@@ -42,13 +43,15 @@ ...@@ -42,13 +43,15 @@
}, },
data() { data() {
return { return {
url:"",
breads: ['应收账款买断管理', '应收账款买断列表'], breads: ['应收账款买断管理', '应收账款买断列表'],
detail:"", detail:"",
id:"" id:""
} }
}, },
created() { created() {
this.id=this.$route.query.id this.id=this.$route.params.id
this.url=this.$route.params.url
this.getcontract() this.getcontract()
}, },
methods: { methods: {
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</div> </div>
<!-- 在线对话 --> <!-- 在线对话 -->
<div class="dialogue" style="margin-top: 30px;" v-show="dialogue"> <div class="dialogue" style="margin-top: 30px;" v-show="dialogue">
<JwChat :taleList="dialogueList" scrollType @enter="bindEnter" v-model="content" :toolConfig="tool" > <JwChat :taleList="dialogueList" scrollType="scroll" @enter="bindEnter" v-model="content" :toolConfig="tool" >
</JwChat> </JwChat>
</div> </div>
<!-- <div class="dialogue" style="margin-top: 30px;" v-show="dialogue"> <!-- <div class="dialogue" style="margin-top: 30px;" v-show="dialogue">
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</div> </div>
<div class="centerButton"> <div class="centerButton">
<el-button type="primary" @click="dialogFormVisible = true">我要报价</el-button> <el-button type="primary" @click="dialogFormVisible = true">我要报价</el-button>
<el-button type="primary" @click="see">查看报价供应商情况</el-button> <el-button type="primary" @click="see">查看其它供应商报价</el-button>
</div> </div>
</slot> </slot>
</priceDetail> </priceDetail>
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
</div> </div>
</el-dialog> </el-dialog>
<!-- 报价供应商情况 --> <!-- 报价供应商情况 -->
<el-dialog :visible.sync="offerBidder" title="报价供应商情况"> <el-dialog :visible.sync="offerBidder" title="查看其它供应商报价">
<dataTable :table-data="offerBidderlist" :columns="查看其它供应商报价" :is-index="true"> <dataTable :table-data="offerBidderlist" :columns="offerBiddercolumns" :is-index="true">
</dataTable> </dataTable>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="offerBidder = false">取 消</el-button> <el-button @click="offerBidder = false">取 消</el-button>
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
}, },
created() { created() {
this.getDropList(); this.getDropList();
this.sendData.tenderCompanyId = localStorage.getItem("companyId") this.sendData.bidCompanyId = localStorage.getItem("companyId")
}, },
methods: { methods: {
contractSign(id) { contractSign(id) {
......
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
}, 1500); }, 1500);
} else { } else {
this.$message.error(msg); this.$message.error(msg);
} }
} }
} catch (e) { } catch (e) {
console.log(e); console.log(e);
......
...@@ -514,6 +514,7 @@ export default new Router({ ...@@ -514,6 +514,7 @@ export default new Router({
}, },
{ {
path: '/purchaser/buyOut/contractSign', path: '/purchaser/buyOut/contractSign',
name:"/purchaser/buyOut/contractSign",
show: true, show: true,
component: () => import('../pages/purchaser/buyOut/contractSign.vue') component: () => import('../pages/purchaser/buyOut/contractSign.vue')
}, },
......
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