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
9a63c3ad
Commit
9a63c3ad
authored
Aug 06, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工艺设置
parent
160e7667
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
246 additions
and
139 deletions
+246
-139
index.vue
pages/processManage/setProcess/index.vue
+0
-1
api.js
pages/technology/setProcess/api.js
+4
-3
index.vue
pages/technology/setProcess/index.vue
+53
-47
set.vue
pages/technology/setProcess/set.vue
+189
-88
No files found.
pages/processManage/setProcess/index.vue
View file @
9a63c3ad
...
...
@@ -490,7 +490,6 @@ export default {
organizType
:
0
,
organizName
:
""
},
newColumn
:
[],
value
:
""
,
column
:
[],
...
...
pages/technology/setProcess/api.js
View file @
9a63c3ad
...
...
@@ -8,9 +8,10 @@ export default {
paged1
(
params
)
{
return
Api
.
post
(
`
${
technologyUrl
}
routingheader/paged`
,
params
);
},
// get(params) {
// return Api.get(`${technologyUrl}routingheader/get`, params);
// },
routingset
(
params
)
{
return
Api
.
post
(
`
${
technologyUrl
}
orderrouting/routingset`
,
params
);
},
// create(params) {
// return Api.post(`${technologyUrl}routingheader/create`, params);
// },
...
...
pages/technology/setProcess/index.vue
View file @
9a63c3ad
...
...
@@ -17,16 +17,11 @@
<departmentSelect
v-model=
"easySearch.productingpreparationpeople.value"
:type=
"3"
></departmentSelect>
</FormItem>
<FormItem
prop=
"keys"
>
<Input
placeholder=
"请输入订单编号/产品名称"
v-model=
"easySearch.keys.value"
clearable
/>
<Input
placeholder=
"请输入订单编号/产品名称"
v-model=
"easySearch.keys.value"
clearable
/>
</FormItem>
<FormItem>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
</FormItem>
<!--
<FormItem>
<Button
@
click=
"search2"
type=
"text"
>
<Icon
type=
"md-search"
/>
高级
</Button>
</FormItem>
-->
</Form>
</
template
>
<
template
slot=
"searchForm"
>
...
...
@@ -43,7 +38,7 @@
fullscreen
:mask-closable=
"false"
>
<component
:is=
"detail"
:eid=
"c
urI
d"
@
on-close=
"cancel"
@
on-ok=
"ok"
/>
<component
:is=
"detail"
:eid=
"c
hil
d"
@
on-close=
"cancel"
@
on-ok=
"ok"
/>
</Modal>
</div>
</template>
...
...
@@ -60,9 +55,13 @@ export default {
return
{
action
:
Api
.
index
,
showMenu
:
true
,
showMenu
:
true
,
title
:
""
,
curId
:
0
,
child
:
{
curId
:
0
,
productingPreparationPeople
:
0
,
orderIds
:
0
,
},
detail
:
null
,
modal
:
false
,
...
...
@@ -74,7 +73,8 @@ export default {
// { type: "selection", width: 70, align: "center" },
{
title
:
"序号"
,
type
:
"index"
,
key
:
"id"
,
// type: "index",
width
:
80
,
align
:
"center"
,
},
...
...
@@ -102,40 +102,38 @@ export default {
title
:
"工艺规程"
,
key
:
"mainRoutingStatus"
,
render
:
(
h
,
params
)
=>
{
return
h
(
"div"
,
[
h
(
"state"
,
{
props
:
{
code
:
"process.RoutingStatus"
,
type
:
"text"
,
value
:
params
.
row
.
mainRoutingStatus
!=
4
?
params
.
row
.
mainRoutingStatus
:
""
,
return
h
(
"a"
,
[
h
(
"state"
,
{
props
:
{
code
:
"process.RoutingStatus"
,
type
:
"text"
,
value
:
params
.
row
.
mainRoutingStatus
,
},
nativeOn
:
{
click
:
()
=>
{
this
.
record
(
params
.
row
);
},
}),
h
(
"a"
,
{
on
:
{
click
:
()
=>
{
this
.
record
(
params
.
row
);
},
},
},
params
.
row
.
mainRoutingStatus
==
4
?
"未设置"
:
""
),
],
{}
);
},
}),
// h(
// "a",
// {
// on: {
// click: () => {
// this.record(params.row);
// },
// },
// },
// params.row.mainRoutingStatus == 4 ? "未设置" : ""
// ),
]);
},
},
{
title
:
"料单"
,
key
:
"materialbillStatus"
,
code
:
"process.RoutingStatus"
,
},
//
{
//
title: "料单",
//
key: "materialbillStatus",
//
code: "process.RoutingStatus",
//
},
],
};
},
...
...
@@ -144,10 +142,18 @@ export default {
},
methods
:
{
record
(
row
)
{
this
.
curId
=
0
;
this
.
title
=
"设置"
;
this
.
detail
=
()
=>
import
(
"./set"
);
this
.
modal
=
true
;
if
(
row
.
mainRoutingStatus
==
-
1
)
{
//未设置
this
.
child
.
curId
=
row
.
productId
;
this
.
child
.
productingPreparationPeople
=
row
.
productingPreparationPeople
;
this
.
child
.
orderIds
=
row
.
id
;
this
.
title
=
"设置"
;
this
.
detail
=
()
=>
import
(
"./set"
);
this
.
modal
=
true
;
}
else
if
(
row
.
mainRoutingStatus
==
1
)
{
//受控中,查看
}
},
onHide
()
{
this
.
showMenu
=
false
;
...
...
@@ -168,10 +174,10 @@ export default {
ok
()
{
this
.
$refs
.
grid
.
load
();
this
.
modal
=
false
;
this
.
curId
=
0
;
this
.
c
hild
.
c
urId
=
0
;
},
cancel
()
{
this
.
curId
=
0
;
this
.
c
hild
.
c
urId
=
0
;
this
.
modal
=
false
;
},
},
...
...
pages/technology/setProcess/set.vue
View file @
9a63c3ad
This diff is collapsed.
Click to expand it.
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