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
17458eaf
authored
Nov 14, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
询价有效期
parent
12e0258e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
12 deletions
Application/Home/View/QuotePrice/inquirydetail.html
Application/Home/View/QuotePrice/releaseinquiry.html
dist/js/quoteprice/releaseinquiry.js
Application/Home/View/QuotePrice/inquirydetail.html
View file @
17458eaf
...
@@ -88,6 +88,7 @@
...
@@ -88,6 +88,7 @@
<
/div
>
<
/div
>
<
div
class
=
"num fl boxsiz ellipsis"
>
数量:
<
span
class
=
"bold"
>
{{
d
.
number
}}
PCS
<
/span></
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
=
"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
class
=
"bz fl boxsiz ellipsis"
>
备注:
<
span
>
{{
d
.
remark
||
'--'
}}
<
/span></
div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
Application/Home/View/QuotePrice/releaseinquiry.html
View file @
17458eaf
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
<div
class=
"yxq input_div "
>
<div
class=
"yxq input_div "
>
<span
class=
"input_title lineBlock"
>
*询价有效期:
</span>
<span
class=
"input_title lineBlock"
>
*询价有效期:
</span>
<div
class=
"input_parent"
>
<div
class=
"input_parent"
>
<input
type=
"text"
name=
"
pric
e"
placeholder=
"请选择截止日期"
<input
type=
"text"
name=
"
end_tim
e"
placeholder=
"请选择截止日期"
class=
"input boxsiz yxq_input"
lay-verify=
"required"
id=
"yxq"
>
class=
"input boxsiz yxq_input"
lay-verify=
"required"
id=
"yxq"
>
<div
class=
"yxq_logo layui-form"
>
<div
class=
"yxq_logo layui-form"
>
<span
class=
"icon iconfont iconjuxing13"
></span>
<span
class=
"icon iconfont iconjuxing13"
></span>
...
...
dist/js/quoteprice/releaseinquiry.js
View file @
17458eaf
!
function
()
{
!
function
()
{
window
.
ReleaseInquiry
=
{
window
.
ReleaseInquiry
=
{
isClick
:
false
,
isClick
:
false
,
imgUrl
:
""
,
imgUrl
:
""
,
...
@@ -9,13 +9,14 @@
...
@@ -9,13 +9,14 @@
//日期控件初始化
//日期控件初始化
layui
.
laydate
.
render
({
layui
.
laydate
.
render
({
elem
:
'#yxq'
,
elem
:
'#yxq'
,
theme
:
'#0D84D1'
theme
:
'#0D84D1'
,
trigger
:
'click'
,
min
:
new
Date
().
toLocaleDateString
().
split
(
'/'
).
join
(
'-'
),
max
:
365
});
});
return
this
;
return
this
;
},
},
mounted
:
function
(
opt
)
{
mounted
:
function
(
opt
)
{
return
this
;
return
this
;
},
},
uploadFun
:
function
()
{
uploadFun
:
function
()
{
...
@@ -65,8 +66,7 @@
...
@@ -65,8 +66,7 @@
iframe
.
attachEvent
(
"onload"
,
opt
.
iframeOnload
);
iframe
.
attachEvent
(
"onload"
,
opt
.
iframeOnload
);
}
else
{
}
else
{
iframe
.
onload
=
opt
.
iframeOnload
;
iframe
.
onload
=
opt
.
iframeOnload
;
}
};
;
opt
.
formSubmit
();
opt
.
formSubmit
();
$
(
'#mineFiles'
).
on
(
'change'
,
function
()
{
$
(
'#mineFiles'
).
on
(
'change'
,
function
()
{
layer
.
load
(
1
,
{
layer
.
load
(
1
,
{
...
@@ -154,7 +154,10 @@
...
@@ -154,7 +154,10 @@
//上传商品发布
//上传商品发布
layui
.
form
.
on
(
'submit(add)'
,
function
(
data
)
{
layui
.
form
.
on
(
'submit(add)'
,
function
(
data
)
{
var
date
=
data
.
field
.
end_time
;
date
=
date
.
replace
(
/-/g
,
'/'
);
var
timeStap
=
new
Date
(
date
+
' 23:59:59'
).
getTime
()
/
1000
data
.
field
.
end_time
=
timeStap
;
//设置选中的时间变为时间戳
$
(
data
.
elem
).
addClass
(
"layui-btn-disabled"
);
$
(
data
.
elem
).
addClass
(
"layui-btn-disabled"
);
var
parmas
=
$
.
extend
({},
data
.
field
,
{
var
parmas
=
$
.
extend
({},
data
.
field
,
{
goods_images
:
opt
.
imgUrl
goods_images
:
opt
.
imgUrl
...
@@ -215,8 +218,8 @@
...
@@ -215,8 +218,8 @@
return
'品牌不能小于2个字符'
return
'品牌不能小于2个字符'
}
}
},
},
limitStock
:
function
(
value
,
item
)
{
limitStock
:
function
(
value
,
item
)
{
if
(
value
>
10000000
)
{
if
(
value
>
10000000
)
{
return
'库存最大为10000000(一千万)'
return
'库存最大为10000000(一千万)'
}
}
},
},
...
@@ -226,10 +229,10 @@
...
@@ -226,10 +229,10 @@
}
}
},
},
pointLimit
:
function
(
value
,
item
)
{
pointLimit
:
function
(
value
,
item
)
{
if
(
!
Util
.
fourPoint
(
value
))
{
if
(
!
Util
.
fourPoint
(
value
))
{
return
'价格为整数或不超过4位小数'
return
'价格为整数或不超过4位小数'
}
}
if
(
value
>
1000000
)
{
if
(
value
>
1000000
)
{
return
'价格最大为1000000(一百万)'
return
'价格最大为1000000(一百万)'
}
}
}
}
...
...
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