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
1e0610ae
Commit
1e0610ae
authored
Oct 20, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合格证编辑
parent
3c3a62e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
17 deletions
+69
-17
edit.vue
pages/qc/certificate/endIssued/edit.vue
+69
-17
No files found.
pages/qc/certificate/endIssued/edit.vue
View file @
1e0610ae
...
@@ -23,7 +23,10 @@
...
@@ -23,7 +23,10 @@
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"6"
>
<Col
:span=
"6"
>
<FormItem
:label=
"l('productSerialNumber')"
prop=
"productSerialNumber"
>
<FormItem
:label=
"l('productSerialNumber')"
prop=
"productSerialNumber"
>
<ProductNumberSelect
<ProductNumberSelect
v-model=
"entity.productSerialNumber"
v-model=
"entity.productSerialNumber"
:eid=
"eid"
:eid=
"eid"
...
@@ -43,50 +46,92 @@
...
@@ -43,50 +46,92 @@
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"6"
>
<Col
:span=
"6"
>
<FormItem
:label=
"l('materialSerialNumber')"
prop=
"materialSerialNumber"
>
<FormItem
:label=
"l('materialSerialNumber')"
prop=
"materialSerialNumber"
>
<Input
v-model=
"entity.materialSerialNumber"
></Input>
<Input
v-model=
"entity.materialSerialNumber"
></Input>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"6"
>
<Col
:span=
"6"
>
<FormItem
:label=
"l('materialCertificationNumber')"
prop=
"materialCertificationNumber"
>
<FormItem
:label=
"l('materialCertificationNumber')"
prop=
"materialCertificationNumber"
>
<Input
v-model=
"entity.materialCertificationNumber"
></Input>
<Input
v-model=
"entity.materialCertificationNumber"
></Input>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"6"
>
<Col
:span=
"6"
>
<FormItem
:label=
"l('productQuantity')"
prop=
"productQuantity"
>
<FormItem
:label=
"l('productQuantity')"
prop=
"productQuantity"
>
<Input
v-model=
"entity.productQuantity"
:disabled=
"isDisabled"
></Input>
<Input
v-model=
"entity.productQuantity"
:disabled=
"isDisabled"
></Input>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"24"
style=
"margin:
20px 0;
"
>
<Col
:span=
"24"
style=
"margin:
20px 0
"
>
<div
style=
"margin-left:
10px;font-weight:
bold"
>
检验内容
</div>
<div
style=
"margin-left:
10px; font-weight:
bold"
>
检验内容
</div>
<div
class=
"jy-boder"
></div>
<div
class=
"jy-boder"
></div>
</Col>
</Col>
<Col
:span=
"24"
style=
"padding:20px 0 0px 10px;margin-bottom:10px;"
class=
"table-solt"
>
<Col
<Table
border
:columns=
"columns"
:data=
"checkList"
class=
"tableCommon"
>
:span=
"24"
style=
"padding: 20px 0 0px 10px; margin-bottom: 10px"
class=
"table-solt"
>
<Table
border
:columns=
"columns"
:data=
"checkList"
class=
"tableCommon"
>
<template
slot-scope=
"
{ row, index }" slot="name">
<template
slot-scope=
"
{ row, index }" slot="name">
<Input
v-model=
"row.name"
placeholder=
"请输入"
@
on-blur=
"setRow(row,index)"
/>
<Input
v-model=
"row.name"
placeholder=
"请输入"
@
on-blur=
"setRow(row, index)"
/>
</
template
>
</
template
>
<
template
slot-scope=
"{ row, index }"
slot=
"require"
>
<
template
slot-scope=
"{ row, index }"
slot=
"require"
>
<Input
v-model=
"row.require"
placeholder=
"请输入"
@
on-blur=
"setRow(row,index)"
/>
<Input
v-model=
"row.require"
placeholder=
"请输入"
@
on-blur=
"setRow(row, index)"
/>
</
template
>
</
template
>
<
template
slot-scope=
"{ row, index }"
slot=
"result"
>
<
template
slot-scope=
"{ row, index }"
slot=
"result"
>
<Input
v-model=
"row.result"
placeholder=
"请输入"
@
on-blur=
"setRow(row,index)"
/>
<Input
v-model=
"row.result"
placeholder=
"请输入"
@
on-blur=
"setRow(row, index)"
/>
</
template
>
</
template
>
<
template
slot-scope=
"{ row, index }"
slot=
"pash"
>
<
template
slot-scope=
"{ row, index }"
slot=
"pash"
>
<inputFile
v-model=
"row.file"
:files=
"true"
:parms=
"getParams(row.fileId)"
/>
<inputFile
v-model=
"row.file"
:files=
"true"
:parms=
"getParams(row.fileId)"
/>
</
template
>
</
template
>
<
template
slot-scope=
"{ row, index }"
slot=
"conclusion"
class=
"dd"
>
<
template
slot-scope=
"{ row, index }"
slot=
"conclusion"
class=
"dd"
>
<Dictionary
code=
"qms.certificate.conclusion"
v-model=
"row.conclusion"
type=
"select"
></Dictionary>
<Dictionary
code=
"qms.certificate.conclusion"
v-model=
"row.conclusion"
type=
"select"
></Dictionary>
</
template
>
</
template
>
<
template
slot-scope=
"{ row, index }"
slot=
"remark"
>
<
template
slot-scope=
"{ row, index }"
slot=
"remark"
>
<Input
v-model=
"row.remark"
placeholder=
"请输入"
@
on-blur=
"setRow(row,index)"
/>
<Input
v-model=
"row.remark"
placeholder=
"请输入"
@
on-blur=
"setRow(row, index)"
/>
</
template
>
</
template
>
<
template
slot-scope=
"{ row, index }"
slot=
"action"
>
<
template
slot-scope=
"{ row, index }"
slot=
"action"
>
<a
@
click=
"remove(index)"
style=
"color:
#FF7A8B
"
>
删除
</a>
<a
@
click=
"remove(index)"
style=
"color:
#ff7a8b
"
>
删除
</a>
</
template
>
</
template
>
</Table>
</Table>
</Col>
</Col>
<Col
:span=
"24"
style=
"margin-bottom:
20px;
"
>
<Col
:span=
"24"
style=
"margin-bottom:
20px
"
>
<Button
type=
"primary"
long
@
click=
"addNew"
class=
"mt10"
>
添加
</Button>
<Button
type=
"primary"
long
@
click=
"addNew"
class=
"mt10"
>
添加
</Button>
</Col>
</Col>
<Col
:span=
"6"
>
<Col
:span=
"6"
>
...
@@ -117,7 +162,13 @@
...
@@ -117,7 +162,13 @@
<Checkbox
v-model=
"submit"
class=
"ml20"
>
是否送审
</Checkbox>
<Checkbox
v-model=
"submit"
class=
"ml20"
>
是否送审
</Checkbox>
</FormItem>
</FormItem>
</Form>
</Form>
<Modal
v-model=
"examineModal"
title=
"合格证送审"
footer-hide
fullscreen
:mask-closable=
"false"
>
<Modal
v-model=
"examineModal"
title=
"合格证送审"
footer-hide
fullscreen
:mask-closable=
"false"
>
<Examine
:isId=
"isId"
ref=
"examine"
></Examine>
<Examine
:isId=
"isId"
ref=
"examine"
></Examine>
</Modal>
</Modal>
</div>
</div>
...
@@ -235,6 +286,7 @@ export default {
...
@@ -235,6 +286,7 @@ export default {
handleSubmit
()
{
handleSubmit
()
{
this
.
entity
.
items
=
this
.
checkList
;
this
.
entity
.
items
=
this
.
checkList
;
this
.
entity
.
items
.
forEach
((
c
)
=>
{
this
.
entity
.
items
.
forEach
((
c
)
=>
{
c
.
index
=
index
;
return
delete
c
.
id
;
return
delete
c
.
id
;
});
});
this
.
$refs
.
form
.
validate
((
v
)
=>
{
this
.
$refs
.
form
.
validate
((
v
)
=>
{
...
...
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