Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
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
a67a4816
authored
Nov 14, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
我的询价有效期
parent
17458eaf
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
69 additions
and
7 deletions
Application/Home/View/QuotePrice/inquiry.html
Application/Home/View/QuotePrice/inquirydetail.html
Application/Home/View/QuotePrice/quotedetail.html
dist/css/inquiry.css
dist/css/inquiry.less
dist/css/inquirydetail.css
dist/css/inquirydetail.less
dist/js/quoteprice/inquiry.js
dist/js/quoteprice/releaseinquiry.js
Application/Home/View/QuotePrice/inquiry.html
View file @
a67a4816
...
...
@@ -79,11 +79,15 @@
<
div
class
=
"type fl bold ellipsis boxsiz"
>
{{
item
.
goods_name
}}
<
/div
>
<
div
class
=
"brand fl ellipsis boxsiz"
>
品牌:
<
span
>
{{
item
.
brand_name
}}
<
/span></
div
>
<
div
class
=
"num fl ellipsis boxsiz"
>
数量:
<
span
>
PCS
{{
item
.
number
}}
<
/span></
div
>
{{
#
if
(
item
.
offer_num
){
}}
{{
#
if
(
item
.
end_time
<
item
.
current_time
){
}}
<
div
class
=
"bj_status fl ellipsis boxsiz bold gq"
>
已过期
<
/div
>
{{
#
}
else
{
}}
{{
#
if
(
item
.
offer_num
){
}}
<
div
class
=
"bj_status fl ellipsis boxsiz numbj bold"
>
{{
item
.
offer_num
}}
个报价
<
/div
>
{{
#
}
else
{
}}
<
div
class
=
"bj_status fl ellipsis boxsiz dd bold"
>
等待报价
<
/div
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
[
'audit_status'
]
==
1
){
}}
{{
#
if
(
item
[
'status'
]
==
1
){
}}
<
div
class
=
"data_status fl boxsiz zs"
>
...
...
Application/Home/View/QuotePrice/inquirydetail.html
View file @
a67a4816
...
...
@@ -62,7 +62,7 @@
{{
#
}
}}
<
/div
>
<
/div
>
<
div
class
=
"desc inquiry_desc"
style
=
"margin-right:
224
px"
>
<
div
class
=
"desc inquiry_desc"
style
=
"margin-right:
35
px"
>
<
div
class
=
"brand fl boxsiz ellipsis"
>
品牌:
<
span
>
{{
d
.
brand_name
}}
<
/span
>
<
/div
>
...
...
Application/Home/View/QuotePrice/quotedetail.html
View file @
a67a4816
...
...
@@ -134,7 +134,7 @@
<
/div
>
<
/div
>
<
div
class
=
"desc"
>
<
div
class
=
"desc
quote_detail_desc"
style
=
"margin-right:0
"
>
<
div
class
=
"brand fl boxsiz ellipsis"
>
品牌:
<
span
>
{{
d
.
brand_name
}}
<
/span
>
<
/div
>
...
...
@@ -157,6 +157,7 @@
{{
#
}
}}
<
/div
>
<
div
class
=
"num fl boxsiz ellipsis"
>
数量:
<
span
class
=
"bold"
>
{{
d
.
number
}}
PCS
<
/span></
div
>
<
div
class
=
"hq fl boxsiz ellipsis"
>
货期:
<
span
>
{{
d
.
delivery_time
}}
<
/span></
div
>
<
div
class
=
"yxq fl boxsiz ellipsis"
>
询价有效期:
<
span
>
{{
d
.
end_time_date
||
'--'
}}
<
/span></
div
>
<
div
class
=
"bz fl boxsiz ellipsis"
>
备注:
<
span
>
{{
d
.
remark
||
'--'
}}
<
/span></
div
>
<
/div
>
<
/div
>
...
...
dist/css/inquiry.css
View file @
a67a4816
...
...
@@ -276,6 +276,10 @@
.quote_content
.inquiry_data
.data_list
.data_item
.bj_status.numbj
{
color
:
#EAA217
;
}
.inquiry_content
.inquiry_data
.data_list
.data_item
.bj_status.gq
,
.quote_content
.inquiry_data
.data_list
.data_item
.bj_status.gq
{
color
:
#686E73
;
}
.inquiry_content
.inquiry_data
.data_list
.data_item
.data_status
,
.quote_content
.inquiry_data
.data_list
.data_item
.data_status
{
width
:
12%
;
...
...
dist/css/inquiry.less
View file @
a67a4816
...
...
@@ -287,6 +287,9 @@
&.numbj{
color:#EAA217;
}
&.gq{
color:#686E73;
}
}
...
...
dist/css/inquirydetail.css
View file @
a67a4816
...
...
@@ -93,9 +93,37 @@
color
:
#515559
;
}
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
{
.quote_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
,
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
{
margin-right
:
274px
;
}
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
div
.brand
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
div
.brand
,
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
div
.brand
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
div
.brand
,
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
div
.num
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
div
.num
,
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
div
.num
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
div
.num
{
width
:
45%
;
}
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
div
.hq
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
div
.hq
,
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
div
.hq
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
div
.hq
{
width
:
30%
;
}
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
div
.yxq
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
div
.yxq
,
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
div
.yxq
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
div
.yxq
,
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
div
.price
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.inquiry_desc
div
.price
,
.inquiry_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
div
.price
,
.quote_detail_content
.goods_detail
.goods_desc
.desc.quote_detail_desc
div
.price
{
width
:
25%
;
}
.inquiry_detail_content
.goods_detail
.goods_desc
.desc
div
,
.quote_detail_content
.goods_detail
.goods_desc
.desc
div
{
font-size
:
14px
;
...
...
dist/css/inquirydetail.less
View file @
a67a4816
...
...
@@ -95,10 +95,26 @@
}
.desc {
&.inquiry_desc {
&.inquiry_desc
,&.quote_detail_desc
{
margin-right: 274px;
div {
&.brand,
&.num {
width: 45%;
}
&.hq {
width: 30%;
}
&.yxq, &.price {
width: 25%
}
}
}
div {
font-size: 14px;
color: #ADB6BF;
...
...
@@ -349,7 +365,8 @@
.bj_btn {
width: 220px;
margin: 50px auto 0;
&.disabled{
&.disabled {
background-color: #DAE1E7;
cursor: not-allowed;
}
...
...
dist/js/quoteprice/inquiry.js
View file @
a67a4816
...
...
@@ -38,6 +38,11 @@ $(function () {
var
getTpl
=
htmlTp
.
innerHTML
;
if
(
res
.
errcode
===
0
)
{
$
(
'#pagination'
).
show
();
var
currentTime
=
new
Date
().
toLocaleDateString
();
var
currentTimeStap
=
new
Date
(
currentTime
+
' 23:59:59'
).
getTime
()
/
1000
;
for
(
var
k
in
res
.
inquiry_list
){
res
.
inquiry_list
[
k
].
current_time
=
currentTimeStap
}
layui
.
laytpl
(
getTpl
).
render
(
res
.
inquiry_list
,
function
(
html
)
{
$
(
".inquiry_data"
).
empty
().
html
(
html
);
layui
.
laypage
.
render
({
...
...
dist/js/quoteprice/releaseinquiry.js
View file @
a67a4816
...
...
@@ -11,7 +11,7 @@
elem
:
'#yxq'
,
theme
:
'#0D84D1'
,
trigger
:
'click'
,
min
:
new
Date
().
toLocaleDateString
().
split
(
'/'
).
join
(
'-'
)
,
min
:
1
,
max
:
365
});
return
this
;
...
...
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