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
Expand all
Show 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
>
<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>
</
template
>
<
script
>
...
...
@@ -11,6 +11,10 @@ export default {
value
:
{
type
:
Array
,
default
:
()
=>
[]
},
viewOrEdit
:
{
type
:
String
,
default
:
()
=>
'edit'
}
},
data
()
{
...
...
@@ -18,26 +22,7 @@ export default {
form
:
{
objFileLinks
:
[]
},
'formData'
:
[
{
'title'
:
''
,
'split'
:
3
,
'data'
:
[
{
'name'
:
'上传附件'
,
'key'
:
'objFileLinks'
,
'parentKey'
:
'objFileLinks'
,
'component'
:
{
'name'
:
'DeeUploadTable'
,
'url'
:
'/dfs/fileManager/feign/uploadFile'
},
'width'
:
3
}
],
'labelPosition'
:
'right'
}
],
formData1
:
[
formData
:
[
{
'title'
:
''
,
'split'
:
3
,
...
...
@@ -51,7 +36,6 @@ export default {
'hidden'
:
false
,
'component'
:
{
'name'
:
'DeeUploadTable'
,
'appName'
:
'tf-mom'
,
'taleType'
:
'single'
,
'showFileList'
:
true
,
'filterKey'
:
'contentType'
,
...
...
@@ -59,7 +43,8 @@ export default {
'alimit'
:
1
,
'limit'
:
5
,
'mrequired'
:
true
,
'state'
:
'edit'
,
// 'state': 'edit',
'state'
:
this
.
viewOrEdit
,
'masterTitle'
:
'主内容'
,
'appendTitle'
:
'附件'
,
'masterFilter'
:
[
'MASTER_FILE'
,
'PRIMARY'
],
...
...
@@ -77,13 +62,17 @@ export default {
}
},
watch
:
{
value
:
function
(
newForm
,
oldForm
)
{
if
(
newForm
)
{
this
.
$set
(
this
.
form
,
'objFileLinks'
,
newForm
)
}
},
'form.objFileLinks'
:
function
(
newForm
,
oldForm
)
{
this
.
$emit
(
'input'
,
newForm
)
}
},
mounted
()
{
const
data
=
this
.
value
this
.
form
.
objFileLinks
=
data
// this.$set(this.form, 'objFileLinks', this.value)
},
methods
:
{
}
...
...
@@ -98,7 +87,7 @@ export default {
width
:
100%
!
important
;
.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 @@
<
template
>
<div
class=
"equipmen-checkNo"
>
<dee-tools
:tools=
"tools"
mode=
"normal"
style=
"flex-direction: row-reverse;margin-bottom: 12px;"
/>
<el-form
ref=
"form"
:model=
"form"
:rules=
"formRules"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"formRules"
>
<el-col
:span=
"8"
>
<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-col>
<el-col
:span=
"8"
>
...
...
@@ -41,29 +43,17 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label-width=
"100px"
label=
" 保证期"
>
<el-input
v-model=
"form.guaranteePeriod"
clearable
placeholder=
"请输入保证期"
/>
<el-input
v-model=
"form.guaranteePeriod"
clearable
placeholder=
"请输入保证期"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label-width=
"100px"
label=
" 首翻期"
>
<el-input
v-model=
"form.firstTurnPeriod"
clearable
placeholder=
"请输入首翻期"
/>
<el-input
v-model=
"form.firstTurnPeriod"
clearable
placeholder=
"请输入首翻期"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label-width=
"100px"
label=
" 总寿命"
>
<el-input
v-model=
"form.totalLife"
clearable
placeholder=
"请输入总寿命"
/>
<el-input
v-model=
"form.totalLife"
clearable
placeholder=
"请输入总寿命"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -74,7 +64,14 @@
<el-col
:span=
"8"
>
<el-form-item
label-width=
"100px"
label=
"重量"
>
<!--
<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
>
</el-input>
</el-form-item>
...
...
@@ -126,7 +123,7 @@
clearable
:min=
"0"
placeholder=
"不合格数"
:disabled=
"form.isPass
!==
'N'"
:disabled=
"form.isPass
!==
'N'"
/>
</el-form-item>
</el-col>
...
...
@@ -347,14 +344,20 @@ export default {
})
})
},
savePDF
()
{}
savePDF
()
{
this
.
$api
.
apiDownloadFile
(
`JobResponseInTest/download/pdf?id=
${
this
.
basicData
.
id
}
&billType=AirEquipment`
)
}
}
}
</
script
>
<
style
lang=
'scss'
>
.equipmen-checkNo
{
.el-select
{
width
:
100%
;
.equipmen-checkNo
{
.el-select
{
width
:
220px
}
.el-input
{
width
:
220px
}
}
</
style
>
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/materialCheckNo.vue
View file @
ced04935
This diff is collapsed.
Click to expand it.
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/outSourceCheckNo.vue
View file @
ced04935
...
...
@@ -316,9 +316,19 @@ export default {
})
})
},
savePDF
()
{}
savePDF
()
{
this
.
$api
.
apiDownloadFile
(
`JobResponseInTest/download/pdf?id=
${
this
.
basicData
.
id
}
&billType=OutSource`
)
}
}
}
</
script
>
<
style
lang=
'scss'
>
.outSource-checkNo
{
.el-select
{
width
:
220px
}
.el-input
{
width
:
220px
}
}
</
style
>
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/index.vue
View file @
ced04935
...
...
@@ -123,6 +123,7 @@ export default {
]
}
post
(
'JobResponseInTest/search'
,
param
).
then
(
res
=>
{
console
.
log
(
'data'
,
res
)
const
data
=
res
.
items
.
content
[
0
]
this
.
data
=
data
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