Commit 0930326c by LJM

bug

parent 1e8638bd
Showing with 16 additions and 25 deletions
...@@ -250,36 +250,24 @@ ...@@ -250,36 +250,24 @@
<el-table-column prop="stock" label="库存数量" width="120" :show-overflow-tooltip="true" align="center"></el-table-column> <el-table-column prop="stock" label="库存数量" width="120" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="cn_ladder_price" label="国内含税价" width="120" :show-overflow-tooltip="true" align="center"> <el-table-column prop="cn_ladder_price" label="国内含税价" width="120" :show-overflow-tooltip="true" align="center">
<template slot-scope="scope" v-if="scope.row.cn_ladder_price&&scope.row.cn_ladder_price.length>0"> <template slot-scope="scope" v-if="scope.row.cn_ladder_price&&scope.row.cn_ladder_price.length>0">
<div class="price-more"> <el-popover effect="light" trigger="hover" placement="bottom">
<el-tooltip placement="bottom" effect="light"> <p class="row" v-for="item in scope.row.cn_ladder_price">
<div slot="content"> <span>{{ item.purchases }}+</span>
<div class="boxxrth2021"> <span style="margin-left: 5px">&yen;{{ item.price }}</span>
<p class="clr" v-for="item in scope.row.cn_ladder_price">
<span class="fl">{{ item.purchases }}+</span>
<span class="fl">&yen;{{ item.price }}</span>
</p> </p>
</div> <a slot="reference" href="javascript:;" class="alink">查看</a>
</div> </el-popover>
<div class="more-search-btn">查看更多</div>
</el-tooltip>
</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="hk_ladder_price" label="香港交货价" width="120" :show-overflow-tooltip="true" align="center"> <el-table-column prop="hk_ladder_price" label="香港交货价" width="120" :show-overflow-tooltip="true" align="center">
<template slot-scope="scope" v-if="scope.row.hk_ladder_price&&scope.row.hk_ladder_price.length>0"> <template slot-scope="scope" v-if="scope.row.hk_ladder_price&&scope.row.hk_ladder_price.length>0">
<div class="price-more"> <el-popover effect="light" trigger="hover" placement="bottom">
<el-tooltip placement="bottom" effect="light"> <p class="row" v-for="item in scope.row.hk_ladder_price">
<div slot="content"> <span>{{ item.purchases }}+</span>
<div class="boxxrth2021"> <span style="margin-left: 5px">&yen;{{ item.price }}</span>
<p class="clr" v-for="item in scope.row.hk_ladder_price">
<span class="fl">{{ item.purchases }}+</span>
<span class="fl">${{ item.price }}</span>
</p> </p>
</div> <a slot="reference" href="javascript:;" class="alink">查看</a>
</div> </el-popover>
<div class="more-search-btn">查看更多</div>
</el-tooltip>
</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="cn_delivery_time" label="大陆交期" width="100" :show-overflow-tooltip="true" align="center"></el-table-column> <el-table-column prop="cn_delivery_time" label="大陆交期" width="100" :show-overflow-tooltip="true" align="center"></el-table-column>
...@@ -726,11 +714,12 @@ export default { ...@@ -726,11 +714,12 @@ export default {
*匹配库存选择修改报价 一部分数据是来自当前报价的第一条 *匹配库存选择修改报价 一部分数据是来自当前报价的第一条
*/ */
editSku(row) { editSku(row) {
let data = this.currentQuotoDataList[0];
this.title = '修改报价'; this.title = '修改报价';
this.dialogVisible = true; this.dialogVisible = true;
this.isModify = true; //标记修改状态 this.isModify = true; //标记修改状态
if (this.currentQuotoDataList.length > 0) {
let data = this.currentQuotoDataList[0];
this.ruleForm.inquiry_sn = data.inquiry_sn; this.ruleForm.inquiry_sn = data.inquiry_sn;
this.ruleForm.inquiry_id = data.inquiry_id; this.ruleForm.inquiry_id = data.inquiry_id;
this.ruleForm.inquiry_items_id = data.inquiry_items_id; this.ruleForm.inquiry_items_id = data.inquiry_items_id;
...@@ -758,6 +747,8 @@ export default { ...@@ -758,6 +747,8 @@ export default {
} else { } else {
this.ruleForm.expire_time = data.expire_time; this.ruleForm.expire_time = data.expire_time;
} }
}
}, },
/** /**
* 编辑修改 * 编辑修改
......
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 sign in to comment