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
5017f8eb
authored
Jul 26, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
配置有效期-期货
parent
149ebd7e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
16 deletions
src/views/Store/enter.vue
src/views/User/login.vue
src/views/Store/enter.vue
View file @
5017f8eb
...
...
@@ -58,23 +58,26 @@
<!--导入数据确认-->
<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;">
<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;"
>
上传的商品,有效日期最高可设置为
{{
cp_time_day
}}
天,
{{
cp_time_day
}}
天后会自动从【猎芯网】下架;
</span>
<p
class=
"tt"
style=
"font-size: 13px;margin-bottom: 0;"
>
上架最高天数:现货:{{ cp_time_day == 0 ? '无限制' : cp_time_day + '天' }};期货:{{ futures_cp_time_day == 0 ? '无限制' : futures_cp_time_day + '天' }}
</p>
<p
class=
"tt"
style=
"font-size: 13px;font-weight: normal;margin-bottom: 0;color: #ff7e11;"
>
<
template
v-if=
"cp_time_day == 0"
>
现货类型的商品,有效日期最高可填写到2035/1/1(长期有效)
</
template
>
<
template
v-else
>
现货类型的商品,有效日期最高可设置为
{{
cp_time_day
}}
天,
{{
cp_time_day
}}
天后会自动从【猎芯网】下架
</
template
>
</p>
<p
class=
"tt"
style=
"font-size: 13px;font-weight: normal;color: #ff7e11;"
>
<
template
v-if=
"futures_cp_time_day == 0"
>
期货类型的商品,有效日期最高可填写到2035/1/1(长期有效)
</
template
>
<
template
v-else
>
上传最高天数:
<span
style=
"color: #ff7e11;font-weight: normal;"
>
上传的商品,有效日期最高可填写到2035/1/1(长期有效);
</span>
期货类型的商品,有效日期最高可设置为
{{
futures_cp_time_day
}}
天,
{{
futures_cp_time_day
}}
天后会自动从【猎芯网】下架
</
template
>
</p>
<!-- <p style="color: #ff7e11;font-size: 12px;margin-bottom: 5px;">
上传型号的品牌,必须是以上的主营品牌才允许上传成功<br/>
如果品牌没在“主营品牌”中,则会上传失败,可联系“{{ sku_user_name }}”添加上主营品牌后,重新上传
</p>-->
<p
class=
"tt"
style=
"font-size: 13px;"
>
<p
class=
"tt"
style=
"font-size: 12px;"
>
上传的型号经由猎芯审核通过后,会展示在【猎芯网】进行售卖,并参与【猎芯询报价】系统自动推送询价
<br/>
您此次上传的型号是否要对已在【猎芯网】展示的型号进行覆盖或是新增?
</p>
...
...
@@ -111,7 +114,8 @@ export default {
name
:
"enter"
,
data
()
{
return
{
cp_time_day
:
localStorage
.
getItem
(
'cp_time_day'
)
||
''
,
cp_time_day
:
localStorage
.
getItem
(
'cp_time_day'
)
||
''
,
futures_cp_time_day
:
localStorage
.
getItem
(
'futures_cp_time_day'
)
||
''
,
uploading
:
false
,
progress
:
0
,
brand
:
[],
...
...
@@ -154,7 +158,7 @@ export default {
importChange
()
{
this
.
dialogVisible
=
true
;
this
.
progress
=
0
;
this
.
uploading
=
false
;
this
.
uploading
=
false
;
this
.
getSupplierBrand
();
},
/**
...
...
@@ -229,7 +233,7 @@ export default {
});
}
else
{
this
.
progress
=
0
;
this
.
uploading
=
false
;
this
.
uploading
=
false
;
this
.
$message
({
message
:
file
.
msg
,
type
:
'warning'
...
...
src/views/User/login.vue
View file @
5017f8eb
...
...
@@ -165,8 +165,12 @@ export default {
sessionStorage
.
removeItem
(
'tabs'
);
localStorage
.
removeItem
(
'supplier_id'
);
localStorage
.
removeItem
(
'cp_time_day'
);
localStorage
.
removeItem
(
'futures_cp_time_day'
);
localStorage
.
setItem
(
'supplier_id'
,
res
.
data
.
supplier_id
);
localStorage
.
setItem
(
'cp_time_day'
,
res
.
data
.
cp_time_day
);
localStorage
.
setItem
(
'futures_cp_time_day'
,
res
.
data
.
futures_cp_time_day
);
Util
.
setCookie
(
"token"
,
res
.
data
.
api_token
,
1
);
//强制要求微信绑定
if
(
!
res
.
data
.
is_bind_wechat
)
{
...
...
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