Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
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
TFMOM
TF-MOM-WEB
Commits
ced04935
Commit
ced04935
authored
Jul 25, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库修改
parent
dfcf32df
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
231 additions
and
254 deletions
+231
-254
UploadFiles.vue
...onents/JobResponseInTestProcess/component/UploadFiles.vue
+15
-26
equipmenCheckNo.vue
...ts/JobResponseInTestProcess/component/equipmenCheckNo.vue
+31
-28
materialCheckNo.vue
...ts/JobResponseInTestProcess/component/materialCheckNo.vue
+173
-199
outSourceCheckNo.vue
...s/JobResponseInTestProcess/component/outSourceCheckNo.vue
+11
-1
index.vue
...eComponents/components/JobResponseInTestProcess/index.vue
+1
-0
No files found.
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/UploadFiles.vue
View file @
ced04935
<
template
>
<
template
>
<div
class=
"upload-files"
>
<div
class=
"upload-files"
>
<dee-form
app-name=
"tf-mom"
label-position=
"top"
:form=
"form"
:form-data=
"formData
1
"
/>
<dee-form
app-name=
"tf-mom"
label-position=
"top"
:form=
"form"
:form-data=
"formData"
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -11,6 +11,10 @@ export default {
...
@@ -11,6 +11,10 @@ export default {
value
:
{
value
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[]
default
:
()
=>
[]
},
viewOrEdit
:
{
type
:
String
,
default
:
()
=>
'edit'
}
}
},
},
data
()
{
data
()
{
...
@@ -18,26 +22,7 @@ export default {
...
@@ -18,26 +22,7 @@ export default {
form
:
{
form
:
{
objFileLinks
:
[]
objFileLinks
:
[]
},
},
'formData'
:
[
formData
:
[
{
'title'
:
''
,
'split'
:
3
,
'data'
:
[
{
'name'
:
'上传附件'
,
'key'
:
'objFileLinks'
,
'parentKey'
:
'objFileLinks'
,
'component'
:
{
'name'
:
'DeeUploadTable'
,
'url'
:
'/dfs/fileManager/feign/uploadFile'
},
'width'
:
3
}
],
'labelPosition'
:
'right'
}
],
formData1
:
[
{
{
'title'
:
''
,
'title'
:
''
,
'split'
:
3
,
'split'
:
3
,
...
@@ -51,7 +36,6 @@ export default {
...
@@ -51,7 +36,6 @@ export default {
'hidden'
:
false
,
'hidden'
:
false
,
'component'
:
{
'component'
:
{
'name'
:
'DeeUploadTable'
,
'name'
:
'DeeUploadTable'
,
'appName'
:
'tf-mom'
,
'taleType'
:
'single'
,
'taleType'
:
'single'
,
'showFileList'
:
true
,
'showFileList'
:
true
,
'filterKey'
:
'contentType'
,
'filterKey'
:
'contentType'
,
...
@@ -59,7 +43,8 @@ export default {
...
@@ -59,7 +43,8 @@ export default {
'alimit'
:
1
,
'alimit'
:
1
,
'limit'
:
5
,
'limit'
:
5
,
'mrequired'
:
true
,
'mrequired'
:
true
,
'state'
:
'edit'
,
// 'state': 'edit',
'state'
:
this
.
viewOrEdit
,
'masterTitle'
:
'主内容'
,
'masterTitle'
:
'主内容'
,
'appendTitle'
:
'附件'
,
'appendTitle'
:
'附件'
,
'masterFilter'
:
[
'MASTER_FILE'
,
'PRIMARY'
],
'masterFilter'
:
[
'MASTER_FILE'
,
'PRIMARY'
],
...
@@ -77,13 +62,17 @@ export default {
...
@@ -77,13 +62,17 @@ export default {
}
}
},
},
watch
:
{
watch
:
{
value
:
function
(
newForm
,
oldForm
)
{
if
(
newForm
)
{
this
.
$set
(
this
.
form
,
'objFileLinks'
,
newForm
)
}
},
'form.objFileLinks'
:
function
(
newForm
,
oldForm
)
{
'form.objFileLinks'
:
function
(
newForm
,
oldForm
)
{
this
.
$emit
(
'input'
,
newForm
)
this
.
$emit
(
'input'
,
newForm
)
}
}
},
},
mounted
()
{
mounted
()
{
const
data
=
this
.
value
// this.$set(this.form, 'objFileLinks', this.value)
this
.
form
.
objFileLinks
=
data
},
},
methods
:
{
methods
:
{
}
}
...
@@ -98,7 +87,7 @@ export default {
...
@@ -98,7 +87,7 @@ export default {
width
:
100%
!
important
;
width
:
100%
!
important
;
.el-form-item__content
{
.el-form-item__content
{
padding-left
:
3
.75rem
;
//
padding-left: 3.75rem;
}
}
}
}
}
}
...
...
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/equipmenCheckNo.vue
View file @
ced04935
...
@@ -7,14 +7,16 @@
...
@@ -7,14 +7,16 @@
<
template
>
<
template
>
<div
class=
"equipmen-checkNo"
>
<div
class=
"equipmen-checkNo"
>
<dee-tools
:tools=
"tools"
mode=
"normal"
style=
"flex-direction: row-reverse;margin-bottom: 12px;"
/>
<dee-tools
:tools=
"tools"
mode=
"normal"
style=
"flex-direction: row-reverse;margin-bottom: 12px;"
/>
<el-form
<el-form
ref=
"form"
:model=
"form"
:rules=
"formRules"
>
ref=
"form"
:model=
"form"
:rules=
"formRules"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label-width=
"100px"
label=
"验收单号"
prop=
"testNo"
>
<el-form-item
label-width=
"100px"
label=
"验收单号"
prop=
"testNo"
>
<el-input
v-model=
"form.testNo"
placeholder=
"请输入验收单号"
:disabled=
"subTypeNameDisabled"
clearable
onchange=
"this.value=this.value.toUpperCase()"
/>
<el-input
v-model=
"form.testNo"
placeholder=
"请输入验收单号"
:disabled=
"subTypeNameDisabled"
clearable
onchange=
"this.value=this.value.toUpperCase()"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -41,29 +43,17 @@
...
@@ -41,29 +43,17 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label-width=
"100px"
label=
" 保证期"
>
<el-form-item
label-width=
"100px"
label=
" 保证期"
>
<el-input
<el-input
v-model=
"form.guaranteePeriod"
clearable
placeholder=
"请输入保证期"
/>
v-model=
"form.guaranteePeriod"
clearable
placeholder=
"请输入保证期"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label-width=
"100px"
label=
" 首翻期"
>
<el-form-item
label-width=
"100px"
label=
" 首翻期"
>
<el-input
<el-input
v-model=
"form.firstTurnPeriod"
clearable
placeholder=
"请输入首翻期"
/>
v-model=
"form.firstTurnPeriod"
clearable
placeholder=
"请输入首翻期"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label-width=
"100px"
label=
" 总寿命"
>
<el-form-item
label-width=
"100px"
label=
" 总寿命"
>
<el-input
<el-input
v-model=
"form.totalLife"
clearable
placeholder=
"请输入总寿命"
/>
v-model=
"form.totalLife"
clearable
placeholder=
"请输入总寿命"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -74,7 +64,14 @@
...
@@ -74,7 +64,14 @@
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label-width=
"100px"
label=
"重量"
>
<el-form-item
label-width=
"100px"
label=
"重量"
>
<!--
<el-input
v-model=
"form.weight"
placeholder=
"请输入重量"
/>
-->
<!--
<el-input
v-model=
"form.weight"
placeholder=
"请输入重量"
/>
-->
<el-input
v-model=
"form.weight"
clearable
type=
"number"
placeholder=
"请输入重量"
onkeyup=
"this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d\d\d).*$/,'$1$2.$3');"
onafterpaste=
"this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d\d\d).*$/,'$1$2.$3');"
>
<el-input
v-model=
"form.weight"
clearable
type=
"number"
placeholder=
"请输入重量"
onkeyup=
"this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d\d\d).*$/,'$1$2.$3');"
onafterpaste=
"this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d\d\d).*$/,'$1$2.$3');"
>
<template
slot=
"append"
>
Kg
</
template
>
<template
slot=
"append"
>
Kg
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -126,7 +123,7 @@
...
@@ -126,7 +123,7 @@
clearable
clearable
:min=
"0"
:min=
"0"
placeholder=
"不合格数"
placeholder=
"不合格数"
:disabled=
"form.isPass
!==
'N'"
:disabled=
"form.isPass
!==
'N'"
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -347,14 +344,20 @@ export default {
...
@@ -347,14 +344,20 @@ export default {
})
})
})
})
},
},
savePDF
()
{}
savePDF
()
{
this
.
$api
.
apiDownloadFile
(
`JobResponseInTest/download/pdf?id=
${
this
.
basicData
.
id
}
&billType=AirEquipment`
)
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
'scss'
>
<
style
lang=
'scss'
>
.equipmen-checkNo
{
.equipmen-checkNo
{
.el-select
{
.el-select
{
width
:
100%
;
width
:
220px
}
}
.el-input
{
width
:
220px
}
}
}
</
style
>
</
style
>
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/materialCheckNo.vue
View file @
ced04935
...
@@ -5,16 +5,11 @@
...
@@ -5,16 +5,11 @@
* @FilePath: applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/materialCheckNo.vue
* @FilePath: applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/materialCheckNo.vue
*/
*/
<
template
>
<
template
>
<div
class=
"
check-n
o"
>
<div
class=
"
material-checkN
o"
>
<dee-tools
:tools=
"tools"
mode=
"normal"
style=
"flex-direction: row-reverse;margin-bottom: 12px;"
/>
<dee-tools
:tools=
"tools"
mode=
"normal"
style=
"flex-direction: row-reverse;margin-bottom: 12px;"
/>
<el-form
<el-form
ref=
"form"
:model=
"form"
class=
"checkNo-container"
:rules=
"formRules"
>
ref=
"form"
:model=
"form"
class=
"checkNo-container"
:rules=
"formRules"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"验收单号"
label-width=
"1
0
0px"
prop=
"testNo"
>
<el-form-item
label=
"验收单号"
label-width=
"1
3
0px"
prop=
"testNo"
>
<el-input
<el-input
v-model=
"form.testNo"
v-model=
"form.testNo"
placeholder=
"请输入验收单号"
placeholder=
"请输入验收单号"
...
@@ -25,7 +20,7 @@
...
@@ -25,7 +20,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
" 封装期"
label-width=
"1
0
0px"
>
<el-form-item
label=
" 封装期"
label-width=
"1
3
0px"
>
<el-date-picker
<el-date-picker
v-model=
"form.maskPeriod"
v-model=
"form.maskPeriod"
clearable
clearable
...
@@ -36,7 +31,7 @@
...
@@ -36,7 +31,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
" 保质期/贮存期"
label-width=
"1
0
0px"
>
<el-form-item
label=
" 保质期/贮存期"
label-width=
"1
3
0px"
>
<el-date-picker
<el-date-picker
v-model=
"form.qualityPeriod"
v-model=
"form.qualityPeriod"
clearable
clearable
...
@@ -47,7 +42,7 @@
...
@@ -47,7 +42,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
" 最长期"
label-width=
"1
0
0px"
>
<el-form-item
label=
" 最长期"
label-width=
"1
3
0px"
>
<el-date-picker
<el-date-picker
v-model=
"form.longPeriod"
v-model=
"form.longPeriod"
clearable
clearable
...
@@ -58,7 +53,7 @@
...
@@ -58,7 +53,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
" 抽查期"
label-width=
"1
0
0px"
>
<el-form-item
label=
" 抽查期"
label-width=
"1
3
0px"
>
<el-input
<el-input
v-model=
"form.spotCheckPeriod"
v-model=
"form.spotCheckPeriod"
clearable
clearable
...
@@ -71,13 +66,8 @@
...
@@ -71,13 +66,8 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"性能复验"
label-width=
"100px"
>
<el-form-item
label=
"性能复验"
label-width=
"130px"
>
<el-select
<el-select
v-model=
"form.isPerformRetest"
clearable
placeholder=
"请选择"
disabled
>
v-model=
"form.isPerformRetest"
clearable
placeholder=
"请选择"
disabled
>
<el-option
label=
"是"
:value=
"true"
/>
<el-option
label=
"是"
:value=
"true"
/>
<el-option
label=
"否"
:value=
"false"
/>
<el-option
label=
"否"
:value=
"false"
/>
</el-select>
</el-select>
...
@@ -85,94 +75,76 @@
...
@@ -85,94 +75,76 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
v-if=
"form.isPerformRetest"
:span=
"24"
>
<el-col
v-if=
"form.isPerformRetest"
:span=
"24"
>
<
div
class=
"radio-input experiment
"
>
<
el-col
:span=
"8
"
>
<!-- <span>报告单号:</span> -->
<!-- <span>报告单号:</span> -->
<el-form-item
label=
"报告单号"
label-width=
"100px"
>
<el-form-item
label=
"报告单号"
label-width=
"130px"
>
<el-input
<el-input
v-model=
"form.reportNo"
clearable
placeholder=
"报告单号"
:disabled=
"true"
/>
v-model=
"form.reportNo"
clearable
placeholder=
"报告单号"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<!-- 是否合格 -->
<!-- 是否合格 -->
<el-form-item
label=
"是否合格"
label-width=
"100px"
>
<el-form-item
label=
"是否合格"
label-width=
"130px"
>
<el-select
<el-select
v-model=
"form.reportNoIsPass"
clearable
placeholder=
"请选择"
disabled
>
v-model=
"form.reportNoIsPass"
clearable
placeholder=
"请选择"
disabled
>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"不合格"
value=
"N"
/>
<el-option
label=
"不合格"
value=
"N"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<!-- 是否报废 -->
<!-- 是否报废 -->
<el-form-item
label=
"是否报废"
label-width=
"100px"
>
<el-form-item
label=
"是否报废"
label-width=
"130px"
>
<el-select
<el-select
v-model=
"form.isDestroy"
clearable
placeholder=
"请选择"
disabled
>
v-model=
"form.isDestroy"
clearable
placeholder=
"请选择"
disabled
>
<el-option
label=
"是"
:value=
"true"
/>
<el-option
label=
"是"
:value=
"true"
/>
<el-option
label=
"否"
:value=
"false"
/>
<el-option
label=
"否"
:value=
"false"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item></el-col>
<el-col
:span=
"8"
>
<!-- 报废数量 -->
<!-- 报废数量 -->
<el-form-item
label=
"试验数量"
label-width=
"100px"
>
<el-form-item
label=
"试验数量"
label-width=
"130px"
>
<el-input
<el-input
v-model=
"form.experimentAmount"
clearable
placeholder=
"试验数量"
:disabled=
"true"
/>
v-model=
"form.experimentAmount"
clearable
placeholder=
"试验数量"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"附件"
label-width=
"130px"
>
<el-popover
placement=
"bottom"
width=
"800"
trigger=
"click"
>
<upload-files
ref=
"chemical"
v-model=
"form.chemicalObjFileLinks"
:view-or-edit=
"'view'"
/>
<el-button
slot=
"reference"
>
查看附件
</el-button>
</el-popover>
</el-form-item>
</el-col>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"质量证明文件"
label-width=
"100px"
>
<el-form-item
label=
"质量证明文件"
label-width=
"130px"
>
<el-select
<el-select
v-model=
"form.qualityCert"
clearable
placeholder=
"请选择"
>
v-model=
"form.qualityCert"
clearable
placeholder=
"请选择"
>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"不合格"
value=
"N"
/>
<el-option
label=
"不合格"
value=
"N"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"标识检查"
label-width=
"100px"
>
<el-form-item
label=
"标识检查"
label-width=
"130px"
>
<el-select
<el-select
v-model=
"form.flagCheck"
clearable
placeholder=
"请选择"
>
v-model=
"form.flagCheck"
clearable
placeholder=
"请选择"
>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"不合格"
value=
"N"
/>
<el-option
label=
"不合格"
value=
"N"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"外观质量检查"
label-width=
"120px"
>
<el-form-item
label=
"外观质量检查"
label-width=
"130px"
>
<el-select
<el-select
v-model=
"form.performCheck"
clearable
placeholder=
"请选择"
>
v-model=
"form.performCheck"
clearable
placeholder=
"请选择"
>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"不合格"
value=
"N"
/>
<el-option
label=
"不合格"
value=
"N"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"尺寸检验"
label-width=
"100px"
>
<el-form-item
label=
"尺寸检验"
label-width=
"130px"
>
<el-select
<el-select
v-model=
"form.isSizeCheck"
clearable
placeholder=
"请选择"
>
v-model=
"form.isSizeCheck"
clearable
placeholder=
"请选择"
>
<el-option
label=
"是"
:value=
"true"
/>
<el-option
label=
"是"
:value=
"true"
/>
<el-option
label=
"否"
:value=
"false"
/>
<el-option
label=
"否"
:value=
"false"
/>
</el-select>
</el-select>
...
@@ -180,37 +152,24 @@
...
@@ -180,37 +152,24 @@
</el-col>
</el-col>
<el-col
v-if=
"form.isSizeCheck"
:span=
"8"
>
<el-col
v-if=
"form.isSizeCheck"
:span=
"8"
>
<div
class=
"radio-input"
>
<div
class=
"radio-input"
>
<el-form-item
label=
"抽样数"
label-width=
"100px"
>
<el-form-item
label=
"抽样数"
label-width=
"130px"
>
<el-input-number
<el-input-number
v-model=
"form.sampleAmount"
clearable
:min=
"0"
placeholder=
"抽样数量"
/>
v-model=
"form.sampleAmount"
clearable
:min=
"0"
placeholder=
"抽样数量"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"检验依据"
label-width=
"100px"
>
<el-form-item
label=
"检验依据"
label-width=
"130px"
>
<el-input
<el-input
v-model=
"form.checkBill"
clearable
placeholder=
"请输入检验依据"
/>
v-model=
"form.checkBill"
clearable
placeholder=
"请输入检验依据"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"备注"
label-width=
"1
0
0px"
>
<el-form-item
label=
"备注"
label-width=
"1
3
0px"
>
<el-input
v-model=
"form.remark"
clearable
placeholder=
"备注"
/>
<el-input
v-model=
"form.remark"
clearable
placeholder=
"备注"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"处理方式"
label-width=
"100px"
>
<el-form-item
label=
"处理方式"
label-width=
"130px"
>
<el-select
<el-select
v-model=
"form.disposeType"
clearable
placeholder=
"请选择"
>
v-model=
"form.disposeType"
clearable
placeholder=
"请选择"
>
<el-option
label=
"原样使用"
value=
"OriginalSampleTest"
/>
<el-option
label=
"原样使用"
value=
"OriginalSampleTest"
/>
<el-option
label=
"报废"
value=
"Scrap"
/>
<el-option
label=
"报废"
value=
"Scrap"
/>
<el-option
label=
"返修"
value=
"Rework"
/>
<el-option
label=
"返修"
value=
"Rework"
/>
...
@@ -221,16 +180,8 @@
...
@@ -221,16 +180,8 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
<el-form-item
label=
"是否合格"
prop=
"isPass"
label-width=
"130px"
>
label=
"是否合格"
<el-select
v-model=
"form.isPass"
clearable
placeholder=
"请选择"
>
prop=
"isPass"
label-width=
"100px"
>
<el-select
v-model=
"form.isPass"
clearable
placeholder=
"请选择"
>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"合格"
value=
"Y"
/>
<el-option
label=
"不合格"
value=
"N"
/>
<el-option
label=
"不合格"
value=
"N"
/>
</el-select>
</el-select>
...
@@ -238,64 +189,42 @@
...
@@ -238,64 +189,42 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"radio-input"
>
<div
class=
"radio-input"
>
<el-form-item
<el-form-item
label=
"不合格数"
label-width=
"130px"
prop=
"noPassAmount"
>
label=
"不合格数"
label-width=
"100px"
prop=
"noPassAmount"
>
<el-input-number
<el-input-number
v-model=
"form.noPassAmount"
v-model=
"form.noPassAmount"
clearable
clearable
:min=
"0"
:min=
"0"
placeholder=
"不合格数"
placeholder=
"不合格数"
:disabled=
"form.isPass
!==
'N'"
:disabled=
"form.isPass
!==
'N'"
/>
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"是否封闭"
label-width=
"100px"
>
<el-form-item
label=
"是否封闭"
label-width=
"130px"
>
<el-select
<el-select
v-model=
"form.isClosure"
clearable
placeholder=
"请选择"
>
v-model=
"form.isClosure"
clearable
placeholder=
"请选择"
>
<el-option
label=
"是"
:value=
"true"
/>
<el-option
label=
"是"
:value=
"true"
/>
<el-option
label=
"否"
:value=
"false"
/>
<el-option
label=
"否"
:value=
"false"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
<el-form-item
label=
"不合格品审理单号"
label-width=
"130px"
>
label=
"不合格品审理单号"
<el-input
v-model=
"form.noPassReviewNo"
clearable
placeholder=
"请输入不合格品审理单号"
/>
label-width=
"130px"
>
<el-input
v-model=
"form.noPassReviewNo"
clearable
placeholder=
"请输入不合格品审理单号"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"超期复验报告"
label-width=
"100px"
>
<el-form-item
label=
"超期复验报告"
label-width=
"130px"
>
<el-input
<el-input
v-model=
"form.overdueReport"
clearable
placeholder=
"请输入超期复验报告编号"
/>
v-model=
"form.overdueReport"
clearable
placeholder=
"请输入超期复验报告编号"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
" 结论"
label-width=
"100px"
>
<el-form-item
label=
" 结论"
label-width=
"130px"
>
<el-input
<el-input
v-model=
"form.conclusion"
placeholder=
"请输入复验报告结论"
/>
v-model=
"form.conclusion"
placeholder=
"请输入复验报告结论"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
" 延期到"
label-width=
"1
0
0px"
>
<el-form-item
label=
" 延期到"
label-width=
"1
3
0px"
>
<el-date-picker
<el-date-picker
v-model=
"form.delayTo"
v-model=
"form.delayTo"
clearable
clearable
...
@@ -307,65 +236,30 @@
...
@@ -307,65 +236,30 @@
</el-col>
</el-col>
<!-- 表格区域 -->
<!-- 表格区域 -->
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"尺寸检验项目"
label-width=
"1
0
0px"
>
<el-form-item
label=
"尺寸检验项目"
label-width=
"1
3
0px"
>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-input
<el-input
v-model=
"jobTestCheckItems[0].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
v-model=
"jobTestCheckItems[0].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-input
<el-input
v-model=
"jobTestCheckItems[1].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
v-model=
"jobTestCheckItems[1].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-input
<el-input
v-model=
"jobTestCheckItems[2].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
v-model=
"jobTestCheckItems[2].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-input
<el-input
v-model=
"jobTestCheckItems[3].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
v-model=
"jobTestCheckItems[3].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-input
<el-input
v-model=
"jobTestCheckItems[4].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
v-model=
"jobTestCheckItems[4].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-input
<el-input
v-model=
"jobTestCheckItems[5].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
v-model=
"jobTestCheckItems[5].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-input
<el-input
v-model=
"jobTestCheckItems[6].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
v-model=
"jobTestCheckItems[6].itemDescription"
clearable
type=
"text"
placeholder=
"录入"
/>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
label=
"要求尺寸"
label-width=
"1
0
0px"
>
<el-form-item
label=
"要求尺寸"
label-width=
"1
3
0px"
>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-input
<el-input
v-model=
"jobTestCheckItems[0].jobTestCheckItemDetails[0].checkvalue"
v-model=
"jobTestCheckItems[0].jobTestCheckItemDetails[0].checkvalue"
...
@@ -423,7 +317,7 @@
...
@@ -423,7 +317,7 @@
/>
/>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
label=
"实测尺寸"
label-width=
"1
0
0px"
>
<el-form-item
label=
"实测尺寸"
label-width=
"1
3
0px"
>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-input
<el-input
v-model=
"jobTestCheckItems[0].jobTestCheckItemDetails[1].checkvalue"
v-model=
"jobTestCheckItems[0].jobTestCheckItemDetails[1].checkvalue"
...
@@ -481,7 +375,7 @@
...
@@ -481,7 +375,7 @@
/>
/>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
label=
"量具编号"
label-width=
"1
0
0px"
>
<el-form-item
label=
"量具编号"
label-width=
"1
3
0px"
>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-input
<el-input
v-model=
"jobTestCheckItems[0].jobTestCheckItemDetails[2].checkvalue"
v-model=
"jobTestCheckItems[0].jobTestCheckItemDetails[2].checkvalue"
...
@@ -541,7 +435,7 @@
...
@@ -541,7 +435,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"入场验收问题描述"
label-width=
"1
2
0px"
>
<el-form-item
label=
"入场验收问题描述"
label-width=
"1
3
0px"
>
<el-input
<el-input
v-model=
"form.acceptanceProblem"
v-model=
"form.acceptanceProblem"
type=
"textarea"
type=
"textarea"
...
@@ -550,11 +444,11 @@
...
@@ -550,11 +444,11 @@
:autosize=
"{ minRows: 9, maxRows: 10 }"
:autosize=
"{ minRows: 9, maxRows: 10 }"
placeholder=
"入场验收问题描述"
placeholder=
"入场验收问题描述"
/>
/>
<!-- 相关单位意见 -->
<!-- 相关单位意见 -->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"相关单位意见"
label-width=
"1
2
0px"
>
<el-form-item
label=
"相关单位意见"
label-width=
"1
3
0px"
>
<el-input
<el-input
v-model=
"form.relevantOpinions"
v-model=
"form.relevantOpinions"
type=
"textarea"
type=
"textarea"
...
@@ -566,24 +460,21 @@
...
@@ -566,24 +460,21 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"检验备注"
label-width=
"120px"
>
<el-form-item
label=
"检验备注"
label-width=
"130px"
>
<el-input
<el-input
v-model=
"form.checkRemark"
clearable
type=
"textarea"
placeholder=
"检验备注"
resize=
"none"
/>
v-model=
"form.checkRemark"
clearable
type=
"textarea"
placeholder=
"检验备注"
resize=
"none"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<upload-files
v-model=
"form.objFileLinks"
/>
<el-form-item
label-width=
"130px"
>
<upload-files
v-model=
"form.objFileLinks"
/>
</el-form-item>
</el-col>
</el-col>
</el-form>
</el-form>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
UploadFiles
from
'./UploadFiles.vue'
import
UploadFiles
from
'./UploadFiles.vue'
import
{
post
}
from
'@/utils/http'
export
default
{
export
default
{
components
:
{
UploadFiles
},
components
:
{
UploadFiles
},
...
@@ -667,7 +558,9 @@ export default {
...
@@ -667,7 +558,9 @@ export default {
delayTo
:
''
,
delayTo
:
''
,
checkRemark
:
''
,
checkRemark
:
''
,
// 上传附件
// 上传附件
objFileLinks
:
[]
objFileLinks
:
[],
// 理化附件
chemicalObjFileLinks
:
[]
},
},
// 尺寸检验项目
// 尺寸检验项目
jobTestCheckItems
:
[
jobTestCheckItems
:
[
...
@@ -871,6 +764,16 @@ export default {
...
@@ -871,6 +764,16 @@ export default {
deep
:
true
,
deep
:
true
,
immediate
:
true
immediate
:
true
}
}
// 'form.isPerformRetest': {
// handler: function(v) {
// console.log('v', v)
// if (v) {
// this.getChemicalData(this.basicData.id)
// }
// },
// deep: true,
// immediate: true
// }
// form: {
// form: {
// handler: function(v) {
// handler: function(v) {
// this.form
// this.form
...
@@ -893,8 +796,72 @@ export default {
...
@@ -893,8 +796,72 @@ export default {
)
)
this
.
jobTestCheckItems
=
this
.
form
.
jobTestCheckItems
this
.
jobTestCheckItems
=
this
.
form
.
jobTestCheckItems
}
}
if
(
this
.
form
.
isPerformRetest
)
{
this
.
getChemicalData
(
this
.
basicData
.
id
)
}
},
},
methods
:
{
methods
:
{
getChemicalData
(
id
)
{
const
param
=
{
'pageFrom'
:
1
,
'pageSize'
:
10
,
'searchItems'
:
{
'children'
:
[
{
'items'
:
[
{
'fieldName'
:
'jobOrderId'
,
'operator'
:
'EQ'
,
'value'
:
id
},
{
'fieldName'
:
'subTypeName'
,
'operator'
:
'EQ'
,
'value'
:
'JobResponseInExperment'
}
],
'operator'
:
'AND'
}
],
'items'
:
[],
'operator'
:
'AND'
},
'openProps'
:
[
{
'name'
:
'objFileLinks'
,
'openProps'
:
[
{
'name'
:
'target'
}
]
},
{
'name'
:
'jobOrder'
,
'openProps'
:
[
{
'name'
:
'purchaseUnit'
}
]
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
]
}
post
(
'JobResponseInStorage/search'
,
param
).
then
(
res
=>
{
// this.data = res.items.content[0]
const
data
=
res
.
items
.
content
[
0
]
this
.
form
=
{
...
this
.
form
,
reportNo
:
data
.
reportNo
,
reportNoIsPass
:
data
.
isPass
,
isDestroy
:
data
.
isDestroy
,
experimentAmount
:
data
.
experimentAmount
,
chemicalObjFileLinks
:
data
.
objFileLinks
}
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
},
// onSubmit() {
// onSubmit() {
// console.log('this', this)
// console.log('this', this)
// const params = {
// const params = {
...
@@ -907,10 +874,9 @@ export default {
...
@@ -907,10 +874,9 @@ export default {
// })
// })
// },
// },
savePDF
()
{
savePDF
()
{
console
.
log
(
'this'
,
this
.
$store
.
state
.
globalUploader
.
openUploader
)
this
.
$api
.
apiDownloadFile
(
`JobResponseInTest/download/pdf?id=
${
this
.
basicData
.
id
}
&billType=Material`
)
console
.
log
(
'this'
,
this
.
$store
.
state
.
globalUploader
.
activeLoad
)
},
},
viewDialog
()
{},
viewDialog
()
{
},
onSubmit
()
{
onSubmit
()
{
const
params
=
{
const
params
=
{
...
this
.
form
,
...
this
.
form
,
...
@@ -941,4 +907,12 @@ export default {
...
@@ -941,4 +907,12 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
'scss'
>
<
style
lang=
'scss'
>
.material-checkNo
{
.el-select
{
width
:
220px
}
.el-input
{
width
:
220px
}
}
</
style
>
</
style
>
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/outSourceCheckNo.vue
View file @
ced04935
...
@@ -316,9 +316,19 @@ export default {
...
@@ -316,9 +316,19 @@ export default {
})
})
})
})
},
},
savePDF
()
{}
savePDF
()
{
this
.
$api
.
apiDownloadFile
(
`JobResponseInTest/download/pdf?id=
${
this
.
basicData
.
id
}
&billType=OutSource`
)
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
'scss'
>
<
style
lang=
'scss'
>
.outSource-checkNo
{
.el-select
{
width
:
220px
}
.el-input
{
width
:
220px
}
}
</
style
>
</
style
>
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/index.vue
View file @
ced04935
...
@@ -123,6 +123,7 @@ export default {
...
@@ -123,6 +123,7 @@ export default {
]
]
}
}
post
(
'JobResponseInTest/search'
,
param
).
then
(
res
=>
{
post
(
'JobResponseInTest/search'
,
param
).
then
(
res
=>
{
console
.
log
(
'data'
,
res
)
const
data
=
res
.
items
.
content
[
0
]
const
data
=
res
.
items
.
content
[
0
]
this
.
data
=
data
this
.
data
=
data
this
.
type
=
type
this
.
type
=
type
...
...
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