Commit 6c58b40f authored by 我在何方's avatar 我在何方

增加特价跳转

parent 1d20b622
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
>跟进</el-button> >跟进</el-button>
<el-button type="primary" size="mini" @click="toResult" <el-button type="primary" size="mini" @click="toResult"
>结果</el-button> >结果</el-button>
<el-button size="mini" type="primary">特价</el-button> <el-button size="mini" type="primary" @click="$router.push('/offer/special/' + offerId)">特价</el-button>
<el-button type="danger" size="mini" @click="handleDelete" <el-button type="danger" size="mini" @click="handleDelete"
>删除</el-button> >删除</el-button>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div slot="header" class="card-title">跟进记录列表</div> <div slot="header" class="card-title">跟进记录列表</div>
<!-- 列表 --> <!-- 列表 -->
<div class="offer-header"> <div class="offer-header">
<span style="font-size: 15px;">报价单号:{{list.length>0?list[0].number:''}}</span> <span style="font-size: 15px;">报价单号:{{number}}</span>
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
>新增</el-button> >新增</el-button>
</div> </div>
...@@ -64,6 +64,7 @@ export default { ...@@ -64,6 +64,7 @@ export default {
offerId:0, offerId:0,
type:2 type:2
}, },
number:'',
relationId:0, relationId:0,
creatorName:'test', creatorName:'test',
}; };
...@@ -91,6 +92,7 @@ export default { ...@@ -91,6 +92,7 @@ export default {
getRelationID(){ getRelationID(){
getOffer(this.params.offerId).then(response => { getOffer(this.params.offerId).then(response => {
this.relationId = response.data.consignorId; this.relationId = response.data.consignorId;
this.number = response.data.number;
}) })
}, },
/** 新增按钮操作 */ /** 新增按钮操作 */
...@@ -99,7 +101,7 @@ export default { ...@@ -99,7 +101,7 @@ export default {
path: "/offer/createLog", path: "/offer/createLog",
query:{ query:{
offerId:this.params.offerId, offerId:this.params.offerId,
number:this.list[0].number, number:this.number,
relationId:this.relationId, relationId:this.relationId,
} }
}); });
......
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