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
7746ed7d
Commit
7746ed7d
authored
Aug 13, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
c20d2b87
ee445b99
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
28 deletions
+38
-28
zh-CN.js
i18n/locale/zh-CN.js
+3
-1
detailAccessory.vue
pages/aps/plan/detailAccessory.vue
+21
-13
editAccessory.vue
pages/aps/plan/editAccessory.vue
+1
-7
index.vue
pages/aps/plan/index.vue
+5
-0
index.vue
pages/aps/supprotMain/index.vue
+3
-2
outbound.vue
pages/aps/supprotMain/outbound.vue
+5
-5
No files found.
i18n/locale/zh-CN.js
View file @
7746ed7d
...
...
@@ -1655,6 +1655,8 @@ export default {
remark
:
'备注'
,
storeId
:
'库位id'
,
storeTitle
:
'库位名称'
,
stockCode
:
'物料序号'
stockCode
:
'物料序号'
,
count1
:
"可申请数"
,
count2
:
"申请数"
}
}
pages/aps/plan/detailAccessory.vue
View file @
7746ed7d
...
...
@@ -10,7 +10,7 @@
<Content>
<div
class=
"mb20"
v-for=
"(item,index) in datas"
:key=
"index"
>
<p
class=
"fwBold"
:id=
"'item'+index"
>
<span
>
申请编号:
{{
item
.
code
}}
</span>
<span>
申请编号:
{{
item
.
code
}}
</span>
<span
class=
"ml20"
>
齐套日期:
{{
item
.
finishDate
}}
</span>
<span
class=
"ml20"
>
申请人:
{{
item
.
creator
}}
</span>
<span
class=
"ml20"
>
申请时间:
{{
item
.
applyTime
}}
</span>
...
...
@@ -68,7 +68,7 @@ export default {
},
{
key
:
"count"
,
title
:
this
.
l
(
"count"
),
title
:
this
.
l
(
"count
2
"
),
align
:
"right"
,
width
:
120
,
},
...
...
@@ -82,10 +82,10 @@ export default {
"span"
,
{
style
:
{
color
:
this
.
setName
(
this
.
statuList
1
,
params
.
row
.
status
).
color
,
color
:
this
.
setName
(
this
.
statuList
,
params
.
row
.
status
).
color
,
},
},
this
.
setName
(
this
.
statuList
1
,
params
.
row
.
status
).
name
this
.
setName
(
this
.
statuList
,
params
.
row
.
status
).
name
);
},
},
...
...
@@ -111,7 +111,7 @@ export default {
click
:
()
=>
this
.
application
(
0
,
params
.
row
),
},
},
"撤回
"
params
.
row
.
status
==
0
?
"撤回"
:
"
"
),
]);
},
...
...
@@ -156,16 +156,24 @@ export default {
parms
.
push
(
arr
.
id
);
}
else
{
arr
.
forEach
((
ele
)
=>
{
parms
.
push
(
ele
.
id
);
if
(
ele
.
status
==
0
)
{
parms
.
push
(
ele
.
id
);
}
});
}
Api
.
batchdelete
(
parms
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
result
)
{
this
.
$Message
.
success
(
"撤销成功"
);
this
.
load
(
this
.
eid
);
this
.
$emit
(
"on-ok"
);
}
});
if
(
parms
.
length
>
0
)
{
Api
.
batchdelete
(
parms
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
result
)
{
this
.
$Message
.
success
(
"撤销成功"
);
this
.
load
(
this
.
eid
);
this
.
$emit
(
"on-ok"
);
}
});
}
else
{
this
.
$Message
.
error
(
"物料无法撤回!"
)
}
},
//配套申请
setName
(
list
,
v
)
{
...
...
pages/aps/plan/editAccessory.vue
View file @
7746ed7d
...
...
@@ -176,17 +176,11 @@ export default {
},
{
key
:
"count"
,
title
:
this
.
l
(
"count"
),
title
:
this
.
l
(
"count
1
"
),
align
:
"right"
,
slot
:
"counts"
,
width
:
120
,
},
{
key
:
"outStockNumber"
,
title
:
this
.
l
(
"outStockNumber"
),
align
:
"right"
,
width
:
120
,
},
{
key
:
"remark"
,
title
:
this
.
l
(
"remark"
),
...
...
pages/aps/plan/index.vue
View file @
7746ed7d
...
...
@@ -808,6 +808,11 @@ export default {
return
outPar
},
openAccessory
(
row
)
{
if
(
row
.
mainRoutingSetStatus
!=
1
)
{
this
.
$Message
.
error
(
"请设置订单工艺!"
)
return
}
this
.
orderId
=
row
.
id
;
this
.
mesCode
=
row
.
mesCode
;
this
.
productName
=
row
.
productName
;
...
...
pages/aps/supprotMain/index.vue
View file @
7746ed7d
...
...
@@ -12,7 +12,7 @@
</Form>
</
template
>
</DataGrid>
<Modal
v-model=
"modal"
:title=
"title"
width=
"1200"
fullscreen
footer-hide
>
<Modal
v-model=
"modal"
:title=
"title"
width=
"1200"
fullscreen
footer-hide
@
on-cancel=
"ok"
>
<component
:is=
"detail"
:eid=
"curId"
:row=
"entity"
@
on-close=
"cancel"
@
on-ok=
"ok"
/>
</Modal>
</div>
...
...
@@ -104,7 +104,8 @@ export default {
"op"
,
{
attrs
:
{
oprate
:
"edit"
},
on
:
{
click
:
()
=>
this
.
getOutBound
(
params
.
row
)
},
style
:{
color
:
params
.
row
.
status
==
0
?
"#bebebe"
:
""
},
on
:
{
click
:
()
=>
params
.
row
.
status
!=
0
?
this
.
getOutBound
(
params
.
row
):
null
},
},
"出库单"
),
...
...
pages/aps/supprotMain/outbound.vue
View file @
7746ed7d
...
...
@@ -7,7 +7,7 @@
<span
class=
"ml20"
>
申请时间:
{{
row
.
creationTime
}}
</span>
<span
class=
"ml20"
>
状态:
<state
code=
"outstore
.status"
:value=
"row.status+''"
type=
"text"
></state>
<state
code=
"accessory
.status"
:value=
"row.status+''"
type=
"text"
></state>
</span>
</p>
<Card
:padding=
"0"
>
...
...
@@ -20,6 +20,7 @@
class=
"fr"
size=
"small"
@
click=
"openMore"
v-show=
"tempList.length>1"
>
{{
butTxt
}}
</Button>
</div>
<Table
...
...
@@ -237,12 +238,11 @@ export default {
//this.datas = r.result.children;
this
.
tempList
=
r
.
result
.
children
;
this
.
datas
=
this
.
tempList
.
slice
(
0
,
1
);
this
.
tableHeight1
=
"9
6
"
;
this
.
tableHeight1
=
"9
7
"
;
this
.
butTxt
=
"更多"
;
this
.
iconLabel
=
"md-arrow-dropdown"
;
let
parm
=
{
orderId
:
r
.
result
.
orderId
};
this
.
orderId
=
r
.
result
.
orderId
;
let
parm
=
{
supportMainId
:
v
};
this
.
curRowId
=
0
;
Api
.
listbysupportitem
(
parm
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
...
...
@@ -305,7 +305,7 @@ export default {
this
.
butTxt
=
"收起"
;
this
.
iconLabel
=
"md-arrow-dropup"
;
}
else
{
this
.
tableHeight1
=
"9
6
"
;
this
.
tableHeight1
=
"9
7
"
;
this
.
butTxt
=
"更多"
;
this
.
iconLabel
=
"md-arrow-dropdown"
;
this
.
datas
=
this
.
tempList
.
slice
(
0
,
1
);
...
...
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