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
ce4853fc
Commit
ce4853fc
authored
Apr 01, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.mes123.com/zhouyx/mes-ui
into qin
parents
60ed47ae
4e795840
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
211 additions
and
419 deletions
+211
-419
dataGrid.vue
components/page/dataGrid.vue
+5
-0
excute.vue
pages/aps/aps/components/excute.vue
+3
-108
index.vue
pages/aps/aps/index.vue
+114
-118
index.vue
pages/aps/plan/index.vue
+0
-4
index.vue
pages/basicData/code/index.vue
+1
-1
entryMovie.vue
pages/implement/components/entryMovie.vue
+2
-2
entryPause.vue
pages/implement/components/entryPause.vue
+2
-2
entryrecordMovie.vue
pages/implement/components/entryrecordMovie.vue
+2
-2
entryrecorddata.vue
pages/implement/components/entryrecorddata.vue
+2
-2
entryrecordfiles.vue
pages/implement/components/entryrecordfiles.vue
+2
-2
processRecord.vue
pages/implement/components/processRecord.vue
+2
-2
productReport.vue
pages/implement/components/productReport.vue
+2
-2
sendCheck.vue
pages/implement/components/sendCheck.vue
+1
-1
usercard.vue
pages/implement/components/usercard.vue
+7
-6
index.vue
pages/implement/index.vue
+4
-4
quotationBox.vue
pages/order/quotation/components/quotationBox.vue
+1
-1
index.vue
pages/order/quotation/index.vue
+1
-1
detailfiles.vue
pages/processManage/Process/detailfiles.vue
+2
-2
index.vue
pages/processManage/Process/index.vue
+3
-3
processNew.vue
pages/processManage/Process/processNew.vue
+2
-2
stepModel.vue
pages/processManage/Process/stepModel.vue
+2
-2
supporting.vue
pages/processManage/Process/supporting.vue
+1
-1
testingModel.vue
pages/processManage/Process/testingModel.vue
+2
-2
index.vue
pages/processManage/setProcess/index.vue
+29
-97
processMain.vue
pages/processManage/setProcess/processMain.vue
+8
-41
expend.vue
pages/produce/components/expend.vue
+1
-1
ordermaterial.vue
pages/produce/ordermaterial.vue
+1
-2
index.vue
pages/qc/taskList/index.vue
+3
-2
backCheck.vue
pages/qcimplement/components/backCheck.vue
+1
-1
index.vue
pages/qcimplement/index.vue
+5
-5
No files found.
components/page/dataGrid.vue
View file @
ce4853fc
...
@@ -496,6 +496,11 @@ export default {
...
@@ -496,6 +496,11 @@ export default {
})
})
return
cols
return
cols
}
}
},
watch
:{
"data.length"
(){
this
.
list
=
this
.
data
;
}
}
}
}
}
</
script
>
</
script
>
...
...
pages/aps/aps/components/excute.vue
View file @
ce4853fc
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
style=
"margin-top:-25px;margin-bottom:-25px"
style=
"margin-top:-25px;margin-bottom:-25px"
:columns=
"columns"
:columns=
"columns"
ref=
"grid"
ref=
"grid"
:action=
"action"
:easy=
"false"
:easy=
"false"
:high=
"false"
:high=
"false"
:set=
"false"
:set=
"false"
...
@@ -330,110 +329,7 @@ export default {
...
@@ -330,110 +329,7 @@ export default {
}
}
}
}
],
],
data1
:
[
data1
:
[],
{
id
:
"1"
,
op_task_pk
:
"001"
,
part_task_pk
:
"001"
,
task_seq
:
"1"
,
task_name
:
"测试工序1"
,
put_into_qty
:
"10"
,
plan_start
:
"04/05/2020"
,
plan_finish
:
"06/05/2020"
,
setup_time
:
"5"
,
run_time
:
"1"
,
transport_time
:
"1"
,
check_time
:
"1"
,
efficiency_value
:
"0.5"
,
singleout
:
"2"
,
first_equip
:
"NTY-0012"
,
equip_type
:
"加工设备"
,
cal_id
:
"日历id"
,
machine_rule
:
"优先"
,
plan_method
:
"是"
,
over_time
:
"1"
,
isdiscrete
:
"是"
,
discrete_value
:
"1.2"
,
multi_machine
:
"5"
,
notes
:
"暂无备注信息test"
,
insert_flag
:
1
,
outside_time
:
"04/06/2020"
,
taskseq_des
:
""
,
workshopcode
:
""
,
routing_detail_id
:
""
,
routing_header_id
:
""
,
comb_param
:
""
,
rule_qty
:
""
},
{
id
:
"2"
,
op_task_pk
:
"002"
,
part_task_pk
:
"002"
,
task_seq
:
"2"
,
task_name
:
"测试工序2"
,
put_into_qty
:
"10"
,
plan_start
:
"04/05/2020"
,
plan_finish
:
"06/05/2020"
,
setup_time
:
"5"
,
run_time
:
"1"
,
transport_time
:
"1"
,
check_time
:
"1"
,
efficiency_value
:
"0.5"
,
singleout
:
"2"
,
first_equip
:
"NTY-0012"
,
equip_type
:
"加工设备"
,
cal_id
:
"日历id"
,
machine_rule
:
"优先"
,
plan_method
:
"是"
,
over_time
:
"1"
,
isdiscrete
:
"是"
,
discrete_value
:
"1.2"
,
multi_machine
:
"5"
,
notes
:
"暂无备注信息test"
,
insert_flag
:
0
,
outside_time
:
"04/06/2020"
,
taskseq_des
:
""
,
workshopcode
:
""
,
routing_detail_id
:
""
,
routing_header_id
:
""
,
comb_param
:
""
,
rule_qty
:
""
},
{
id
:
"3"
,
op_task_pk
:
"003"
,
part_task_pk
:
"003"
,
task_seq
:
"3"
,
task_name
:
"测试工序3"
,
put_into_qty
:
"10"
,
plan_start
:
"04/05/2020"
,
plan_finish
:
"06/05/2020"
,
setup_time
:
"5"
,
run_time
:
"1"
,
transport_time
:
"1"
,
check_time
:
"1"
,
efficiency_value
:
"0.5"
,
singleout
:
"2"
,
first_equip
:
"NTY-0012"
,
equip_type
:
"加工设备"
,
cal_id
:
"日历id"
,
machine_rule
:
"优先"
,
plan_method
:
"是"
,
over_time
:
"1"
,
isdiscrete
:
"是"
,
discrete_value
:
"1.2"
,
multi_machine
:
"5"
,
notes
:
"暂无备注信息test"
,
insert_flag
:
0
,
outside_time
:
"04/06/2020"
,
taskseq_des
:
""
,
workshopcode
:
""
,
routing_detail_id
:
""
,
routing_header_id
:
""
,
comb_param
:
""
,
rule_qty
:
""
}
],
insertTItle
:
"插单"
insertTItle
:
"插单"
};
};
},
},
...
@@ -449,9 +345,8 @@ export default {
...
@@ -449,9 +345,8 @@ export default {
let
params
=
{
let
params
=
{
id
:
expendId
id
:
expendId
}
}
Api
.
getbyorderid
(
params
).
then
(
res
=>
{
Api
.
getbyorderid
(
params
).
then
((
res
)
=>
{
if
(
res
.
sucess
)
{
if
(
res
.
success
)
{
this
.
data1
=
[];
this
.
data1
=
res
.
result
;
this
.
data1
=
res
.
result
;
}
}
});
});
...
...
pages/aps/aps/index.vue
View file @
ce4853fc
...
@@ -40,11 +40,11 @@
...
@@ -40,11 +40,11 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
Api
from
'./api'
import
Api
from
"./api"
;
import
Add
from
'./add'
import
Add
from
"./add"
;
import
Expand
from
'./components/excute'
import
Expand
from
"./components/excute"
;
export
default
{
export
default
{
name
:
'list'
,
name
:
"list"
,
components
:
{
components
:
{
Add
,
Add
,
Expand
Expand
...
@@ -53,252 +53,248 @@ export default {
...
@@ -53,252 +53,248 @@ export default {
return
{
return
{
action
:
Api
.
index
,
action
:
Api
.
index
,
easySearch
:
{
easySearch
:
{
keys
:
{
op
:
'notes'
,
value
:
null
}
keys
:
{
op
:
"notes"
,
value
:
null
}
},
},
addModal
:
false
,
addModal
:
false
,
editModal
:
false
,
editModal
:
false
,
detailModal
:
false
,
detailModal
:
false
,
deletelModal
:
false
,
deletelModal
:
false
,
apsModal
:
false
,
apsModal
:
false
,
list
:
[
list
:
[],
],
curId
:
0
,
curId
:
0
,
columns
:
[
columns
:
[
{
{
key
:
'move'
,
key
:
"move"
,
title
:
' '
,
title
:
" "
,
hide
:
false
,
hide
:
false
,
align
:
'center'
,
align
:
"center"
,
width
:
30
,
width
:
30
,
render
:
(
h
,
params
)
=>
{
render
:
(
h
,
params
)
=>
{
return
h
(
'Icon'
,
{
return
h
(
"Icon"
,
{
attrs
:
{
attrs
:
{
type
:
'md-more'
,
type
:
"md-more"
,
size
:
18
size
:
18
},
},
class
:
'drag'
class
:
"drag"
})
})
;
}
}
},
},
{
{
type
:
'expand'
,
type
:
"expand"
,
width
:
50
,
width
:
50
,
render
:
(
h
,
params
)
=>
{
render
:
(
h
,
params
)
=>
{
return
h
(
Expand
,
{
return
h
(
Expand
,
{
props
:
{
props
:
{
rowId
:
params
.
row
.
id
rowId
:
params
.
row
.
part_task_pk
}
}
})
})
;
}
}
},
},
{
{
key
:
'selection'
,
key
:
"selection"
,
type
:
'selection'
,
type
:
"selection"
,
width
:
50
,
width
:
50
,
align
:
'center'
align
:
"center"
},
},
{
{
key
:
'id'
,
key
:
"id"
,
title
:
this
.
l
(
'id'
),
title
:
this
.
l
(
"id"
),
hide
:
true
,
hide
:
true
,
align
:
'left'
,
align
:
"left"
,
sortable
:
true
,
sortable
:
true
,
width
:
50
width
:
50
},
},
{
{
key
:
'insert_flag'
,
key
:
"insert_flag"
,
title
:
this
.
l
(
'insert_flag'
),
title
:
this
.
l
(
"insert_flag"
),
align
:
'center'
,
align
:
"center"
,
width
:
70
,
width
:
70
,
high
:
true
,
high
:
true
,
code
:
'aps.aps.insert_flag'
,
code
:
"aps.aps.insert_flag"
,
category
:
'icon'
category
:
"icon"
},
},
{
{
key
:
'part_task_pk'
,
key
:
"part_task_pk"
,
title
:
this
.
l
(
'part_task_pk'
),
title
:
this
.
l
(
"part_task_pk"
),
align
:
'left'
,
align
:
"left"
,
high
:
true
high
:
true
},
},
{
{
key
:
'priority'
,
key
:
"priority"
,
title
:
this
.
l
(
'priority'
),
title
:
this
.
l
(
"priority"
),
align
:
'left'
,
align
:
"left"
,
high
:
true
high
:
true
},
},
{
{
key
:
'plan_qty'
,
key
:
"plan_qty"
,
title
:
this
.
l
(
'plan_qty'
),
title
:
this
.
l
(
"plan_qty"
),
align
:
'left'
,
align
:
"left"
,
high
:
true
,
high
:
true
,
sortable
:
true
sortable
:
true
},
},
{
{
key
:
'spare_qty'
,
key
:
"spare_qty"
,
title
:
this
.
l
(
'spare_qty'
),
title
:
this
.
l
(
"spare_qty"
),
align
:
'left'
,
align
:
"left"
,
high
:
true
high
:
true
},
},
{
{
key
:
'plan_start'
,
key
:
"plan_start"
,
title
:
this
.
l
(
'plan_start'
),
title
:
this
.
l
(
"plan_start"
),
align
:
'center'
,
align
:
"center"
,
high
:
true
,
high
:
true
,
resizable
:
true
,
resizable
:
true
,
width
:
140
width
:
140
},
},
{
{
key
:
'plan_finish'
,
key
:
"plan_finish"
,
title
:
this
.
l
(
'plan_finish'
),
title
:
this
.
l
(
"plan_finish"
),
align
:
'center'
,
align
:
"center"
,
high
:
true
,
high
:
true
,
sortable
:
true
,
sortable
:
true
,
resizable
:
true
,
resizable
:
true
,
width
:
140
width
:
140
},
},
{
{
key
:
'notes'
,
key
:
"notes"
,
title
:
this
.
l
(
'notes'
),
title
:
this
.
l
(
"notes"
),
align
:
'left'
,
align
:
"left"
,
easy
:
true
,
easy
:
true
,
high
:
true
,
high
:
true
,
hide
:
true
hide
:
true
},
},
{
{
key
:
'demand_start'
,
key
:
"demand_start"
,
title
:
this
.
l
(
'demand_start'
),
title
:
this
.
l
(
"demand_start"
),
align
:
'center'
,
align
:
"center"
,
hide
:
true
,
hide
:
true
,
resizable
:
true
,
resizable
:
true
,
width
:
100
width
:
100
},
},
{
{
key
:
'demand_finish'
,
key
:
"demand_finish"
,
title
:
this
.
l
(
'demand_finish'
),
title
:
this
.
l
(
"demand_finish"
),
align
:
'center'
,
align
:
"center"
,
high
:
true
,
high
:
true
,
resizable
:
true
,
resizable
:
true
,
width
:
140
width
:
140
},
},
{
{
key
:
'badjustflag'
,
key
:
"badjustflag"
,
title
:
this
.
l
(
'badjustflag'
),
title
:
this
.
l
(
"badjustflag"
),
align
:
'left'
,
align
:
"left"
,
high
:
true
high
:
true
},
},
{
{
title
:
'操作'
,
title
:
"操作"
,
key
:
'action'
,
key
:
"action"
,
width
:
140
,
width
:
140
,
align
:
'center'
,
align
:
"center"
,
// fixed:"right",
// fixed:"right",
render
:
(
h
,
params
)
=>
{
render
:
(
h
,
params
)
=>
{
return
h
(
'div'
,
{
class
:
'action'
},
[
return
h
(
"div"
,
{
class
:
"action"
},
[
h
(
'op'
,
{
h
(
"op"
,
{
attrs
:
{
attrs
:
{
icon
:
'md-options'
,
icon
:
"md-options"
,
type
:
'icon'
,
type
:
"icon"
,
title
:
'工序参数设置'
title
:
"工序参数设置"
},
},
on
:
{
click
:
()
=>
this
.
openParms
(
params
.
row
.
id
)
}
on
:
{
click
:
()
=>
this
.
openParms
(
params
.
row
.
id
)
}
}),
}),
h
(
'op'
,
{
h
(
"op"
,
{
attrs
:
{
attrs
:
{
icon
:
'md-return-left'
,
icon
:
"md-return-left"
,
type
:
'icon'
,
type
:
"icon"
,
title
:
'移出排产池'
,
title
:
"移出排产池"
,
oprate
:
'delete'
,
oprate
:
"delete"
,
msg
:
'确认要移出排产吗?'
msg
:
"确认要移出排产吗?"
},
},
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
}
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
}
}),
}),
h
(
'op'
,
{
h
(
"op"
,
{
attrs
:
{
attrs
:
{
icon
:
'md-refresh'
,
icon
:
"md-refresh"
,
type
:
'icon'
,
type
:
"icon"
,
title
:
'恢复工序'
,
title
:
"恢复工序"
,
oprate
:
'delete'
,
oprate
:
"delete"
,
msg
:
'确认要恢复工序吗?'
msg
:
"确认要恢复工序吗?"
},
},
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
}
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
}
})
})
])
])
;
}
}
}
}
]
]
}
}
;
},
},
mounted
()
{
mounted
()
{
this
.
loadList
()
this
.
loadList
();
},
},
async
fetch
({
store
,
params
})
{
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
'loadDictionary'
)
// 加载数据字典
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
},
methods
:
{
methods
:
{
//排产池加载数据列表
//排产池加载数据列表
loadList
()
loadList
()
{
{
Api
.
getall
().
then
(
res
=>
{
Api
.
getall
().
then
((
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
this
.
list
=
res
.
result
;
{
this
.
list
=
res
.
result
}
}
})
})
;
},
},
addOk
()
{
addOk
()
{
this
.
$refs
.
grid
.
load
()
this
.
$refs
.
grid
.
load
()
;
this
.
addModal
=
false
this
.
addModal
=
false
;
this
.
detailModal
=
false
this
.
detailModal
=
false
;
this
.
editModal
=
false
this
.
editModal
=
false
;
this
.
curId
=
0
this
.
curId
=
0
;
},
},
detail
(
id
)
{
detail
(
id
)
{
this
.
detailModal
=
true
this
.
detailModal
=
true
;
this
.
curId
=
id
this
.
curId
=
id
;
},
},
edit
(
id
)
{
edit
(
id
)
{
this
.
editModal
=
true
this
.
editModal
=
true
;
this
.
curId
=
id
this
.
curId
=
id
;
},
},
remove
(
id
)
{
remove
(
id
)
{
this
.
deletelModal
=
true
this
.
deletelModal
=
true
;
this
.
curId
=
id
this
.
curId
=
id
;
},
},
onSelect
(
a
,
b
)
{},
onSelect
(
a
,
b
)
{},
removeOk
()
{
removeOk
()
{
Api
.
delete
({
id
:
this
.
curId
}).
then
(
(
r
)
=>
{
Api
.
delete
({
id
:
this
.
curId
}).
then
(
r
=>
{
if
(
r
.
success
)
{
if
(
r
.
success
)
{
this
.
$refs
.
grid
.
load
()
this
.
$refs
.
grid
.
load
()
;
this
.
deletelModal
=
false
this
.
deletelModal
=
false
;
this
.
$Message
.
success
(
'删除成功'
)
this
.
$Message
.
success
(
"删除成功"
);
}
}
})
})
;
},
},
removeCancel
()
{
removeCancel
()
{
this
.
deletelModal
=
false
this
.
deletelModal
=
false
;
},
},
cancel
()
{
cancel
()
{
this
.
curId
=
0
this
.
curId
=
0
;
this
.
addModal
=
false
this
.
addModal
=
false
;
this
.
detailModal
=
false
this
.
detailModal
=
false
;
this
.
editModal
=
false
this
.
editModal
=
false
;
this
.
deletedlModal
=
false
this
.
deletedlModal
=
false
;
this
.
apsModal
=
false
this
.
apsModal
=
false
;
},
},
onDragDrop
(
a
,
b
)
{
onDragDrop
(
a
,
b
)
{
this
.
list
.
splice
(
b
,
1
,
...
this
.
list
.
splice
(
a
,
1
,
this
.
list
[
b
]))
this
.
list
.
splice
(
b
,
1
,
...
this
.
list
.
splice
(
a
,
1
,
this
.
list
[
b
]))
;
},
},
openParms
(
id
)
{
openParms
(
id
)
{
this
.
addModal
=
true
this
.
addModal
=
true
;
},
},
l
(
key
)
{
l
(
key
)
{
let
vkey
=
'mes_part_task_plan_simulate'
+
'.'
+
key
let
vkey
=
"mes_part_task_plan_simulate"
+
"."
+
key
;
return
this
.
$t
(
vkey
)
||
key
return
this
.
$t
(
vkey
)
||
key
;
}
}
}
}
}
}
;
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
.drag {
.drag {
...
...
pages/aps/plan/index.vue
View file @
ce4853fc
...
@@ -457,10 +457,6 @@ export default {
...
@@ -457,10 +457,6 @@ export default {
}
}
}
}
});
});
this
.
$router
.
push
({
name
:
"aps-aps"
// params: { customerId: id }
});
},
},
addOk
()
{
addOk
()
{
this
.
$refs
.
grid
.
load
();
this
.
$refs
.
grid
.
load
();
...
...
pages/basicData/code/index.vue
View file @
ce4853fc
...
@@ -65,7 +65,7 @@ export default {
...
@@ -65,7 +65,7 @@ export default {
{
{
title
:
"序号"
,
title
:
"序号"
,
type
:
"index"
,
type
:
"index"
,
width
:
6
0
,
width
:
6
5
,
align
:
"center"
align
:
"center"
},
},
{
{
...
...
pages/implement/components/entryMovie.vue
View file @
ce4853fc
...
@@ -212,9 +212,9 @@ export default {
...
@@ -212,9 +212,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
orderExecuteMovie
:
this
.
datafrom
orderExecuteMovie
:
this
.
datafrom
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/implement/components/entryPause.vue
View file @
ce4853fc
...
@@ -193,9 +193,9 @@ export default {
...
@@ -193,9 +193,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
orderExecutePausecause
:
this
.
cardModeldata
orderExecutePausecause
:
this
.
cardModeldata
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/implement/components/entryrecordMovie.vue
View file @
ce4853fc
...
@@ -185,9 +185,9 @@ export default {
...
@@ -185,9 +185,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
orderExecuteQualityMovie
:
this
.
datafrom
orderExecuteQualityMovie
:
this
.
datafrom
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/implement/components/entryrecorddata.vue
View file @
ce4853fc
...
@@ -240,9 +240,9 @@ export default {
...
@@ -240,9 +240,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
OrderExecuteQualityData
:
this
.
datafrom
OrderExecuteQualityData
:
this
.
datafrom
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/implement/components/entryrecordfiles.vue
View file @
ce4853fc
...
@@ -202,9 +202,9 @@ export default {
...
@@ -202,9 +202,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
OrderExecuteQualityData
:
this
.
datafrom
OrderExecuteQualityData
:
this
.
datafrom
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/implement/components/processRecord.vue
View file @
ce4853fc
...
@@ -202,9 +202,9 @@ export default {
...
@@ -202,9 +202,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
orderExecuteFiles
:
this
.
cardModeldata
orderExecuteFiles
:
this
.
cardModeldata
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/implement/components/productReport.vue
View file @
ce4853fc
...
@@ -499,11 +499,11 @@ export default {
...
@@ -499,11 +499,11 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
dispatch_id
:
this
.
datasearch
.
entryID
,
dispatch_id
:
this
.
datasearch
.
entryID
,
order_id
:
this
.
datasearch
.
order_id
,
order_id
:
this
.
datasearch
.
order_id
,
list
:
datalist
list
:
datalist
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/implement/components/sendCheck.vue
View file @
ce4853fc
...
@@ -115,7 +115,7 @@ export default {
...
@@ -115,7 +115,7 @@ export default {
if
(
state
)
{
if
(
state
)
{
var
url
=
`
${
PlanUrl
}
/ordercheckresult/sendcheck`
var
url
=
`
${
PlanUrl
}
/ordercheckresult/sendcheck`
service
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
(
this
.
user
)
)
.
post
(
`
${
url
}
`
,
this
.
user
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
this
.
$Message
.
success
(
'保存成功'
)
this
.
$Message
.
success
(
'保存成功'
)
...
...
pages/implement/components/usercard.vue
View file @
ce4853fc
...
@@ -71,7 +71,7 @@ export default {
...
@@ -71,7 +71,7 @@ export default {
}
}
service
service
.
post
(
`
${
systemUrl
}
/user/list`
,
JSON
.
stringify
(
params
)
)
.
post
(
`
${
systemUrl
}
/user/list`
,
params
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
result
.
length
>
0
)
{
if
(
response
.
result
.
length
>
0
)
{
this
.
user
.
user_name
=
response
.
result
[
0
].
userName
this
.
user
.
user_name
=
response
.
result
[
0
].
userName
...
@@ -139,10 +139,10 @@ export default {
...
@@ -139,10 +139,10 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
user
:
this
.
user
,
user
:
this
.
user
,
card
:
this
.
recordList
card
:
this
.
recordList
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
@@ -185,7 +185,7 @@ export default {
...
@@ -185,7 +185,7 @@ export default {
}
}
this
.
product_ID
.
push
(
fillModel
.
product_ID
)
this
.
product_ID
.
push
(
fillModel
.
product_ID
)
console
.
log
(
fillModel
.
board_ID
);
this
.
board_ID
.
push
(
fillModel
.
board_ID
)
this
.
board_ID
.
push
(
fillModel
.
board_ID
)
if
(
if
(
fillModel
.
fill_in_user_type
==
1
||
fillModel
.
fill_in_user_type
==
1
||
...
@@ -238,9 +238,10 @@ export default {
...
@@ -238,9 +238,10 @@ export default {
},
},
getCurrentUser
(
e
)
{
getCurrentUser
(
e
)
{
if
(
e
)
{
if
(
e
)
{
let
userInfo
=
this
.
$store
.
admin
.
user
.
info
;
let
userInfo
=
this
.
$store
.
state
.
userInfo
;
console
.
log
(
userInfo
);
this
.
user
.
cardno
=
userInfo
.
login_id
this
.
user
.
cardno
=
userInfo
.
login_id
this
.
user
.
user_name
=
localStorage
.
getItem
(
'userName'
)
this
.
user
.
user_name
=
userInfo
.
name
this
.
user
.
user_id
=
userInfo
.
userId
this
.
user
.
user_id
=
userInfo
.
userId
}
else
{
}
else
{
this
.
user
.
cardno
=
''
this
.
user
.
cardno
=
''
...
...
pages/implement/index.vue
View file @
ce4853fc
...
@@ -541,11 +541,11 @@ export default {
...
@@ -541,11 +541,11 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
id
:
row
.
id
,
id
:
row
.
id
,
orderid
:
this
.
data
.
orderIDs
,
orderid
:
this
.
data
.
orderIDs
,
time
:
null
time
:
null
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
@@ -566,11 +566,11 @@ export default {
...
@@ -566,11 +566,11 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
id
:
row
.
id
,
id
:
row
.
id
,
orderid
:
this
.
data
.
orderIDs
,
orderid
:
this
.
data
.
orderIDs
,
time
:
null
time
:
null
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/order/quotation/components/quotationBox.vue
View file @
ce4853fc
...
@@ -402,7 +402,7 @@ th.conciseContent .ivu-table-cell {
...
@@ -402,7 +402,7 @@ th.conciseContent .ivu-table-cell {
padding
:
0px
!important
;
padding
:
0px
!important
;
}
}
.ivu-table-cell
{
.ivu-table-cell
{
padding
:
0px
!important
;
/* padding: 0px !important; */
}
}
</
style
>
>
</
style
>
>
pages/order/quotation/index.vue
View file @
ce4853fc
...
@@ -458,7 +458,7 @@ export default {
...
@@ -458,7 +458,7 @@ export default {
this
.
recordColumn
=
[
this
.
recordColumn
=
[
{
{
type
:
"index"
,
type
:
"index"
,
width
:
6
0
,
width
:
6
5
,
title
:
"序号"
,
title
:
"序号"
,
align
:
"center"
align
:
"center"
},
},
...
...
pages/processManage/Process/detailfiles.vue
View file @
ce4853fc
...
@@ -103,9 +103,9 @@ export default {
...
@@ -103,9 +103,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
routingFile
:
dataValidate
routingFile
:
dataValidate
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processManage/Process/index.vue
View file @
ce4853fc
...
@@ -226,7 +226,7 @@ export default {
...
@@ -226,7 +226,7 @@ export default {
doUpload
:
'/api/up/file'
,
doUpload
:
'/api/up/file'
,
tableHeight
:
''
,
tableHeight
:
''
,
myloading
:
true
,
myloading
:
true
,
gymodaltitle
:
'创建
主
工艺'
,
gymodaltitle
:
'创建工艺'
,
processviewModal
:
false
,
processviewModal
:
false
,
isview
:
false
,
isview
:
false
,
issendAudit
:
false
,
issendAudit
:
false
,
...
@@ -672,10 +672,10 @@ export default {
...
@@ -672,10 +672,10 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
routingHeaderEntity
:
a
.
formValidate
,
routingHeaderEntity
:
a
.
formValidate
,
FileList
:
filelist
FileList
:
filelist
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processManage/Process/processNew.vue
View file @
ce4853fc
...
@@ -544,9 +544,9 @@ export default {
...
@@ -544,9 +544,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
routingDetail
:
this
.
formprocessValidate
routingDetail
:
this
.
formprocessValidate
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processManage/Process/stepModel.vue
View file @
ce4853fc
...
@@ -171,9 +171,9 @@ let isvalidate = false;
...
@@ -171,9 +171,9 @@ let isvalidate = false;
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
routingStep
:
this
.
newModeldata
routingStep
:
this
.
newModeldata
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processManage/Process/supporting.vue
View file @
ce4853fc
...
@@ -304,7 +304,7 @@ export default {
...
@@ -304,7 +304,7 @@ export default {
var
url
=
`
${
designUrl
}
/routingsupporting/createorupdate`
var
url
=
`
${
designUrl
}
/routingsupporting/createorupdate`
service
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
(
this
.
formprocessValidate
)
)
.
post
(
`
${
url
}
`
,
this
.
formprocessValidate
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
this
.
$Message
.
success
(
'保存成功'
)
this
.
$Message
.
success
(
'保存成功'
)
...
...
pages/processManage/Process/testingModel.vue
View file @
ce4853fc
...
@@ -353,9 +353,9 @@ export default {
...
@@ -353,9 +353,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
routingQcCard
:
this
.
cardModeldata
routingQcCard
:
this
.
cardModeldata
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processManage/setProcess/index.vue
View file @
ce4853fc
...
@@ -389,7 +389,7 @@ export default {
...
@@ -389,7 +389,7 @@ export default {
list
:
[],
list
:
[],
data2
:
[],
data2
:
[],
tabstatus
:
'1'
,
//暂存tab状态()主工艺||专业工艺
tabstatus
:
'1'
,
//暂存tab状态()主工艺||专业工艺
gymodaltitle
:
'创建
主
工艺'
,
gymodaltitle
:
'创建工艺'
,
selectdata
:
[],
selectdata
:
[],
value1
:
false
,
value1
:
false
,
drawerShow
:
false
,
drawerShow
:
false
,
...
@@ -557,7 +557,7 @@ export default {
...
@@ -557,7 +557,7 @@ export default {
content
=
gh
[
0
].
name
content
=
gh
[
0
].
name
editColor
=
gh
[
0
].
color
editColor
=
gh
[
0
].
color
}
}
if
(
this
.
tabstatus
==
'1'
)
{
return
h
(
'div'
,
[
return
h
(
'div'
,
[
h
(
h
(
'span'
,
'span'
,
...
@@ -601,24 +601,7 @@ export default {
...
@@ -601,24 +601,7 @@ export default {
content
content
)
)
])
])
}
else
{
return
h
(
'div'
,
[
h
(
'span'
,
{
props
:
{
type
:
'text'
,
ghost
:
true
},
style
:
{
color
:
editColor
,
cursor
:
'pointer'
}
},
content
)
])
}
}
}
},
},
...
@@ -1076,9 +1059,7 @@ export default {
...
@@ -1076,9 +1059,7 @@ export default {
saveHeader
(
next
)
{
saveHeader
(
next
)
{
var
a
=
this
.
$refs
.
processMain
var
a
=
this
.
$refs
.
processMain
if
(
a
.
formValidate
.
routingType
==
1
)
{
this
.
savebill
()
}
var
filelist
=
a
.
getfile
()
var
filelist
=
a
.
getfile
()
let
isvalidate
=
false
let
isvalidate
=
false
...
@@ -1107,10 +1088,10 @@ export default {
...
@@ -1107,10 +1088,10 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
routingHeaderEntity
:
a
.
formValidate
,
routingHeaderEntity
:
a
.
formValidate
,
FileList
:
filelist
FileList
:
filelist
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
@@ -1209,9 +1190,7 @@ export default {
...
@@ -1209,9 +1190,7 @@ export default {
this
.
$refs
.
processNew
.
formprocessValidate
.
routing_header_id
=
this
.
headerid
this
.
$refs
.
processNew
.
formprocessValidate
.
routing_header_id
=
this
.
headerid
this
.
$refs
.
processNew
.
loaddata
()
this
.
$refs
.
processNew
.
loaddata
()
}
else
{
}
else
{
if
(
this
.
addpdefm
.
formValidate
.
routingType
==
1
)
{
this
.
savebill
()
}
var
a
=
this
.
addpdefm
var
a
=
this
.
addpdefm
this
.
headerid
=
this
.
addpdefm
.
formValidate
.
id
this
.
headerid
=
this
.
addpdefm
.
formValidate
.
id
...
@@ -1231,9 +1210,9 @@ export default {
...
@@ -1231,9 +1210,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
orderRouting
:
orderRoutingobj
orderRouting
:
orderRoutingobj
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
@@ -1296,15 +1275,12 @@ export default {
...
@@ -1296,15 +1275,12 @@ export default {
modalShowCancel
()
{
modalShowCancel
()
{
this
.
modalShow
=
false
this
.
modalShow
=
false
},
},
savebill
()
{
this
.
$refs
.
modelTable
.
$refs
.
quotationBox2
.
saveData
()
this
.
$refs
.
modelTable
.
$refs
.
quotationBox3
.
saveData
()
},
saveOK
()
{
saveOK
()
{
var
url
=
`
${
PlanUrl
}
/OrderMaterial/createorupdate`
var
url
=
`
${
PlanUrl
}
/OrderMaterial/createorupdate`
// JSON.stringify({Process:this.formValidate})
// JSON.stringify({Process:this.formValidate})
service
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
({
orderMaterial
:
this
.
formValidate
})
)
.
post
(
`
${
url
}
`
,
{
orderMaterial
:
this
.
formValidate
}
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
this
.
$Message
.
success
(
'保存成功'
)
this
.
$Message
.
success
(
'保存成功'
)
...
@@ -1334,7 +1310,7 @@ export default {
...
@@ -1334,7 +1310,7 @@ export default {
let
ordercombid
=
0
let
ordercombid
=
0
this
.
createtype
=
1
this
.
createtype
=
1
if
(
routingType
==
1
)
{
if
(
routingType
==
1
)
{
this
.
gymodaltitle
=
'设置
主
工艺规程'
this
.
gymodaltitle
=
'设置工艺规程'
for
(
let
i
=
0
;
i
<
this
.
data1
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
data1
.
length
;
i
++
)
{
let
obj1
=
this
.
data1
[
i
]
let
obj1
=
this
.
data1
[
i
]
...
@@ -1346,24 +1322,14 @@ export default {
...
@@ -1346,24 +1322,14 @@ export default {
}
}
}
}
this
.
$refs
.
modelTable
.
issetProcess1
=
true
this
.
$refs
.
modelTable
.
selectFault
=
'greateArt'
this
.
$refs
.
modelTable
.
$refs
.
quotationBox2
.
loadData
(
orderids
.
toString
(
','
)
)
this
.
$refs
.
modelTable
.
$refs
.
quotationBox3
.
loadData
(
orderids
.
toString
(
','
)
)
this
.
$refs
.
modelTable
.
$refs
.
quotationBox2
.
isview
=
this
.
isview
this
.
$refs
.
modelTable
.
$refs
.
quotationBox3
.
isview
=
this
.
isview
}
else
{
}
else
{
this
.
$refs
.
modelTable
.
issetProcess1
=
false
this
.
gymodaltitle
=
'设置专业工艺规程'
this
.
gymodaltitle
=
'设置专业工艺规程'
ordercombid
=
params
.
row
.
specialtyOrderCombID
ordercombid
=
params
.
row
.
specialtyOrderCombID
if
(
ordercombid
!=
0
)
{
if
(
ordercombid
!=
0
)
{
this
.
$refs
.
modelTable
.
issetProcess1
=
false
this
.
addpdefm
.
formValidate
.
ordercombid
=
ordercombid
this
.
addpdefm
.
formValidate
.
ordercombid
=
ordercombid
for
(
let
i
=
0
;
i
<
this
.
data1
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
data1
.
length
;
i
++
)
{
let
obj
=
this
.
data1
[
i
]
let
obj
=
this
.
data1
[
i
]
...
@@ -1431,12 +1397,11 @@ export default {
...
@@ -1431,12 +1397,11 @@ export default {
this
.
addpdefm
.
setshow
()
this
.
addpdefm
.
setshow
()
},
},
editProcessRow
(
params
,
RoutingID
,
routingType
)
{
editProcessRow
(
params
,
RoutingID
,
routingType
)
{
let
ordercombid
=
0
let
ordercombid
=
0
if
(
routingType
==
1
)
{
ordercombid
=
params
.
row
.
orderCombID
ordercombid
=
params
.
row
.
orderCombID
}
else
{
ordercombid
=
params
.
row
.
specialtyOrderCombID
}
this
.
editProcess
(
ordercombid
,
RoutingID
,
routingType
,
null
)
this
.
editProcess
(
ordercombid
,
RoutingID
,
routingType
,
null
)
},
},
editProcess
(
ordercombid
,
RoutingID
,
routingType
,
orders
)
{
editProcess
(
ordercombid
,
RoutingID
,
routingType
,
orders
)
{
...
@@ -1450,16 +1415,9 @@ export default {
...
@@ -1450,16 +1415,9 @@ export default {
let
orderids
=
new
Array
()
let
orderids
=
new
Array
()
let
orderlist
=
new
Array
()
let
orderlist
=
new
Array
()
if
(
routingType
==
1
)
{
// ordercombid = params.row.orderCombID
this
.
$refs
.
modelTable
.
issetProcess1
=
true
this
.
$refs
.
modelTable
.
$refs
.
quotationBox2
.
isview
=
this
.
isview
this
.
$refs
.
modelTable
.
$refs
.
quotationBox3
.
isview
=
this
.
isview
}
else
{
// ordercombid = params.row.specialtyOrderCombID
this
.
$refs
.
modelTable
.
issetProcess1
=
false
}
this
.
addpdefm
.
formValidate
.
ordercombid
=
ordercombid
this
.
addpdefm
.
formValidate
.
ordercombid
=
ordercombid
if
(
orders
==
null
)
{
if
(
orders
==
null
)
{
for
(
let
i
=
0
;
i
<
this
.
data1
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
data1
.
length
;
i
++
)
{
...
@@ -1492,15 +1450,7 @@ export default {
...
@@ -1492,15 +1450,7 @@ export default {
}
}
this
.
addpdefm
.
dataTop
=
orderlist
this
.
addpdefm
.
dataTop
=
orderlist
if
(
routingType
==
1
)
{
this
.
$refs
.
modelTable
.
$refs
.
quotationBox2
.
loadData
(
orderids
.
toString
(
','
)
)
this
.
$refs
.
modelTable
.
$refs
.
quotationBox3
.
loadData
(
orderids
.
toString
(
','
)
)
this
.
$refs
.
modelTable
.
selectFault
=
'greateArt'
}
if
(
routingType
==
1
)
{
if
(
routingType
==
1
)
{
this
.
gymodaltitle
=
'设置工艺规程'
this
.
gymodaltitle
=
'设置工艺规程'
}
else
{
}
else
{
...
@@ -1539,13 +1489,9 @@ export default {
...
@@ -1539,13 +1489,9 @@ export default {
let
orderids
=
new
Array
()
let
orderids
=
new
Array
()
let
orderlist
=
new
Array
()
let
orderlist
=
new
Array
()
let
ordercombid
=
0
let
ordercombid
=
0
if
(
routingType
==
1
)
{
ordercombid
=
params
.
row
.
orderCombID
ordercombid
=
params
.
row
.
orderCombID
this
.
$refs
.
modelTable
.
issetProcess1
=
true
}
else
{
ordercombid
=
params
.
row
.
specialtyOrderCombID
this
.
$refs
.
modelTable
.
issetProcess1
=
false
}
this
.
addpdefm
.
formValidate
.
ordercombid
=
ordercombid
this
.
addpdefm
.
formValidate
.
ordercombid
=
ordercombid
for
(
let
i
=
0
;
i
<
this
.
data1
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
data1
.
length
;
i
++
)
{
let
obj
=
this
.
data1
[
i
]
let
obj
=
this
.
data1
[
i
]
...
@@ -1568,22 +1514,10 @@ export default {
...
@@ -1568,22 +1514,10 @@ export default {
}
}
this
.
addpdefm
.
dataTop
=
orderlist
this
.
addpdefm
.
dataTop
=
orderlist
if
(
routingType
==
1
)
{
this
.
$refs
.
modelTable
.
$refs
.
quotationBox2
.
loadData
(
orderids
.
toString
(
','
)
)
this
.
$refs
.
modelTable
.
$refs
.
quotationBox3
.
loadData
(
orderids
.
toString
(
','
)
)
this
.
$refs
.
modelTable
.
selectFault
=
'greateArt'
this
.
$refs
.
modelTable
.
$refs
.
quotationBox2
.
isview
=
this
.
isview
this
.
$refs
.
modelTable
.
$refs
.
quotationBox3
.
isview
=
this
.
isview
}
if
(
routingType
==
1
)
{
this
.
gymodaltitle
=
'查看工艺规程'
}
else
{
this
.
gymodaltitle
=
'查看工艺规程'
this
.
gymodaltitle
=
'查看工艺规程'
}
var
url
=
`
${
designUrl
}
/routingheader/getbyid?id=`
+
RoutingID
var
url
=
`
${
designUrl
}
/routingheader/getbyid?id=`
+
RoutingID
service
.
get
(
`
${
url
}
`
).
then
((
response
)
=>
{
service
.
get
(
`
${
url
}
`
).
then
((
response
)
=>
{
this
.
addpdefm
.
formValidate
=
response
.
result
this
.
addpdefm
.
formValidate
=
response
.
result
...
@@ -1613,9 +1547,7 @@ export default {
...
@@ -1613,9 +1547,7 @@ export default {
this
.
addpdefm
.
formValidate
=
this
.
headerInfo
this
.
addpdefm
.
formValidate
=
this
.
headerInfo
this
.
addpdefm
.
isview
=
this
.
isview
this
.
addpdefm
.
isview
=
this
.
isview
this
.
$refs
.
modelTable
.
$refs
.
quotationBox2
.
isview
=
this
.
isview
this
.
$refs
.
modelTable
.
$refs
.
quotationBox3
.
isview
=
this
.
isview
this
.
addpdefm
.
ProductName
=
this
.
headerInfo
.
productName
this
.
addpdefm
.
ProductName
=
this
.
headerInfo
.
productName
this
.
addpdefm
.
ProductCode
=
this
.
headerInfo
.
productCode
this
.
addpdefm
.
ProductCode
=
this
.
headerInfo
.
productCode
...
...
pages/processManage/setProcess/processMain.vue
View file @
ce4853fc
...
@@ -445,36 +445,7 @@ export default {
...
@@ -445,36 +445,7 @@ export default {
this
.
$refs
.
refFile
.
routing_header_id
=
0
;
this
.
$refs
.
refFile
.
routing_header_id
=
0
;
this
.
$refs
.
refFile
.
intFiles
();
this
.
$refs
.
refFile
.
intFiles
();
},
},
LoadprocessList
()
{
this
.
processList
=
[];
let
url
=
`
${
designUrl
}
/routingheader/getlistbyids?`
+
this
.
Mianids
,
that
=
this
;
service
.
get
(
`
${
url
}
`
).
then
(
res
=>
{
let
selectdata
=
res
.
result
;
selectdata
.
forEach
(
item
=>
{
this
.
processList
.
push
({
value
:
item
.
id
,
name
:
item
.
code
,
ver
:
item
.
version
});
});
this
.
formValidate
.
up_id
=
this
.
processList
[
0
].
value
;
this
.
MianVer
=
this
.
processList
[
0
].
ver
;
this
.
MianCode
=
this
.
processList
[
0
].
name
;
});
},
MainProcess_selected
(
val
)
{
//这里的val默认拿到的是:value绑定的那个
this
.
formValidate
.
up_id
=
val
;
this
.
processList
.
forEach
(
item
=>
{
if
(
val
==
item
.
value
)
{
this
.
MianVer
=
item
.
ver
;
}
});
},
quotationBox
()
{
quotationBox
()
{
this
.
$refs
.
generateQuotation
.
modalShow
=
true
;
this
.
$refs
.
generateQuotation
.
modalShow
=
true
;
},
},
...
@@ -558,9 +529,10 @@ export default {
...
@@ -558,9 +529,10 @@ export default {
});
});
},
},
setparentcreatetype
(
type
,
headerid
)
{
setparentcreatetype
(
type
,
headerid
)
{
this
.
$parent
.
$parent
.
createtype
=
type
this
.
$parent
.
$parent
.
headerid
=
headerid
this
.
$parent
.
$parent
.
$parent
.
createtype
=
type
;
this
.
$parent
.
$parent
.
$parent
.
headerid
=
headerid
;
},
},
...
@@ -575,11 +547,9 @@ export default {
...
@@ -575,11 +547,9 @@ export default {
});
});
},
},
setshow
()
{
setshow
()
{
if
(
this
.
formValidate
.
routingType
==
2
)
{
this
.
isshow
=
true
;
}
else
{
this
.
isshow
=
false
;
this
.
isshow
=
false
;
}
if
(
this
.
formValidate
.
id
!=
0
)
{
if
(
this
.
formValidate
.
id
!=
0
)
{
this
.
isedit
=
true
;
this
.
isedit
=
true
;
...
@@ -590,14 +560,11 @@ export default {
...
@@ -590,14 +560,11 @@ export default {
this
.
Loadfile
(
0
);
this
.
Loadfile
(
0
);
}
}
if
(
this
.
Mianids
!=
""
)
{
this
.
LoadprocessList
();
}
this
.
createtype
=
"1"
;
this
.
createtype
=
"1"
;
this
.
selectpdefmid
=
0
;
this
.
selectpdefmid
=
0
;
this
.
RoutingList
=
[];
this
.
RoutingList
=
[];
this
.
calcplatesnum
();
//
this.calcplatesnum();
}
}
}
}
};
};
...
...
pages/produce/components/expend.vue
View file @
ce4853fc
...
@@ -145,7 +145,7 @@ export default {
...
@@ -145,7 +145,7 @@ export default {
<
style
lang=
'less'
scoped
>
<
style
lang=
'less'
scoped
>
.material_row{
.material_row{
.material_label{
.material_label{
color: #2
49E91
color: #2
d8cf0
}
}
.material_line {
.material_line {
display: inline-block;
display: inline-block;
...
...
pages/produce/ordermaterial.vue
View file @
ce4853fc
...
@@ -360,8 +360,7 @@ export default {
...
@@ -360,8 +360,7 @@ export default {
},
},
// 分页查询数据列表
// 分页查询数据列表
laoedPage
()
{
laoedPage
()
{
let
params
=
this
.
orderSearchForm
let
params
=
this
.
orderSearchForm
params
.
SkipCount
=
params
.
SkipCount
||
0
params
.
SkipCount
=
params
.
SkipCount
||
0
params
.
MaxResultCount
=
params
.
MaxResultCount
||
10
params
.
MaxResultCount
=
params
.
MaxResultCount
||
10
...
...
pages/qc/taskList/index.vue
View file @
ce4853fc
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
v-model=
"searchIterms"
placeholder=
"请输入查询条件"
v-model=
"searchIterms"
placeholder=
"请输入查询条件"
@
on-search=
"tableSearch"
></Input>
@
on-search=
"tableSearch"
></Input>
</div>
</div>
<Button
type=
"primary"
class=
"title_btn"
@
click=
'searchModel'
>
高级查询
</Button>
<Button
type=
"primary"
class=
"title_btn"
v-show=
"false"
@
click=
'searchModel'
>
高级查询
</Button>
</div>
</div>
<div
class=
"table"
>
<div
class=
"table"
>
<Table
<Table
...
@@ -333,6 +333,7 @@ export default {
...
@@ -333,6 +333,7 @@ export default {
searchlaode
(
parmes
){
searchlaode
(
parmes
){
let
url
=
`
${
PlanUrl
}
/ordercheck/waitexecuteorderlist`
;
let
url
=
`
${
PlanUrl
}
/ordercheck/waitexecuteorderlist`
;
service
.
post
(
`
${
url
}
`
,
parmes
).
then
(
res
=>
{
service
.
post
(
`
${
url
}
`
,
parmes
).
then
(
res
=>
{
console
.
warn
(
res
)
this
.
mDatas
=
res
.
result
.
items
this
.
mDatas
=
res
.
result
.
items
this
.
search
.
total
=
res
.
result
.
totalCount
this
.
search
.
total
=
res
.
result
.
totalCount
});
});
...
@@ -415,7 +416,7 @@ export default {
...
@@ -415,7 +416,7 @@ export default {
<
style
scoped
>
<
style
scoped
>
.table_title
{
.table_title
{
width
:
320px
;
width
:
320px
;
float
:
left
;
/* float: left; */
}
}
.table
{
.table
{
margin
:
10px
0
0
0
;
margin
:
10px
0
0
0
;
...
...
pages/qcimplement/components/backCheck.vue
View file @
ce4853fc
...
@@ -92,7 +92,7 @@ export default {
...
@@ -92,7 +92,7 @@ export default {
if
(
state
)
{
if
(
state
)
{
var
url
=
`
${
PlanUrl
}
/ordercheckresult/savecheckresult`
var
url
=
`
${
PlanUrl
}
/ordercheckresult/savecheckresult`
service
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
(
this
.
mod
)
)
.
post
(
`
${
url
}
`
,
this
.
mod
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
this
.
$Message
.
success
(
'操作成功'
)
this
.
$Message
.
success
(
'操作成功'
)
...
...
pages/qcimplement/index.vue
View file @
ce4853fc
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</div>
</div>
<div
class=
"transmit_content"
>
<div
class=
"transmit_content"
>
<div
class=
"wuliao_left"
>
<div
class=
"wuliao_left"
>
<div
class=
"card_title"
style=
"height:
32
px"
>
<div
class=
"card_title"
style=
"height:
46
px"
>
<a
href=
"#"
class=
"state"
@
click=
"showList"
>
<a
href=
"#"
class=
"state"
@
click=
"showList"
>
状态:
状态:
<Icon
type=
"ios-arrow-down"
v-if=
"iconModel"
/>
<Icon
type=
"ios-arrow-down"
v-if=
"iconModel"
/>
...
@@ -388,11 +388,11 @@ export default {
...
@@ -388,11 +388,11 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
id
:
row
.
id
,
id
:
row
.
id
,
orderid
:
this
.
data
.
orderIDs
,
orderid
:
this
.
data
.
orderIDs
,
time
:
null
time
:
null
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
@@ -413,11 +413,11 @@ export default {
...
@@ -413,11 +413,11 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
id
:
row
.
id
,
id
:
row
.
id
,
orderid
:
this
.
data
.
orderIDs
,
orderid
:
this
.
data
.
orderIDs
,
time
:
null
time
:
null
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
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