Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
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
godwithdh
WX_h5
Commits
a8a589ff
Commit
a8a589ff
authored
Jan 10, 2020
by
张锡奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upload
parent
1ed78f5b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
util.js
src/libs/util.js
+1
-2
operateCustomDetail.vue
src/view/tiip/kanban/operateCustomDetail.vue
+0
-1
No files found.
src/libs/util.js
View file @
a8a589ff
...
...
@@ -103,8 +103,7 @@ util.deepClone = function (data) {
}
util
.
dateFormat
=
function
(
str
,
fmt
)
{
var
usedDate
=
new
Date
(
str
).
getTime
;
console
.
log
(
usedDate
)
var
usedDate
=
new
Date
(
util
.
getType
(
str
)
==
'string'
?
str
.
split
(
'.'
)[
0
].
replace
(
/-/g
,
"/"
)
:
str
);
var
o
=
{
"M+"
:
usedDate
.
getMonth
()
+
1
,
//月份
"d+"
:
usedDate
.
getDate
(),
//日
...
...
src/view/tiip/kanban/operateCustomDetail.vue
View file @
a8a589ff
...
...
@@ -277,7 +277,6 @@ export default {
{
key
:
this
.
hdr
.
sType
==
'采购'
?
'end_date'
:
'dEndDate'
,
value
:
Util
.
dateFormat
(
this
.
list
[
res
.
trIndex
].
dContractDate
,
'yyyy-MM-dd'
)
+
' 23:59:59'
},
{
key
:
'searchname'
,
value
:
this
.
list
[
res
.
trIndex
].
sOrderNo
},
]
alert
(
JSON
.
stringify
(
postData
))
let
result
=
await
this
.
request
(
this
.
hdr
.
sType
==
'采购'
?
'getTipProcurementProgress'
:
'getTipProcessProgress'
,{
data
:
postData
,
params
:{}},
'加载中'
)
result
.
map
(
y
=>
{
y
.
sContractNoHTML
=
`<div><span style="text-decoration:underline;">
${
y
.
sContractNo
}
</span></div>`
;
...
...
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