|
@@ -55,20 +55,26 @@
|
|
|
height="700"
|
|
|
>
|
|
|
<el-table-column type="index" label="序号" width="50"></el-table-column>
|
|
|
- <el-table-column
|
|
|
+ <el-table-column
|
|
|
class="table_td"
|
|
|
prop="contractNo"
|
|
|
label="合同编号"
|
|
|
width="100"
|
|
|
>
|
|
|
- </el-table-column>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div class="record"
|
|
|
+ @click="lookContract(scope.row)">{{ scope.row.contractNo}}</div>
|
|
|
+ </template></el-table-column>
|
|
|
<el-table-column
|
|
|
class="table_td"
|
|
|
prop="salePlan"
|
|
|
label="销售计划"
|
|
|
width="130"
|
|
|
>
|
|
|
- </el-table-column>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div class="record"
|
|
|
+ @click="lookPlan(scope.row)">{{ scope.row.salePlan}}</div>
|
|
|
+ </template></el-table-column>
|
|
|
<el-table-column class="table_td" prop="customer" label="客户">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="record" @click="customer(scope.row)">
|
|
@@ -1056,6 +1062,34 @@ export default {
|
|
|
},
|
|
|
})
|
|
|
},
|
|
|
+ //查看计划
|
|
|
+ lookPlan(row) {
|
|
|
+ this.$router.push({
|
|
|
+ path: 'salesPlanLook',
|
|
|
+ query: {
|
|
|
+ id: row.planId,
|
|
|
+ },
|
|
|
+ })
|
|
|
+ },
|
|
|
+ //查看合同
|
|
|
+ lookContract(row) {
|
|
|
+ if(row.goodsType==1){
|
|
|
+ this.$router.push({
|
|
|
+ name: 'salesContractExamine',
|
|
|
+ query: {
|
|
|
+ id: row.contractId,
|
|
|
+ },
|
|
|
+ })
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ this.$router.push({
|
|
|
+ name: 'futuresSalesContractExamine',
|
|
|
+ query: {
|
|
|
+ id: row.contractId,
|
|
|
+ },
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
//完成
|
|
|
handle(item) {
|
|
|
this.$confirm(`状态修改为已完成后不可再进行交易操作,是否确定修改?`, {
|