Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
22acec72
authored
Jul 13, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
导入弹窗-提示说明
parent
1ffa05a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
23 deletions
src/views/List/inquire.vue
src/views/Store/enter.vue
src/views/List/inquire.vue
View file @
22acec72
...
...
@@ -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
:
'请勾选报价单状态为“待确认,确认中'
,
...
...
src/views/Store/enter.vue
View file @
22acec72
...
...
@@ -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
:
[],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment