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
fb397017
Commit
fb397017
authored
Jan 13, 2021
by
徐来柯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
22da3240
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
20 deletions
+46
-20
ProductionPlan.vue
src/views/education/ProductionPlan.vue
+30
-10
linePop.vue
src/views/education/component/linePop.vue
+8
-1
productManage.vue
src/views/education/productManage.vue
+8
-9
No files found.
src/views/education/ProductionPlan.vue
View file @
fb397017
...
...
@@ -8,7 +8,7 @@
<
template
>
<div
class=
"lineBox"
>
<div
class=
"LineCenten"
>
<Head
type=
"10"
></Head>
<Head
type=
"10"
ref=
"head"
@
searchQuery=
"query"
></Head>
<div
class=
"conterFool_middle"
style=
"width:98%;margin:auto"
>
<el-table
border
...
...
@@ -33,13 +33,13 @@
label=
"生产计划编号"
:show-overflow-tooltip=
"true"
width=
"185"
prop=
"P
lanNO
"
>
prop=
"P
ID
"
>
</el-table-column>
<el-table-column
label=
"产品编号"
:show-overflow-tooltip=
"true"
width=
"185"
prop=
"
Num
"
>
prop=
"
ProNumber
"
>
</el-table-column>
<el-table-column
label=
"产品名称"
...
...
@@ -50,13 +50,13 @@
<el-table-column
label=
"产品描述"
:show-overflow-tooltip=
"true"
prop=
"describe"
prop=
"
Pro
describe"
width=
"200"
>
</el-table-column>
<el-table-column
label=
"单位"
:show-overflow-tooltip=
"true"
prop=
"
U
nit"
prop=
"
Prou
nit"
width=
"200"
>
</el-table-column>
<el-table-column
...
...
@@ -159,14 +159,20 @@ export default {
props
:[],
watch
:{},
created
(){
this
.
query
()
var
postData
=
{
argKeyWord
:
''
,
argWhere
:
''
,
Stime
:
this
.
$moment
().
format
(
'YYYY-MM-DD 00:00:00'
),
Etime
:
this
.
$moment
().
format
(
'YYYY-MM-DD 23:59:59'
)
}
this
.
query
(
postData
)
},
methods
:{
//查询
query
(){
query
(
keyWord
){
this
.
$axios
({
method
:
"post"
,
url
:
`/api/Plan/Plan_Query?argKeyWord=
${
this
.
argKeyWord
}
&argID=
${
this
.
argID
}
`
,
url
:
`/api/Plan/Plan_Query?argKeyWord=
${
keyWord
.
argKeyWord
}
&argWhere=
${
keyWord
.
argWhere
}
&Stime=
${
keyWord
.
Stime
}
&Etime=
${
keyWord
.
Etime
}
`
,
}).
then
((
res
)
=>
{
if
(
res
.
data
.
data
.
length
!=
0
){
for
(
let
i
=
0
;
i
<
res
.
data
.
data
.
length
;
i
++
){
...
...
@@ -224,6 +230,7 @@ export default {
},
//添加
addFun
(
value
){
var
$this
=
this
let
data
=
value
console
.
log
(
'value'
,
value
)
if
(
data
.
DeliveryDt
==
'Invalid date'
||
data
.
DeliveryDt
==
''
){
...
...
@@ -244,13 +251,20 @@ export default {
this
.
cancelFun
()
}
this
.
deletetext
=
res
.
data
.
msg
this
.
query
()
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
)
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
})
},
//编辑
A_editFun
(
value
){
var
$this
=
this
let
data
=
value
console
.
log
(
'编辑'
,
value
)
this
.
$axios
({
...
...
@@ -267,7 +281,13 @@ export default {
this
.
cancelFun
()
}
this
.
deletetext
=
res
.
data
.
msg
this
.
query
()
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
)
}).
catch
(
function
(
err
){
console
.
log
(
'err'
,
err
)
})
...
...
src/views/education/component/linePop.vue
View file @
fb397017
...
...
@@ -227,7 +227,7 @@ export default {
VStatus
:
''
,
VDeliveryDt
:
''
,
VPlanQuantity
:
''
,
DeliveryDt
:
''
,
DeliveryDt
:
this
.
$moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
,
Quantity
:
''
,
ProductID
:
''
,
proList
:
[]
...
...
@@ -462,6 +462,13 @@ export default {
this
.
numberV
=
this
.
data
.
MID
this
.
modelV
=
this
.
data
.
PID
this
.
applyValue
=
this
.
data
.
ProcessName
this
.
ProductID
=
this
.
data
.
ProductID
this
.
Quantity
=
this
.
data
.
Quantity
this
.
DeliveryDt
=
this
.
data
.
DeliveryDt
this
.
VPID
=
this
.
data
.
VPID
this
.
VStatus
=
this
.
data
.
VStatus
this
.
VDeliveryDt
=
this
.
data
.
VDeliveryDt
this
.
VPlanQuantity
=
this
.
data
.
VPlanQuantity
this
.
dNum
=
this
.
data
.
Quantity
this
.
numberV2
=
this
.
data
.
PID
...
...
src/views/education/productManage.vue
View file @
fb397017
...
...
@@ -173,7 +173,6 @@ export default {
methods
:{
//查询
query
(
keyWord
){
var
a
=
keyWord
this
.
$axios
({
method
:
"post"
,
url
:
`/api/Product/Product_Query?argKeyWord=
${
keyWord
.
argKeyWord
}
&argWhere=
${
keyWord
.
argWhere
}
&Stime=
${
keyWord
.
Stime
}
&Etime=
${
keyWord
.
Etime
}
`
,
...
...
@@ -254,10 +253,10 @@ export default {
}
$this
.
deletetext
=
res
.
data
.
msg
var
postData
=
{
argKeyWord
:
$this
.
$refs
.
input
,
argWhere
:
$this
.
$refs
.
argWhere
,
Stime
:
$this
.
$refs
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
0
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
Etime
:
$this
.
$refs
.
dateValue
?
$this
.
moment
(
this
.
dateValue
[
1
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
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
)
}).
catch
(
function
(
err
){
...
...
@@ -283,10 +282,10 @@ export default {
}
$this
.
deletetext
=
res
.
data
.
msg
var
postData
=
{
argKeyWord
:
$this
.
$refs
.
input
,
argWhere
:
$this
.
$refs
.
argWhere
,
Stime
:
$this
.
$refs
.
dateValue
?
$this
.
$moment
(
this
.
dateValue
[
0
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
Etime
:
$this
.
$refs
.
dateValue
?
$this
.
$moment
(
this
.
dateValue
[
1
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
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
)
}).
catch
(
function
(
err
){
...
...
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