Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tianjin
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
徐来柯
tianjin
Commits
6fb76f6c
Commit
6fb76f6c
authored
Jan 14, 2021
by
徐来柯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5d38899c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
44 deletions
+65
-44
ManageList.vue
src/views/education/ManageList.vue
+11
-6
ProducSchedule.vue
src/views/education/ProducSchedule.vue
+23
-34
linePop.vue
src/views/education/component/linePop.vue
+25
-3
technology.vue
src/views/education/technology.vue
+6
-1
No files found.
src/views/education/ManageList.vue
View file @
6fb76f6c
...
...
@@ -123,8 +123,8 @@ export default {
name
:
''
},
{
id
:
'生产
计划
编号'
,
name
:
'生产
计划
编号'
id
:
'生产
排程
编号'
,
name
:
'生产
排程
编号'
},
{
id
:
'产品编号'
,
...
...
@@ -138,17 +138,21 @@ export default {
id
:
'产品描述'
,
name
:
'产品描述'
},
{
id
:
'单位'
,
name
:
'单位'
},
{
id
:
'计划交货日期'
,
name
:
'计划交货日期'
},
{
id
:
'实际
完
工日期'
,
name
:
'实际
完
工日期'
id
:
'实际
开
工日期'
,
name
:
'实际
开
工日期'
},
{
id
:
'
生产计划状态
'
,
name
:
'
生产计划状态
'
id
:
'
实际完工日期
'
,
name
:
'
实际完工日期
'
},
],
deletetext
:
''
,
...
...
@@ -182,6 +186,7 @@ export default {
this
.
AllTableData
=
res
.
data
.
data
.
map
(
item
=>
({
...
item
,
DeliveryDt
:
item
.
DeliveryDt
?
this
.
$moment
(
item
.
DeliveryDt
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
StartDt
:
item
.
StartDt
?
this
.
$moment
(
item
.
StartDt
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
EndDt
:
item
.
EndDt
?
this
.
$moment
(
item
.
EndDt
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
}))
// 克隆一份tableData数据
...
...
src/views/education/ProducSchedule.vue
View file @
6fb76f6c
...
...
@@ -69,7 +69,7 @@
label=
"计划交货日期"
:show-overflow-tooltip=
"true"
prop=
"DeliveryDt"
width=
"1
4
0"
>
width=
"1
8
0"
>
</el-table-column>
<el-table-column
label=
"排程数量"
...
...
@@ -93,7 +93,7 @@
label=
"操作员"
:show-overflow-tooltip=
"true"
prop=
"UserName"
width=
"
8
0"
>
width=
"
15
0"
>
</el-table-column>
<el-table-column
label=
"生产排程状态"
...
...
@@ -268,12 +268,7 @@ export default {
this
.
cancelFun
()
}
this
.
deletetext
=
res
.
data
.
msg
var
postData
=
{
argKeyWord
:
$this
.
$refs
.
head
.
input
,
argWhere
:
$this
.
$refs
.
head
.
argWhere
,
Stime
:
$this
.
$refs
.
head
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
0
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
Etime
:
$this
.
$refs
.
head
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
1
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
}
var
postData
=
this
.
resetData
()
$this
.
query
(
postData
)
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
...
...
@@ -283,6 +278,12 @@ export default {
//添加
addFun
(
value
){
let
data
=
value
if
(
value
.
LinVar
.
trim
()
===
''
)
{
this
.
typeV
=
'5'
this
.
deleteShow
=
true
this
.
deletetext
=
'请先关联变量'
return
}
this
.
$axios
({
method
:
"post"
,
url
:
`/api/Schedule/Schedule_CheckWindowSave`
,
//检验是否可添加
...
...
@@ -319,17 +320,20 @@ export default {
this
.
cancelFun
()
}
this
.
deletetext
=
res
.
data
.
msg
var
postData
=
{
argKeyWord
:
$this
.
$refs
.
head
.
input
,
argWhere
:
$this
.
$refs
.
head
.
argWhere
,
Stime
:
$this
.
$refs
.
head
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
0
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
Etime
:
$this
.
$refs
.
head
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
1
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
}
var
postData
=
this
.
resetData
()
$this
.
query
(
postData
)
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
})
},
resetData
()
{
return
{
argKeyWord
:
this
.
$refs
.
head
.
input
,
argWhere
:
this
.
$refs
.
head
.
argWhere
,
Stime
:
this
.
$refs
.
head
.
dateValue
?
this
.
$moment
(
this
.
$refs
.
head
.
dateValue
[
0
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
Etime
:
this
.
$refs
.
head
.
dateValue
?
this
.
$moment
(
this
.
$refs
.
head
.
dateValue
[
1
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
}
},
//查询值
textFun
(
text
){
...
...
@@ -516,13 +520,8 @@ export default {
method
:
"post"
,
url
:
`/api/Schedule/Schedule_Stop?argID=
${
argID
}
`
,
}).
then
((
res
)
=>
{
var
postData
=
{
argKeyWord
:
$this
.
$refs
.
head
.
input
,
argWhere
:
$this
.
$refs
.
head
.
argWhere
,
Stime
:
$this
.
$refs
.
head
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
0
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
Etime
:
$this
.
$refs
.
head
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
1
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
}
$this
.
query
(
postData
)
var
postData
=
this
.
resetData
()
$this
.
query
(
postData
)
this
.
pageFun
(
this
.
PageIndex
)
})
},
...
...
@@ -602,13 +601,8 @@ export default {
method
:
"post"
,
url
:
`/api/Schedule/Schedule_Download?argID=
${
argID
}
`
,
}).
then
((
res
)
=>
{
var
postData
=
{
argKeyWord
:
$this
.
$refs
.
head
.
input
,
argWhere
:
$this
.
$refs
.
head
.
argWhere
,
Stime
:
$this
.
$refs
.
head
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
0
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
Etime
:
$this
.
$refs
.
head
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
1
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
}
$this
.
query
(
postData
)
var
postData
=
this
.
resetData
()
$this
.
query
(
postData
)
this
.
pageFun
(
this
.
PageIndex
)
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
...
...
@@ -673,12 +667,7 @@ export default {
method
:
"post"
,
url
:
`/api/Schedule/Schedule_Move?argID1=
${
id1
}
&&argID2=
${
id2
}
`
,
}).
then
((
res
)
=>
{
var
postData
=
{
argKeyWord
:
$this
.
$refs
.
head
.
input
,
argWhere
:
$this
.
$refs
.
head
.
argWhere
,
Stime
:
$this
.
$refs
.
head
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
0
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
Etime
:
$this
.
$refs
.
head
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
1
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
}
var
postData
=
this
.
resetData
()
$this
.
query
(
postData
)
}).
catch
((
err
)
=>
{
this
.
typeV
=
'7'
...
...
src/views/education/component/linePop.vue
View file @
6fb76f6c
...
...
@@ -22,11 +22,27 @@
<span>
{{
name
}}
编号:
</span>
<input
v-model=
"DevNuber"
class=
"nameipt"
/>
</div>
<div
v-if=
"type === '2'"
class=
"name"
style=
"margin-top:10px"
>
<span>
{{
name
}}
编号:
</span>
<input
v-model=
"CellNuber"
class=
"nameipt"
/>
</div>
<div
v-if=
"type === '3'"
class=
"name"
style=
"margin-top: -15px"
>
<span>
{{
name
}}
编号:
</span>
<input
v-model=
"Nuber"
class=
"nameipt"
/>
</div>
<div
v-if=
"type != 6"
class=
"name"
style=
"margin-top:10px"
>
<span>
{{
name
}}
名称:
</span>
<input
v-model=
"nameV"
class=
"nameipt"
/>
</div>
<div
v-if=
"type ==='3'"
class=
"name"
style=
"margin-top:10px"
>
<span>
{{
name
}}
描述:
</span>
<input
v-model=
"Desc"
class=
"nameipt"
/>
</div>
<div
v-if=
"type == 6"
class=
"name"
>
<span>
生产计划编号:
</span>
<span
@
click=
"openRelate('VPID')"
class=
"relateBtn plan_relateBtn"
>
选 择
</span>
...
...
@@ -208,6 +224,8 @@ export default {
numberV2
:
''
,
//编号2
modelV
:
''
,
//型号
describeV
:
''
,
//描述
Nuber
:
''
,
Desc
:
''
,
prodescribe
:
''
,
//type === 5 产品描述
prounit
:
''
,
//type ===5 单位
// num:1, //数量
...
...
@@ -457,6 +475,8 @@ export default {
this
.
DevNuber
=
this
.
data
.
DevNuber
this
.
workValue
=
this
.
data
.
CellName
this
.
CellNuber
=
this
.
data
.
CellNuber
this
.
Nuber
=
this
.
data
.
Nuber
this
.
Desc
=
this
.
data
.
Desc
this
.
Company
=
this
.
data
.
Company
this
.
lineValue
=
this
.
data
.
LineName
this
.
numberV
=
this
.
data
.
MID
...
...
@@ -533,6 +553,8 @@ export default {
}
else
if
(
this
.
type
==
3
){
this
.
valuedata
=
{
Name
:
this
.
nameV
,
Nuber
:
this
.
Nuber
,
Desc
:
this
.
Desc
,
data
:
this
.
tableDataList
}
}
else
if
(
this
.
type
==
5
){
...
...
@@ -892,8 +914,8 @@ export default {
margin
:
auto
;
line-height
:
40px
;
overflow
:
hidden
;
margin-top
:
35
px
;
margin-bottom
:
22
px
;
margin-top
:
18
px
;
margin-bottom
:
18
px
;
}
.conterFool_middle
{
width
:
70%
;
...
...
src/views/education/technology.vue
View file @
6fb76f6c
...
...
@@ -68,7 +68,8 @@
<el-table-column
label=
"操作"
show-overflow-tooltip
>
show-overflow-tooltip
width=
"180"
>
<template
slot-scope=
"scope"
>
<div
class=
"table_edit"
@
click=
"editFun(scope.row)"
>
<div
class=
"edit_img"
></div>
...
...
@@ -195,6 +196,8 @@ export default {
ID
:
value
.
ID
,
Name
:
value
.
Name
,
CellList
:
''
,
Nuber
:
value
.
Nuber
,
Desc
:
value
.
Desc
,
UpdateUserName
:
value
.
UpdateUserName
,
UpdateTime
:
value
.
CreateTime
,
Cells
:[],
...
...
@@ -234,6 +237,8 @@ export default {
ID
:
value
.
ID
,
Name
:
value
.
Name
,
CellList
:
''
,
Nuber
:
value
.
Nuber
,
Desc
:
value
.
Desc
,
UpdateUserName
:
value
.
UpdateUserName
,
UpdateTime
:
value
.
CreateTime
,
Cells
:[],
...
...
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