刘璐珈

This commit is contained in:
Vergil
2020-02-26 18:12:42 +08:00
parent 00a2116efe
commit 0b6cb6f55a
12 changed files with 460 additions and 254 deletions

View File

@@ -66,26 +66,41 @@
{{ !scope.row.公布日期 ? '未公布' : scope.row.公布日期.substring(0 , scope.row.公布日期.length - 8) }}
</template>
</el-table-column>
<el-table-column align="center" label="招标企业" prop="招标企业" width="140" show-overflow-tooltip>
<el-table-column align="center" label="招标企业" prop="招标企业" width="160" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.招标企业 }}
</template>
</el-table-column>
<el-table-column align="center" label="联系人" width="80">R
<el-table-column align="center" label="项目名称" prop="项目名称" width="160" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.联系人 }}
</template>
</el-table-column>
<el-table-column align="center" label="联系电话" width="100">
<template slot-scope="scope">
{{ scope.row.联系电话 }}
{{ scope.row.项目名称 }}
</template>
</el-table-column>
<!--<el-table-column align="center" label="联系人" width="80">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.联系人 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column align="center" label="联系电话" width="100">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.联系电话 }}-->
<!--</template>-->
<!--</el-table-column>-->
<el-table-column align="center" label="保证金金额(万元)" width="100">
<template slot-scope="scope">
<span style="width: 80px" size="mini">{{ Number(scope.row.保证金金额).toFixed(2) }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="投标日期" width="86">
<template slot-scope="scope">
{{ scope.row.投标日期.substring(0, scope.row.投标日期.length - 8) }}
</template>
</el-table-column>
<el-table-column align="center" label="投标人" prop="投标人" width="80">
<template slot-scope="scope">
{{ scope.row.投标人 }}
</template>
</el-table-column>
<el-table-column align="center" label="中标服务费(万元)" width="100">
<template slot-scope="scope">
{{ Number(scope.row.中标服务费).toFixed(2) }}
@@ -112,40 +127,30 @@
{{ Number(scope.row.未收金额).toFixed(2) }}
</template>
</el-table-column>
<el-table-column align="center" label="投标人" prop="投标人" width="80">
<template slot-scope="scope">
{{ scope.row.投标人 }}
</template>
</el-table-column>
<el-table-column align="center" label="保金类型" width="80">
<template slot-scope="scope">
{{ scope.row.保证金类型 }}
</template>
</el-table-column>
<el-table-column align="center" label="投标日期" width="86">
<template slot-scope="scope">
{{ scope.row.投标日期.substring(0, scope.row.投标日期.length - 8) }}
</template>
</el-table-column>
<el-table-column align="center" label="计划收回日期" width="86">
<template slot-scope="scope">
{{ !scope.row.预计收回日期 ? '结果未公布' : scope.row.预计收回日期.substring(0, scope.row.预计收回日期.length - 8) }}
</template>
</el-table-column>
<el-table-column align="center" label="实际收回日期" width="86">
<template slot-scope="scope">
{{ !scope.row.实际收回日期 ? '未收回' : scope.row.实际收回日期.substring(0, scope.row.实际收回日期.length - 8) }}
</template>
</el-table-column>
<el-table-column align="center" label="状态" width="80">
<template slot-scope="scope">
<el-tag v-if="scope.row.预计收回日期===''||scope.row.预计收回日期===null" slot="reference" size="mini" style="width: 66px">未公布</el-tag>
<el-tag v-else-if="scope.row.预计收回日期!==''&&scope.row.预计收回日期!==null&&parseInt(scope.row.是否收回)===2" slot="reference" type="success" size="mini" style="width: 66px">已收回</el-tag>
<el-tag v-else-if="scope.row.预计收回日期!==''&&scope.row.预计收回日期!==null&&parseInt(scope.row.状态) ===0" slot="reference" type="primary" size="mini" style="width: 66px">未开始</el-tag>
<el-tag v-else-if="scope.row.预计收回日期!==''&&scope.row.预计收回日期!==null&&parseInt(scope.row.状态) ===1" slot="reference" type="warning" size="mini" style="width: 66px">即将拖期</el-tag>
<el-tag v-else-if="scope.row.预计收回日期!==''&&scope.row.预计收回日期!==null&&parseInt(scope.row.状态) ===2" slot="reference" type="danger" size="mini" style="width: 66px">已拖期</el-tag>
</template>
</el-table-column>
<!--<el-table-column align="center" label="计划收回日期" width="86">-->
<!--<template slot-scope="scope">-->
<!--{{ !scope.row.预计收回日期 ? '结果未公布' : scope.row.预计收回日期.substring(0, scope.row.预计收回日期.length - 8) }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column align="center" label="实际收回日期" width="86">-->
<!--<template slot-scope="scope">-->
<!--{{ !scope.row.实际收回日期 ? '未收回' : scope.row.实际收回日期.substring(0, scope.row.实际收回日期.length - 8) }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column align="center" label="状态" width="80">-->
<!--<template slot-scope="scope">-->
<!--<el-tag v-if="scope.row.预计收回日期===''||scope.row.预计收回日期===null" slot="reference" size="mini" style="width: 66px">未公布</el-tag>-->
<!--<el-tag v-else-if="scope.row.预计收回日期!==''&&scope.row.预计收回日期!==null&&parseInt(scope.row.是否收回)===2" slot="reference" type="success" size="mini" style="width: 66px">已收回</el-tag>-->
<!--<el-tag v-else-if="scope.row.预计收回日期!==''&&scope.row.预计收回日期!==null&&parseInt(scope.row.状态) ===0" slot="reference" type="primary" size="mini" style="width: 66px">未开始</el-tag>-->
<!--<el-tag v-else-if="scope.row.预计收回日期!==''&&scope.row.预计收回日期!==null&&parseInt(scope.row.状态) ===1" slot="reference" type="warning" size="mini" style="width: 66px">即将拖期</el-tag>-->
<!--<el-tag v-else-if="scope.row.预计收回日期!==''&&scope.row.预计收回日期!==null&&parseInt(scope.row.状态) ===2" slot="reference" type="danger" size="mini" style="width: 66px">已拖期</el-tag>-->
<!--</template>-->
<!--</el-table-column>-->
<el-table-column align="center" label="备注" width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.备注 }}
@@ -267,6 +272,14 @@
type="date"
placeholder="收回日期"/>
</el-form-item>
<el-form-item label="回收金额(万元)" prop="回收金额">
<el-input
v-model="form1.回收金额"
:disabled =
"size=&quot;small&quot;"
style="width: 160px"
placeholder=""/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button size="small" icon="el-icon-circle-close" @click="callOff('form1')">取消</el-button>
@@ -321,18 +334,23 @@
</el-form-item>
</el-col>
</el-row>
<!--<el-row>-->
<!--<el-col :span="12">-->
<!--<el-form-item label="投标日期" prop="投标日期">-->
<!--<el-date-picker-->
<!--v-model="form2.投标日期"-->
<!--style="width: 200px;"-->
<!--value-format="yyyy-MM-dd"-->
<!--size="small"-->
<!--type="date"-->
<!--placeholder="投标日期"/>-->
<!--</el-form-item>-->
<!--</el-col>-->
<el-row>
<el-col :span="12">
<el-form-item label="投标日期" prop="投标日期">
<el-date-picker
v-model="form2.投标日期"
style="width: 200px;"
value-format="yyyy-MM-dd"
size="small"
type="date"
placeholder="投标日期"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="备注" prop="备注">
<el-input v-model="form2.备注" size="small" placeholder="请输入备注" style="width: 200px;"/>
</el-form-item>
</el-col>
<!--<el-col :span="12">-->
<!--<el-form-item label="公布后X天收回" prop="提前X天提醒我">-->
<!--<el-input-number v-model="form2.提前X天提醒我" :step="1" style="width: 200px" size="small"/>-->
@@ -349,13 +367,6 @@
<!--&lt;!&ndash;placeholder="收回日期"/>&ndash;&gt;-->
<!--&lt;!&ndash;</el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;</el-col>&ndash;&gt;-->
<!--</el-row>-->
<el-row>
<el-col :span="12">
<el-form-item label="备注" prop="备注">
<el-input v-model="form2.备注" size="small" placeholder="请输入备注" style="width: 560px;"/>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
@@ -376,7 +387,8 @@
placeholder="请选择结果公布日期"/>
</el-form-item>
<el-form-item label="中标服务费(万元)" prop="中标服务费">
<el-input-number :disabled="tenderResultDisabled" v-model="Timeform.中标服务费" :precision="2" :min="0.00" :max="tenderResultMax" style="width: 200px" size="small"/>
<el-input-number :disabled="tenderResultDisabled" v-model="Timeform.中标服务费" :precision="2" :min="0.00" style="width: 200px" size="small"/>
<!--:max="tenderResultMax"-->
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
@@ -390,7 +402,7 @@
<el-row>
<el-col :span="12">
<el-form-item label="项目名称" prop="项目名称">
<el-select v-model="PerformanceBondform.项目名称" filterable clearable placeholder="请选择项目名称" style="width: 200px" size="small">
<el-select v-model="PerformanceBondform.项目名称" :disabled = "true" filterable clearable placeholder="请选择项目名称" style="width: 200px" size="small">
<el-option
v-for="item in entryName"
:key="item.value"
@@ -402,7 +414,7 @@
</el-row>
<el-row>
<el-form-item label="保证金金额(万元)" prop="保证金金额">
<el-input-number v-model="PerformanceBondform.保证金金额" :precision="2" :step="1" :min="0" style="width: 200px" size="small"/>
<el-input-number v-model="PerformanceBondform.保证金金额" :precision="2" :step="1" :min="0" :max="PerformanceBondform.保证金金额max" style="width: 200px" size="small"/>
</el-form-item>
</el-row>
<el-row>
@@ -542,7 +554,8 @@ export default {
dialogFormVisible1: false,
dialogTimeVisible: false,
form1: {
收回日期: ''
收回日期: '',
回收金额: 0
},
Timeform: {
投标结果公布日期: '',
@@ -553,7 +566,8 @@ export default {
保证金类型: 1,
收回条件: 1,
截止时间: 15,
保证金金额: ''
保证金金额: '',
保证金金额max: 0
},
form2: {
招标企业: '',
@@ -702,8 +716,10 @@ export default {
this.peoplename = ''
},
TakeBack(row) {
console.log(row, 1111)
this.addForm('form1')
this.timetime = row.投标日期
this.form1.回收金额 = row.应收回金额
this.changeTime()
this.dialogFormVisible1 = true
this.code = row.招标保证金流水号
@@ -740,10 +756,23 @@ export default {
this.dialogFormVisible2 = false
},
ComplianceGold(row) {
console.log(row, 999)
if (row.项目流水号 === '') {
this.$message.error('请先将保证金绑定合同')
return
}
this.entryName = []
console.log(this.entryName)
this.addForm('PerformanceBondform')
this.entryName.push({
value: parseInt(row.项目流水号),
label: row.项目名称
})
this.PerformanceBondform.项目名称 = parseInt(this.entryName[0].value)
this.code = row.招标保证金流水号
this.dialogPerformanceBondVisible = true
this.PerformanceBondform.保证金金额 = row.应收回金额
this.PerformanceBondform.保证金金额max = Number(row.应收回金额)
},
addBidBond() {
this.addForm('form2')
@@ -802,6 +831,7 @@ export default {
changeTenderResult(row) {
this.code = row.招标保证金流水号
// this.tenderResultMax = Number(row.应收回金额)).toFixed(2)
this.Timeform.中标服务费 = 0
this.tenderResultMax = parseFloat(row.应收回金额)
if (row.投标结果 === '1') {
this.radio = '1'