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
e9e09ba7
Commit
e9e09ba7
authored
Aug 05, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api
parent
dd423425
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
18 deletions
+37
-18
api.js
pages/aps/plan/api.js
+11
-1
index.vue
pages/aps/plan/index.vue
+26
-17
No files found.
pages/aps/plan/api.js
View file @
e9e09ba7
...
@@ -36,5 +36,15 @@ export default {
...
@@ -36,5 +36,15 @@ export default {
},
},
moveintoai
(){
////跳转进入智能排产池前判断
moveintoai
(){
////跳转进入智能排产池前判断
return
Api
.
post
(
`
${
PlanUrl
}
/messchedule/moveintoai`
);
return
Api
.
post
(
`
${
PlanUrl
}
/messchedule/moveintoai`
);
}
},
//配套相关
matchlist
(
params
){
//申请配套列表
return
Api
.
get
(
`
${
technologyUrl
}
materiallist/matchlist`
,
params
);
},
supportmainPaged
(
params
){
////配套记录
return
Api
.
post
(
`
${
technologyUrl
}
supportmain/paged`
,
params
);
},
supportmainCreate
(
params
){
////保存配套
return
Api
.
post
(
`
${
technologyUrl
}
supportmain/create`
,
params
);
},
}
}
\ No newline at end of file
pages/aps/plan/index.vue
View file @
e9e09ba7
...
@@ -126,16 +126,17 @@
...
@@ -126,16 +126,17 @@
<orderSupport
ref=
"orderSupport"
></orderSupport>
<orderSupport
ref=
"orderSupport"
></orderSupport>
</Modal>
</Modal>
<Modal
v-model=
"modalAccessory"
:title=
"title"
fullscreen
footer-hide
>
<Modal
v-model=
"modalAccessory"
:title=
"title"
fullscreen
footer-hide
>
<component
<component
:is=
"details"
:is=
"detail"
:eid=
"curId"
:eid=
"orderId"
:uid=
"uId"
:mesCode=
"mesCode"
:title=
"title"
:productName=
"productName"
:headid=
"hid"
:drawnNumber=
"drawnNumber"
@
on-close=
"cancel"
:count=
"count"
@
on-ok=
"ok"
@
on-close=
"cancel"
/>
@
on-ok=
"ok"
</Modal>
/>
</Modal>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -177,10 +178,15 @@ export default {
...
@@ -177,10 +178,15 @@ export default {
this
.
$store
.
getters
.
dictionaryByKey
(
"aps.plan.supportingStatus"
)
||
[],
this
.
$store
.
getters
.
dictionaryByKey
(
"aps.plan.supportingStatus"
)
||
[],
name
:
""
,
name
:
""
,
item
:
null
,
item
:
null
,
title
:
''
,
title
:
""
,
detail
s
:
null
,
detail
:
null
,
uId
:
""
,
uId
:
""
,
hid
:
0
,
hid
:
0
,
orderId
:
0
,
mesCode
:
""
,
productName
:
""
,
drawnNumber
:
""
,
count
:
0
,
modalAccessory
:
false
,
modalAccessory
:
false
,
columns
:
[
columns
:
[
{
{
...
@@ -794,14 +800,17 @@ export default {
...
@@ -794,14 +800,17 @@ export default {
this
.
item
.
name
=
" "
;
this
.
item
.
name
=
" "
;
this
.
item
.
color
=
""
;
this
.
item
.
color
=
""
;
}
}
}
}
return
this
.
item
;
return
this
.
item
;
},
},
openAccessory
(
row
)
openAccessory
(
row
)
{
{
this
.
orderId
=
row
.
id
;
this
.
curId
=
0
;
this
.
mesCode
=
row
.
mesCode
;
this
.
productName
=
row
.
productName
;
this
.
drawnNumber
=
row
.
drawnNumber
;
this
.
count
=
row
.
quantity
;
this
.
title
=
"申请配套"
;
this
.
title
=
"申请配套"
;
this
.
detail
s
=
()
=>
import
(
"./addAccessory"
);
this
.
detail
=
()
=>
import
(
"./addAccessory"
);
this
.
modalAccessory
=
true
;
this
.
modalAccessory
=
true
;
},
},
cancel
()
{
cancel
()
{
...
...
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