Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
42977a60
Commit
42977a60
authored
Sep 21, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求有效期不能小于当前时间
parent
ee010f17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
requireEdit.vue
src/views/bigbusiness/pages/requireEdit.vue
+10
-1
edit.vue
src/views/saleManage/requireManage/pages/edit.vue
+9
-0
No files found.
src/views/bigbusiness/pages/requireEdit.vue
View file @
42977a60
...
...
@@ -1259,12 +1259,21 @@
if
(
valid
)
{
that
.
ruleForm
.
requirementEndTime
=
publicFunc
.
getDataFormatFunc
(
that
.
ruleForm
.
requirementEndTime
,
0
);
that
.
ruleForm
.
targetLabel
=
this
.
flagList1
?
this
.
flagList1
.
join
(
","
)
:
""
;
if
(
new
Date
(
this
.
detailInfo
.
requirementEndTime
+
" 00:00:00"
).
getTime
()
<
new
Date
().
getTime
()){
this
.
$alert
(
'需求有效期不能小于当前时间'
,
"提示"
,
{
confirmButtonText
:
'确定'
,
callback
:
action
=>
{
}
});
return
false
;
}
this
.
$confirm
(
'您的需求已更改,点击确认该需求会重新提交审核,通过后会更新为最新修改结果,确认将修改的内容提交审核吗?'
,
'提示'
,
{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
submitDataFunc
();
//
this.submitDataFunc();
}).
catch
(()
=>
{
that
.
$message
({
type
:
'info'
,
...
...
src/views/saleManage/requireManage/pages/edit.vue
View file @
42977a60
...
...
@@ -1352,6 +1352,15 @@
this
.
ruleForm
.
companyLabel
=
this
.
flagList
?
this
.
flagList
.
join
(
","
):
""
;
this
.
ruleForm
.
requirementEndTime
=
publicFunc
.
getDataFormatFunc
(
this
.
ruleForm
.
requirementEndTime
,
0
);
this
.
ruleForm
.
companyLabel
=
this
.
flagList1
?
this
.
flagList1
.
join
(
","
):
""
;
if
(
new
Date
(
this
.
detailInfo
.
requirementEndTime
+
" 00:00:00"
).
getTime
()
<
new
Date
().
getTime
()){
this
.
$alert
(
'需求有效期不能小于当前时间'
,
"提示"
,
{
confirmButtonText
:
'确定'
,
callback
:
action
=>
{
}
});
return
false
;
}
if
(
!
this
.
ruleForm
.
companyLogoUrl
)
return
false
;
this
.
$confirm
(
'您的需求已更改,点击确认该需求会重新提交审核,通过后会更新为最新修改结果,确认将修改的内容提交审核吗?'
,
'提示'
,
{
confirmButtonText
:
'确认'
,
...
...
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