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
f686f2cd
Commit
f686f2cd
authored
Jun 19, 2020
by
周远喜
Committed by
佟礼
Jun 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检验填报
parent
57c55ca1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
879 additions
and
3 deletions
+879
-3
functional.vue
pages/produce/execute/components/functional.vue
+5
-0
backCheck.vue
pages/produce/execute/datafilling/backCheck.vue
+137
-0
check.vue
pages/produce/execute/datafilling/check.vue
+731
-0
sendCheck.vue
pages/produce/execute/datafilling/sendCheck.vue
+0
-1
usercard.vue
pages/produce/execute/datafilling/usercard.vue
+1
-1
index.vue
pages/produce/execute/index.vue
+4
-1
index.vue
pages/produce/execute/testdata/index.vue
+1
-0
No files found.
pages/produce/execute/components/functional.vue
View file @
f686f2cd
...
...
@@ -56,6 +56,11 @@
<a
@
click=
"gnFunto(8,'数据填报')"
:class=
"
{active:gnFlag == 8}">
<img
src=
"@/assets/imgicon/execute/ex09.png"
alt
/>
数据填报
</a>
</li>
<li>
<a
@
click=
"gnFunto(10,'质量检验')"
:class=
"
{active:gnFlag == 8}">
<img
src=
"@/assets/imgicon/execute/ex09.png"
alt
/>
质量检验
</a>
</li>
<li>
<a
@
click=
"gnFunto(9,'测试数据')"
:class=
"
{active:gnFlag == 9}">
...
...
pages/produce/execute/datafilling/backCheck.vue
0 → 100644
View file @
f686f2cd
<
template
>
<Form
ref=
"form"
:model=
"mod"
:label-width=
"100"
>
<Row
class=
"rowTitle100"
>
<Col
:span=
"12"
>
<span
class=
"ml20"
>
产品号
</span>
<Select
multiple
@
on-change=
"productonchange"
v-model=
"product_ID"
class=
"w200"
>
<Option
v-for=
"item in product_List"
:value=
"item.productids"
:key=
"item.index"
>
{{
item
.
productcodes
}}
</Option>
</Select>
</Col>
</Row>
<Row
class=
"rowTitle100"
>
<Col
:span=
"12"
>
<FormItem
label=
"备注"
>
<Input
v-model=
"mod.check_Result"
type=
"textarea"
:rows=
"4"
maxlength=
"100"
show-word-limit
></Input>
</FormItem>
</Col>
</Row>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
确定
</Button>
</FormItem>
</Form>
</
template
>
<
script
>
import
service
from
'@/plugins/request'
export
default
{
name
:
'backCheck'
,
components
:
{},
data
()
{
return
{
disabled
:
false
,
isCurrentUser
:
false
,
mod
:
{
id
:
0
,
dispatch_id
:
0
,
execute_id
:
0
,
order_id
:
''
,
routingHeaderId
:
0
,
routingDetailId
:
0
,
product_code
:
''
,
board_code
:
''
,
checkerIds
:
''
,
checkerNames
:
''
,
check_Status
:
0
,
check_Result
:
''
,
checker
:
0
,
checkName
:
''
,
check_time
:
null
},
recordList
:
[],
isMain
:
1
,
productisabled
:
false
,
product_ID
:
[],
board_ID
:
[],
product_List
:
[],
board_List
:
[]
}
},
mounted
()
{},
watch
:
{},
methods
:
{
handleSubmit
()
{
let
state
=
true
if
(
this
.
product_ID
.
length
==
0
)
{
state
=
false
this
.
$Message
.
error
(
'请选择要打回的产品'
)
return
}
this
.
mod
.
product_code
=
this
.
product_ID
.
join
(
','
)
this
.
mod
.
board_code
=
this
.
board_ID
.
join
(
','
)
if
(
state
)
{
var
url
=
`
${
PlanUrl
}
/ordercheckresult/savecheckresult`
service
.
post
(
`
${
url
}
`
,
this
.
mod
)
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
this
.
$Message
.
success
(
'操作成功'
)
this
.
$parent
.
$parent
.
loadproduct
()
this
.
$parent
.
$parent
.
backCheckModal
=
false
}
})
.
catch
((
error
)
=>
{
this
.
$Message
.
error
(
'保存失败'
)
})
}
},
handleClose
()
{},
loadentry
(
entryModel
,
fillModel
)
{
this
.
mod
.
dispatch_id
=
entryModel
.
id
this
.
mod
.
execute_id
=
entryModel
.
executeId
this
.
mod
.
order_id
=
entryModel
.
order_id
this
.
mod
.
routingHeaderId
=
entryModel
.
routingHeaderId
this
.
mod
.
routingDetailId
=
entryModel
.
routingDetailId
this
.
mod
.
checkName
=
this
.
$store
.
state
.
userInfo
.
userName
this
.
mod
.
check_Status
=
3
this
.
product_code
=
''
this
.
board_code
=
''
this
.
isCurrentUser
=
false
this
.
isMain
=
entryModel
.
isMain
this
.
product_ID
=
[]
this
.
board_ID
=
[]
this
.
productisabled
=
fillModel
.
productisabled
this
.
product_ID
.
push
(
fillModel
.
product_ID
)
this
.
board_ID
.
push
(
fillModel
.
board_ID
)
this
.
product_List
=
fillModel
.
product_List
this
.
board_List
=
fillModel
.
board_List
},
productonchange
(
e
)
{},
boardonchange
(
e
)
{
this
.
product_ID
=
[]
for
(
let
i
=
0
;
i
<
this
.
board_List
.
length
;
i
++
)
{
let
obj
=
this
.
board_List
[
i
]
for
(
let
j
=
0
;
j
<
e
.
length
;
j
++
)
{
if
(
obj
.
boardNumber
==
e
[
j
])
{
this
.
product_ID
.
push
(
obj
.
productids
)
}
}
}
}
}
}
</
script
>
\ No newline at end of file
pages/produce/execute/datafilling/check.vue
0 → 100644
View file @
f686f2cd
This diff is collapsed.
Click to expand it.
pages/produce/execute/datafilling/sendCheck.vue
View file @
f686f2cd
...
...
@@ -6,7 +6,6 @@
<span
class=
"ml20"
>
产品号
</span>
<Select
multiple
@
on-change=
"productonchange"
v-model=
"product_ID"
...
...
pages/produce/execute/datafilling/usercard.vue
View file @
f686f2cd
...
...
@@ -135,7 +135,7 @@ export default {
handleClose
()
{},
loadentry
(
entryModel
,
fillModel
,
recordList
)
{
this
.
user
.
dispatch_id
=
recordList
[
0
].
dispatch_
id
this
.
user
.
dispatch_id
=
entryModel
.
id
this
.
user
.
execute_id
=
entryModel
.
executeId
;
this
.
user
.
order_id
=
entryModel
.
order_id
;
this
.
user
.
routingHeaderId
=
entryModel
.
routingHeaderId
;
...
...
pages/produce/execute/index.vue
View file @
f686f2cd
...
...
@@ -140,8 +140,11 @@ row.routingdetailId=this.$route.query.routid;
if
(
number
==
8
)
{
this
.
detail
=
()
=>
import
(
"./datafilling/index"
);
}
//数据填报
if
(
number
==
10
)
{
this
.
detail
=
()
=>
import
(
"./datafilling/check"
);
}
//质量检验
if
(
number
==
9
)
{
this
.
$Message
.
info
(
"尊敬的用户,您没有该权限!"
);
//
this.$Message.info("尊敬的用户,您没有该权限!");
// this.detail = () => import("./testdata/index");
}
//测试数据
},
...
...
pages/produce/execute/testdata/index.vue
View file @
f686f2cd
...
...
@@ -6,6 +6,7 @@
<Icon
type=
"md-play"
/>
测试数据
</a>
</div>
<div
class=
"star flex fc-b"
v-else-if=
"starmodal"
>
<Button
class=
"button"
size=
'large'
type=
"primary"
><Icon
type=
"ios-pause"
/>
暂停
</Button>
<Button
class=
"button"
size=
'large'
type=
"primary"
><Icon
type=
"logo-angular"
/>
交检
</Button>
...
...
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