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
2be75094
Commit
2be75094
authored
Aug 12, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
detail
parent
fca87e43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
8 deletions
+44
-8
detailAccessory.vue
pages/aps/plan/detailAccessory.vue
+43
-7
editAccessory.vue
pages/aps/plan/editAccessory.vue
+1
-1
No files found.
pages/aps/plan/detailAccessory.vue
View file @
2be75094
...
@@ -44,6 +44,8 @@ export default {
...
@@ -44,6 +44,8 @@ export default {
return
{
return
{
disabled
:
false
,
disabled
:
false
,
deletelModal
:
false
,
deletelModal
:
false
,
statuList
:
this
.
$store
.
getters
.
dictionaryByKey
(
"accessory.status"
)
||
[],
statuList1
:
this
.
$store
.
getters
.
dictionaryByKey
(
"outstore.status"
)
||
[],
curId
:
0
,
curId
:
0
,
editIndex
:
-
1
,
editIndex
:
-
1
,
editNum
:
""
,
editNum
:
""
,
...
@@ -74,6 +76,17 @@ export default {
...
@@ -74,6 +76,17 @@ export default {
title
:
this
.
l
(
"status"
),
title
:
this
.
l
(
"status"
),
align
:
"center"
,
align
:
"center"
,
width
:
120
,
width
:
120
,
render
:
(
h
,
params
)
=>
{
return
h
(
"span"
,
{
style
:
{
color
:
this
.
setName
(
this
.
statuList1
,
params
.
row
.
status
).
color
,
},
},
this
.
setName
(
this
.
statuList1
,
params
.
row
.
status
).
name
);
},
},
},
{
{
key
:
"remark"
,
key
:
"remark"
,
...
@@ -135,7 +148,8 @@ export default {
...
@@ -135,7 +148,8 @@ export default {
}
}
});
});
},
},
application
(
type
,
arr
)
{
//撤回配套申请 type:0 单条 1 全部
application
(
type
,
arr
)
{
//撤回配套申请 type:0 单条 1 全部
let
parms
=
[];
let
parms
=
[];
if
(
type
==
0
)
{
if
(
type
==
0
)
{
parms
.
push
(
arr
.
id
);
parms
.
push
(
arr
.
id
);
...
@@ -144,16 +158,38 @@ export default {
...
@@ -144,16 +158,38 @@ export default {
parms
.
push
(
ele
.
id
);
parms
.
push
(
ele
.
id
);
});
});
}
}
Api
.
batchdelete
(
parms
).
then
(
res
=>
{
Api
.
batchdelete
(
parms
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
result
)
if
(
res
.
success
&&
res
.
result
)
{
{
this
.
$Message
.
success
(
"撤销成功"
);
this
.
$Message
.
success
(
"撤销成功"
);
this
.
load
(
this
.
eid
);
this
.
load
(
this
.
eid
);
this
.
$emit
(
'on-ok'
)
this
.
$emit
(
"on-ok"
);
}
}
})
});
},
//配套申请
setName
(
list
,
v
)
{
let
outPar
=
{
name
:
""
,
color
:
""
,
};
if
((
v
+
""
).
indexOf
(
","
)
==
-
1
)
{
var
item
;
list
.
map
((
u
)
=>
{
if
(
u
.
code
==
v
)
{
item
=
u
;
}
});
if
(
item
)
{
//this.items = item;
outPar
=
{
name
:
item
.
name
,
color
:
item
.
color
,
};
}
}
return
outPar
;
},
},
l
(
key
)
{
l
(
key
)
{
let
vkey
=
"support_item"
+
"."
+
key
;
let
vkey
=
"support_item"
+
"."
+
key
;
return
this
.
$t
(
vkey
)
||
key
;
return
this
.
$t
(
vkey
)
||
key
;
},
},
...
...
pages/aps/plan/editAccessory.vue
View file @
2be75094
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
订单编号:
{{
mesCodes
}}
订单编号:
{{
mesCodes
}}
<span
class=
"ml20"
>
产品名称:
{{
productNames
}}
</span>
<span
class=
"ml20"
>
产品名称:
{{
productNames
}}
</span>
<span
class=
"ml20"
>
生产数量:
{{
counts
}}
</span>
<span
class=
"ml20"
>
生产数量:
{{
counts
}}
</span>
<span
class=
"fr mr20"
>
<span
class=
"fr mr20"
v-if=
"false"
>
<a
href=
"javascript:;"
>
出库单
</a>
<a
href=
"javascript:;"
>
出库单
</a>
</span>
</span>
<span
class=
"fr mr20"
>
<span
class=
"fr mr20"
>
...
...
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