Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
bce0611d
Commit
bce0611d
authored
Jul 30, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
1aa01846
2106285d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
4 deletions
+37
-4
index.vue
pages/aps/ai/index.vue
+19
-2
index.vue
pages/aps/aps/index.vue
+18
-2
No files found.
pages/aps/ai/index.vue
View file @
bce0611d
...
@@ -55,6 +55,8 @@
...
@@ -55,6 +55,8 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
var
myDate
=
new
Date
();
var
nowDate
=
myDate
.
getFullYear
()
+
"-"
+
(
myDate
.
getMonth
()
+
1
)
+
"-"
+
myDate
.
getDate
();
import
Api
from
"../aps/api"
;
import
Api
from
"../aps/api"
;
import
Add
from
"./options"
;
import
Add
from
"./options"
;
import
Temp
from
"./temp"
;
import
Temp
from
"./temp"
;
...
@@ -82,7 +84,7 @@ export default {
...
@@ -82,7 +84,7 @@ export default {
},
},
resultModal
:
false
,
resultModal
:
false
,
entity
:
{
entity
:
{
setTime
:
""
,
setTime
:
this
.
getFormatDate
(
nowDate
)
},
},
editModal
:
false
,
editModal
:
false
,
detailModal
:
false
,
detailModal
:
false
,
...
@@ -501,7 +503,7 @@ export default {
...
@@ -501,7 +503,7 @@ export default {
this
.
$Message
.
success
(
"排产成功"
);
this
.
$Message
.
success
(
"排产成功"
);
this
.
circleModal
=
false
;
this
.
circleModal
=
false
;
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/a
i
/results"
,
path
:
"/a
ps
/results"
,
// params: { customerId: id }
// params: { customerId: id }
});
});
}
else
{
}
else
{
...
@@ -527,6 +529,21 @@ export default {
...
@@ -527,6 +529,21 @@ export default {
}.
bind
(
this
)
}.
bind
(
this
)
);
);
},
},
getFormatDate
(
dates
)
{
const
d
=
new
Date
(
dates
);
const
resDate
=
d
.
getFullYear
()
+
"-"
+
this
.
p
(
d
.
getMonth
()
+
1
)
+
"-"
+
this
.
p
(
d
.
getDate
())
+
" 00:00:01"
;
return
resDate
;
},
p
(
s
)
{
return
s
<
10
?
"0"
+
s
:
s
;
}
},
},
};
};
</
script
>
</
script
>
...
...
pages/aps/aps/index.vue
View file @
bce0611d
...
@@ -109,6 +109,8 @@
...
@@ -109,6 +109,8 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
var
myDate
=
new
Date
();
var
nowDate
=
myDate
.
getFullYear
()
+
"-"
+
(
myDate
.
getMonth
()
+
1
)
+
"-"
+
myDate
.
getDate
();
import
Api
from
"./api"
;
import
Api
from
"./api"
;
import
Add
from
"./options"
;
import
Add
from
"./options"
;
import
Temp
from
"./temp"
;
import
Temp
from
"./temp"
;
...
@@ -136,7 +138,7 @@ export default {
...
@@ -136,7 +138,7 @@ export default {
},
},
resultModal
:
false
,
resultModal
:
false
,
entity
:
{
entity
:
{
setTime
:
""
setTime
:
this
.
getFormatDate
(
nowDate
)
},
},
addModal
:
false
,
addModal
:
false
,
editModal
:
false
,
editModal
:
false
,
...
@@ -756,8 +758,22 @@ export default {
...
@@ -756,8 +758,22 @@ export default {
});
});
}
}
this
.
insertlModal1
=
false
;
this
.
insertlModal1
=
false
;
}
}
,
//插单end
//插单end
getFormatDate
(
dates
)
{
const
d
=
new
Date
(
dates
);
const
resDate
=
d
.
getFullYear
()
+
"-"
+
this
.
p
(
d
.
getMonth
()
+
1
)
+
"-"
+
this
.
p
(
d
.
getDate
())
+
" 00:00:01"
;
return
resDate
;
},
p
(
s
)
{
return
s
<
10
?
"0"
+
s
:
s
;
}
}
}
};
};
</
script
>
</
script
>
...
...
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