Commit 22acec72 by LJM

导入弹窗-提示说明

parent 1ffa05a4
......@@ -60,7 +60,7 @@
<div class="operation-button row verCenter">
<el-button type="primary" @click="exportChange">导出</el-button>
<el-button type="danger" @click="del">删除</el-button>
<el-button type="primary" @click="editInquire">报价</el-button>
<el-button type="primary" @click="editInquire()">报价</el-button>
</div>
<div class="text-tip row verCenter">
<i class="el-icon-warning"></i>
......@@ -95,8 +95,8 @@
</el-table-column>
<el-table-column prop="i_status" label="状态" width="100" :show-overflow-tooltip="true" align="center">
<template slot-scope="scope">
<el-tag v-if="scope.row.i_status==2" type="success">已报价</el-tag>
<el-tag v-else-if="scope.row.i_status==1">待报价</el-tag>
<el-tag v-if="scope.row.i_status==2" type="success" @click="editInquire(scope.row.id)">已报价</el-tag>
<el-tag v-else-if="scope.row.i_status==1" @click="editInquire(scope.row.id)">待报价</el-tag>
<el-tag v-else-if="scope.row.i_status==9" type="danger">已删除</el-tag>
<el-tag v-else-if="scope.row.i_status==-1" type="warning">已关闭</el-tag>
</template>
......@@ -721,28 +721,34 @@ export default {
/**
* 报价按钮
*/
editInquire() {
if (this.multipleSelection.length != 1) {
this.$message({
showClose: true,
message: '请选择一条询价信息',
type: 'warning'
});
return;
}
editInquire(id) {
if (id) {
var inquiry_item_id = id;
} else {
if (this.multipleSelection.length != 1) {
this.$message({
showClose: true,
message: '请选择一条询价信息',
type: 'warning'
});
return;
}
//询价单状态为“待报价,已报价
if (this.multipleSelection[0].i_status == -1) {
this.$message({
showClose: true,
message: '请勾选待报价,已报价',
type: 'warning'
});
return;
//询价单状态为“待报价,已报价
if (this.multipleSelection[0].i_status == -1) {
this.$message({
showClose: true,
message: '请勾选待报价,已报价',
type: 'warning'
});
return;
}
var inquiry_item_id = this.multipleSelection[0].id;
}
this.$http('GET', "/api/inquiry/detail", {
inquiry_item_id: this.multipleSelection[0].id
inquiry_item_id: inquiry_item_id
}).then(res => {
if (res.code === 0) {
if (res.data.quote_list.length > 0) {
......@@ -782,7 +788,7 @@ export default {
} else {
this.ruleForm.expire_time = data.expire_time;
}
}else {
} else {
this.$message({
showClose: true,
message: '请勾选报价单状态为“待确认,确认中',
......
......@@ -58,9 +58,17 @@
<!--导入数据确认-->
<el-dialog title="导入数据确认" :close-on-click-modal="false" :visible.sync="dialogVisible" width="700px">
<div class="dialog-text">
<p class="tt row" style="margin-bottom: 5px;">
<!-- <p class="tt row" style="margin-bottom: 5px;">
<span style="white-space: nowrap">主营品牌:</span>
<span style="color: #606266;font-size: 12px;font-weight: normal;">{{ brand }}{{ brand }}{{ brand }}</span>
</p>-->
<p class="tt" style="font-size: 13px;">
<template v-if="cp_time_day > 0">
上传最高天数:{{ cp_time_day }}<span style="color: #ff7e11;font-weight: normal;">上传的商品,有效日期最高可设置为7天,{{cp_time_day}}天后会自动从【猎芯网】下架;</span>
</template>
<template v-else>
上传最高天数:<span style="color: #ff7e11;font-weight: normal;">上传的商品,有效日期最高可填写到2035/1/1(长期有效);</span>
</template>
</p>
<p style="color: #ff7e11;font-size: 12px;margin-bottom: 5px;">
上传型号的品牌,必须是以上的主营品牌才允许上传成功<br/>
......@@ -103,6 +111,7 @@ export default {
name: "enter",
data() {
return {
cp_time_day:localStorage.getItem('cp_time_day') || '',
uploading: false,
progress: 0,
brand: [],
......
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