Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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
胡宝山
template_vue
Commits
52e26587
Commit
52e26587
authored
Mar 06, 2024
by
Hagsn3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按钮功能
parent
bd68978c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
611 additions
and
201 deletions
+611
-201
oneTbale.vue
src/views/check/oneTbale.vue
+6
-2
checkList.vue
src/views/checkList.vue
+605
-199
No files found.
src/views/check/oneTbale.vue
View file @
52e26587
...
@@ -389,7 +389,7 @@ export default {
...
@@ -389,7 +389,7 @@ export default {
/** 审批按钮*/
/** 审批按钮*/
/**
/**
* controls 操作 1:审核 2:修改 3:查看
* controls 操作 1:审核 2:修改 3:查看
* approveStatus 状态 0 cg 1 待审核
2
已通过 3 已驳回
* approveStatus 状态 0 cg 1 待审核
9
已通过 3 已驳回
* **/
* **/
handleApprove
(
row
)
{
handleApprove
(
row
)
{
const
id
=
row
.
businessId
const
id
=
row
.
businessId
...
@@ -407,7 +407,11 @@ export default {
...
@@ -407,7 +407,11 @@ export default {
const
id
=
row
.
businessId
const
id
=
row
.
businessId
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'checkList'
,
path
:
'checkList'
,
query
:
{
businessId
:
id
}
query
:
{
businessId
:
id
,
controls
:
'3'
,
approveStatus
:
row
.
approveStatus
}
})
})
},
},
/** 查询列表 */
/** 查询列表 */
...
...
src/views/checkList.vue
View file @
52e26587
...
@@ -11,26 +11,44 @@
...
@@ -11,26 +11,44 @@
</div>
</div>
<!-- 中间文本-->
<!-- 中间文本-->
<div
class=
"textDiv"
>
<div
class=
"textDiv"
>
<span
class=
"fontSp"
>
{{
inspectInfoList
.
jcCode
}}
</span>
<div
class=
"scanDiv"
>
<el-button
class=
"scanCode"
type=
"primary"
@
click=
"scanCodes"
>
扫码
</el-button>
</div>
<div
class=
"fontSp"
>
单号:
{{
inspectInfoList
.
jcCode
}}
</div>
</div>
</div>
<!-- 下方表格-->
<!-- 下方表格-->
<div
class=
"oneForm"
>
<div
class=
"oneForm"
>
<el-form
:model=
"inspectInfoList"
label-width=
"21
"
>
<el-form
ref=
"ruleForm"
:model=
"inspectInfoList"
:rules=
"rules"
label-width=
"80
"
>
<div
class=
"formLabel"
>
<div
class=
"formLabel"
>
<div
class=
"left"
>
<div
class=
"left"
>
<el-form-item
label=
"LOT:"
>
<el-form-item
label=
"LOT:"
prop=
"jcLot"
>
<el-input
v-model=
"inspectInfoList.jcLot"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')"
class=
"scanInput"
/>
<el-input
<el-button
class=
"scanCode"
type=
"primary"
@
click=
"scanCodes"
>
扫码
</el-button>
v-model=
"inspectInfoList.jcLot"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')|| (this.controlsForm.controls == '3' && this.controlsForm.approveStatus === '1')||
(this.controlsForm.controls =='3'&& this.controlsForm.approveStatus === '9' )"
class=
"normalInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"厂家:"
>
<el-form-item
label=
"PN:"
prop=
"jcPn"
>
<el-input
v-model=
"inspectInfoList.jcCj"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')"
class=
"normalInput"
/>
<el-input
<!--
<el-button
class=
"scanCode"
type=
"primary"
@
click=
"scanCodes"
>
扫码
</el-button>
-->
v-model=
"inspectInfoList.jcPn"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')|| (this.controlsForm.controls == '3' && this.controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"normalInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"PN:"
>
<el-form-item
label=
"rank:"
prop=
"jcRank"
>
<el-input
v-model=
"inspectInfoList.jcPn"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')"
class=
"normalInput"
/>
<el-input
v-model=
"inspectInfoList.jcRank"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1') || (this.controlsForm.controls == '3' && this.controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"normalInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"数量:"
>
<el-form-item
label=
"数量:"
prop=
"jcNum"
>
<el-input
v-model=
"inspectInfoList.jcNum"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')"
class=
"normalInput"
/>
<el-input
v-model=
"inspectInfoList.jcNum"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1') || (this.controlsForm.controls == '3' && this.controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"normalInput"
/>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
...
@@ -38,19 +56,35 @@
...
@@ -38,19 +56,35 @@
<!--
<el-form-item
class=
"topContain"
>
-->
<!--
<el-form-item
class=
"topContain"
>
-->
<!--<!–
<el-input
type=
"text"
v-model=
"oneForm.rank"
class=
"topInput"
/>
–>
-->
<!--<!–
<el-input
type=
"text"
v-model=
"oneForm.rank"
class=
"topInput"
/>
–>
-->
<!--
</el-form-item>
-->
<!--
</el-form-item>
-->
<el-form-item
label=
"rank:"
>
<!--
<el-form-item
label=
"rank:"
>
-->
<el-input
v-model=
"inspectInfoList.jcRank"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')"
class=
"normalInput"
/>
<!--
<el-input
v-model=
"inspectInfoList.jcRank"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')"
class=
"normalInput"
/>
-->
<!--
</el-form-item>
-->
<el-form-item
label=
"厂家:"
prop=
"jcCj"
>
<el-input
v-model=
"inspectInfoList.jcCj"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"normalInput"
/>
<!--
<el-button
class=
"scanCode"
type=
"primary"
@
click=
"scanCodes"
>
扫码
</el-button>
-->
</el-form-item>
</el-form-item>
<!-- 外观-->
<!-- 外观-->
<div
class=
"appearanceDiv"
>
<div
class=
"appearanceDiv"
>
<div
class=
"appearanceLabel"
>
外观:
</div>
<div
class=
"appearanceLabel"
>
外观:
</div>
<div
class=
"appearance"
>
<div
class=
"appearance"
>
<div
class=
"appearanceForm"
>
<div
class=
"appearanceForm"
>
<el-form-item
label=
"抽样:"
class=
"sample"
>
<el-form-item
label=
"抽样:"
class=
"sample"
prop=
"jcFacadeCy"
>
<el-input
v-model=
"inspectInfoList.jcFacadeCy"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')"
class=
"smallInput"
/>
<el-input
v-model=
"inspectInfoList.jcFacadeCy"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1') || (this.controlsForm.controls == '3' && this.controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"smallInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"不良:"
class=
"badness"
>
<el-form-item
label=
"不良:"
class=
"badness"
prop=
"jcFacadeBl"
>
<el-input
v-model=
"inspectInfoList.jcFacadeBl"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')"
class=
"smallInput"
/>
<el-input
v-model=
"inspectInfoList.jcFacadeBl"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1') || (this.controlsForm.controls == '3' && this.controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"smallInput"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</div>
</div>
...
@@ -78,7 +112,8 @@
...
@@ -78,7 +112,8 @@
<el-input
<el-input
v-model=
"inspectJbAl2o3List.standardOne"
v-model=
"inspectJbAl2o3List.standardOne"
class=
"inspectionStandardsInput"
class=
"inspectionStandardsInput"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')"
:disabled=
"(this.controlsForm.controls == '1' && this.controlsForm.approveStatus === '1')
|| (this.controlsForm.controls == '3' && this.controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
@
blur=
"getInspect"
@
blur=
"getInspect"
/>
/>
</el-form-item>
</el-form-item>
...
@@ -97,8 +132,10 @@
...
@@ -97,8 +132,10 @@
<div
class=
"recordData"
>
<div
class=
"recordData"
>
<el-input
<el-input
v-model=
"item.recordData"
v-model=
"item.recordData"
:disabled=
"controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1' "
:disabled=
"controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1'|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
@
input=
"handleData1Input(index)"
/>
/>
<el-button
class=
"clearButton"
type=
"danger"
icon=
"el-icon-delete"
circle
@
click=
"clearForm(index)"
/>
</div>
</div>
<div
class=
"Value"
>
{{
item
.
differenceValue
}}
</div>
<div
class=
"Value"
>
{{
item
.
differenceValue
}}
</div>
<div
class=
"averageValue"
>
{{
item
.
differenceValue1
}}
</div>
<div
class=
"averageValue"
>
{{
item
.
differenceValue1
}}
</div>
...
@@ -124,7 +161,8 @@
...
@@ -124,7 +161,8 @@
<el-form-item
label=
"检验标准2:"
label-width=
"80"
>
<el-form-item
label=
"检验标准2:"
label-width=
"80"
>
<el-input
<el-input
v-model=
"inspectJbAl2o3List.standardTwo"
v-model=
"inspectJbAl2o3List.standardTwo"
:disabled=
"controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1' "
:disabled=
"controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1'
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectionStandardsInput"
class=
"inspectionStandardsInput"
@
blur=
"getInspect"
@
blur=
"getInspect"
/>
/>
...
@@ -142,7 +180,13 @@
...
@@ -142,7 +180,13 @@
<div
v-for=
"(item,index) in recode2"
:key=
"index"
:class=
"index === 0? 'oneContent': 'Content'"
>
<div
v-for=
"(item,index) in recode2"
:key=
"index"
:class=
"index === 0? 'oneContent': 'Content'"
>
<div
class=
"number"
>
{{
index
+
11
}}
</div>
<div
class=
"number"
>
{{
index
+
11
}}
</div>
<div
class=
"recordData"
>
<div
class=
"recordData"
>
<el-input
v-model=
"item.recordData"
:disabled=
"controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1' "
/>
<el-input
v-model=
"item.recordData"
:disabled=
"controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1'
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
@
input=
"handleData2Input(index)"
/>
<el-button
class=
"clearButton"
type=
"danger"
icon=
"el-icon-delete"
circle
@
click=
"clearInspectionFormTwo(index)"
/>
</div>
</div>
<div
class=
"Value"
>
{{
item
.
differenceValue
}}
</div>
<div
class=
"Value"
>
{{
item
.
differenceValue
}}
</div>
<div
class=
"averageValue"
>
{{
item
.
differenceValue1
}}
</div>
<div
class=
"averageValue"
>
{{
item
.
differenceValue1
}}
</div>
...
@@ -177,8 +221,9 @@
...
@@ -177,8 +221,9 @@
<el-input
<el-input
v-model=
"inspectJbAl2o3List.limitOne"
v-model=
"inspectJbAl2o3List.limitOne"
class=
"inspectionStandardsInput"
class=
"inspectionStandardsInput"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
@
blur=
"getInspectNext"
@
blur=
"getInspectNext"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
/>
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -187,8 +232,9 @@
...
@@ -187,8 +232,9 @@
<el-input
<el-input
v-model=
"inspectJbAl2o3List.limitTwo"
v-model=
"inspectJbAl2o3List.limitTwo"
class=
"inspectionStandardsInput"
class=
"inspectionStandardsInput"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
@
blur=
"getInspectNext"
@
blur=
"getInspectNext"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
/>
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -202,7 +248,13 @@
...
@@ -202,7 +248,13 @@
<div
v-for=
"(item,index) in recode3"
:key=
"index"
:class=
"index === 0? 'oneContent': 'Content'"
>
<div
v-for=
"(item,index) in recode3"
:key=
"index"
:class=
"index === 0? 'oneContent': 'Content'"
>
<div
class=
"number"
>
{{
index
+
1
}}
</div>
<div
class=
"number"
>
{{
index
+
1
}}
</div>
<div
class=
"recordData"
>
<div
class=
"recordData"
>
<el-input
v-model=
"item.recordData"
:disabled=
"controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1' "
/>
<el-input
v-model=
"item.recordData"
:disabled=
"controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1'
|| (controlsForm.controls == '3' &&controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
@
input=
"handleData3Input(index)"
/>
<el-button
class=
"clearButton"
type=
"danger"
icon=
"el-icon-delete"
circle
@
click=
"clearInspectionFormThree(index)"
/>
</div>
</div>
<div
class=
"Value"
>
{{
item
.
differenceValue
}}
</div>
<div
class=
"Value"
>
{{
item
.
differenceValue
}}
</div>
</div>
</div>
...
@@ -222,87 +274,188 @@
...
@@ -222,87 +274,188 @@
<div
class=
"threeRegion"
>
<div
class=
"threeRegion"
>
<div
class=
"leftRegion"
>
<div
class=
"leftRegion"
>
<el-form-item
label=
"firstHdN:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"firstHdN:"
class=
"inspectJbAlInputBody"
>
<el-input
v-model=
"inspectJbAl2o3List.firstHdN"
:disabled=
"this.controlsForm.controls ==='1'&& this.controlsForm.approveStatus ==='1' "
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.firstHdN"
:disabled=
"this.controlsForm.controls ==='1'&& this.controlsForm.approveStatus ==='1'
|| (this.controlsForm.controls == '3' && this.controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"firstHdPn:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"firstHdPn:"
class=
"inspectJbAlInputBody"
>
<el-input
v-model=
"inspectJbAl2o3List.firstHdPn"
:disabled=
"this.controlsForm.controls ==='1'&& this.controlsForm.approveStatus ==='1' "
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.firstHdPn"
:disabled=
"this.controlsForm.controls ==='1'&& this.controlsForm.approveStatus ==='1'
|| (this.controlsForm.controls == '3' && this.controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"firstHdRes:"
>
<el-form-item
label=
"firstHdRes:"
>
<el-radio-group
v-model=
"inspectJbAl2o3List.firstHdRes"
:disabled=
"this.controlsForm.controls ==='1'&& this.controlsForm.approveStatus ==='1' "
>
<el-radio-group
v-model=
"inspectJbAl2o3List.firstHdRes"
:disabled=
"this.controlsForm.controls ==='1'&& this.controlsForm.approveStatus ==='1'
|| (this.controlsForm.controls == '3' && this.controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
>
<el-radio
label=
"1"
>
合格
</el-radio>
<el-radio
label=
"1"
>
合格
</el-radio>
<el-radio
label=
"2"
>
不合格
</el-radio>
<el-radio
label=
"2"
>
不合格
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wxN:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wxN:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wxN"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wxN"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wxPn:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wxPn:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wxPn"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wxPn"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wxRes:"
>
<el-form-item
label=
"wxRes:"
>
<el-radio-group
class=
"radioGroupWxRes"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wxRes"
>
<el-radio-group
v-model=
"inspectJbAl2o3List.wxRes"
class=
"radioGroupWxRes"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
>
<el-radio
label=
"1"
>
合格
</el-radio>
<el-radio
label=
"1"
>
合格
</el-radio>
<el-radio
label=
"2"
>
不合格
</el-radio>
<el-radio
label=
"2"
>
不合格
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"cyN:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"cyN:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.cyN"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.cyN"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"cyPn:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"cyPn:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.cyPn"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.cyPn"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"cyRes:"
>
<el-form-item
label=
"cyRes:"
>
<el-radio-group
class=
"radioGroupCyRes"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.cyRes"
>
<el-radio-group
v-model=
"inspectJbAl2o3List.cyRes"
class=
"radioGroupCyRes"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
>
<el-radio
label=
"1"
>
合格
</el-radio>
<el-radio
label=
"1"
>
合格
</el-radio>
<el-radio
label=
"2"
>
不合格
</el-radio>
<el-radio
label=
"2"
>
不合格
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"finalRes:"
>
<el-form-item
label=
"finalRes:"
>
<el-radio-group
class=
"radioGroupfinalRes"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.finalRes"
>
<el-radio-group
v-model=
"inspectJbAl2o3List.finalRes"
class=
"radioGroupfinalRes"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
>
<el-radio
label=
"1"
>
合格
</el-radio>
<el-radio
label=
"1"
>
合格
</el-radio>
<el-radio
label=
"2"
>
不合格
</el-radio>
<el-radio
label=
"2"
>
不合格
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"noProject:"
>
<el-form-item
label=
"noProject:"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.noProject"
class=
"inspectJbAlInputProject"
/>
<el-input
v-model=
"inspectJbAl2o3List.noProject"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInputProject"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wgKx:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgKx:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgKx"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgKx"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"rightRegion"
>
<div
class=
"rightRegion"
>
<el-form-item
label=
"wgLlw:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgLlw:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgLlw"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgLlw"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wgWlw:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgWlw:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgWlw"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgWlw"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wgJbwq:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgJbwq:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgJbwq"
class=
"inspectJbAlInputJbwq"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgJbwq"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInputJbwq"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wgZk:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgZk:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgZk"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgZk"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wgSh:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgSh:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgSh"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgSh"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wgBm:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgBm:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgBm"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgBm"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1')|| (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wgTc:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgTc:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgTc"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgTc"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wgQg:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgQg:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgQg"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgQg"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wgCq:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgCq:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgCq"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgCq"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wgFf:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgFf:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgFf"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgFf"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"wgTf:"
class=
"inspectJbAlInputBody"
>
<el-form-item
label=
"wgTf:"
class=
"inspectJbAlInputBody"
>
<el-input
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectJbAl2o3List.wgTf"
class=
"inspectJbAlInput"
/>
<el-input
v-model=
"inspectJbAl2o3List.wgTf"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
</el-form-item>
</el-form-item>
<!--
<el-input
class=
"tableInput"
/>
-->
<!--
<el-input
class=
"tableInput"
/>
-->
</div>
</div>
...
@@ -327,7 +480,7 @@
...
@@ -327,7 +480,7 @@
@
click
.
stop=
"handleClickStop(index)"
@
click
.
stop=
"handleClickStop(index)"
/>
/>
<!-- 按钮区 -->
<!-- 按钮区 -->
<div
class=
"OneElImgButton"
v-if=
"!(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
"
>
<div
v-if=
"!((controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')||(controlsForm.controls ==='3'&& controlsForm.approveStatus ==='1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' ))"
class=
"OneElImgButton
"
>
<div>
<div>
<el-button
type=
"primary"
icon=
"el-icon-upload"
circle
@
click=
"downloadImage(item)"
/>
<el-button
type=
"primary"
icon=
"el-icon-upload"
circle
@
click=
"downloadImage(item)"
/>
</div>
</div>
...
@@ -338,7 +491,11 @@
...
@@ -338,7 +491,11 @@
</div>
</div>
</div>
</div>
<div
v-if=
"!(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
class=
"uploadButton"
@
click=
"handleTakePhotos"
>
<div
v-if=
"!((controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')||(controlsForm.controls ==='3'&& controlsForm.approveStatus ==='1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' ))"
class=
"uploadButton"
@
click=
"handleTakePhotos"
>
<div
class=
"uploadContent"
>
<div
class=
"uploadContent"
>
<div
class=
"imgContainer"
>
<div
class=
"imgContainer"
>
<img
class=
"img"
src=
"@/assets/image/shangchuan.png"
>
<img
class=
"img"
src=
"@/assets/image/shangchuan.png"
>
...
@@ -371,7 +528,11 @@
...
@@ -371,7 +528,11 @@
<div
class=
"inspectionResults"
>
<div
class=
"inspectionResults"
>
<el-form
:model=
"inspectInfoList"
label-width=
"42"
>
<el-form
:model=
"inspectInfoList"
label-width=
"42"
>
<el-form-item
label=
"检验结果:"
>
<el-form-item
label=
"检验结果:"
>
<el-radio-group
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
v-model=
"inspectInfoList.jcResult"
>
<el-radio-group
v-model=
"inspectInfoList.jcResult"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
>
<el-radio
label=
"1"
>
合格
</el-radio>
<el-radio
label=
"1"
>
合格
</el-radio>
<el-radio
label=
"2"
>
不合格
</el-radio>
<el-radio
label=
"2"
>
不合格
</el-radio>
</el-radio-group>
</el-radio-group>
...
@@ -380,21 +541,34 @@
...
@@ -380,21 +541,34 @@
<el-input
<el-input
v-model=
"inspectInfoList.remarks"
v-model=
"inspectInfoList.remarks"
type=
"textarea"
type=
"textarea"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
:rows=
"4"
:rows=
"4"
placeholder=
"请输入备注"
placeholder=
"请输入备注"
/>
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<hr
class=
"twoHr"
v-if=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
>
<hr
<div
v-if=
"showPartIv"
class=
"partIv"
>
v-if=
"((controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1') || (controlsForm.controls ==='2'&& controlsForm.approveStatus ==='3')) || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"twoHr"
>
<div
v-if=
"((controlsForm.controls ==='2'&& controlsForm.approveStatus ==='3') || (controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1' && (inspectsForm.approveUser && inspectsForm.approveUser !=''))|| (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' ))"
class=
"partIv"
>
<div
class=
"auditor"
>
审核人:
{{
inspectsForm
.
approveUser
}}
</div>
<div
class=
"auditor"
>
审核人:
{{
inspectsForm
.
approveUser
}}
</div>
<div
class=
"auditTime"
>
审核时间:
{{
inspectsForm
.
approveDate
}}
</div>
<div
class=
"auditTime"
>
审核时间:
{{
inspectsForm
.
approveDate
}}
</div>
<div
class=
"auditStatus"
>
审核状态:
{{
inspectsForm
.
approveStatus
}}
</div>
<div
v-if=
"!(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1' && (inspectsForm.approveUser && inspectsForm.approveUser !=''))"
class=
"auditStatus"
>
审核状态:
{{
getApproveStatusLabel
(
inspectInfoList
.
approveStatus
)
}}
</div>
<div
v-if=
"inspectInfoList.approveStatus==='3'"
>
驳回原因:
{{
inspectsForm
.
approveNoteHistory
}}
</div>
<div
v-else
>
审批意见:
{{
inspectsForm
.
approveNoteHistory
}}
</div>
</div>
</div>
<div
v-if=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
class=
"auditOpinion"
>
<div
v-if=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
class=
"auditOpinion"
>
<el-form
:model=
"inspectsForm"
>
<el-form
:model=
"inspectsForm"
>
<el-form-item
label=
"审核意见:"
label-width=
"42"
class=
"myForm"
>
<el-form-item
label=
"审核意见:"
label-width=
"42"
class=
"myForm"
>
<el-input
<el-input
...
@@ -406,11 +580,16 @@
...
@@ -406,11 +580,16 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<div
v-if=
"(controlsForm.controls ==='2'&& controlsForm.approveStatus ==='0') || (controlsForm.controls ==='2'&& controlsForm.approveStatus ==='3')"
class=
"submitButton"
>
<div
v-if=
"(controlsForm.controls ==='2'&& controlsForm.approveStatus ==='0') || (controlsForm.controls ==='2'&& controlsForm.approveStatus ==='3')"
class=
"submitButton"
>
<el-button
class=
"buttoon"
type=
"primary"
@
click=
"submitControl"
>
保存
</el-button>
<el-button
class=
"buttoon"
type=
"primary"
@
click=
"submitControl"
>
保存
</el-button>
<el-button
class=
"buttoon"
type=
"primary"
@
click=
"present"
>
提交
</el-button>
<el-button
class=
"buttoon"
type=
"primary"
@
click=
"present"
>
提交
</el-button>
</div>
</div>
<div
v-if=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
class=
"submitButton"
>
<div
v-if=
"(controlsForm.controls ==='3'&& controlsForm.approveStatus ==='1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"submitButton"
>
<el-button
class=
"buttoon"
type=
"primary"
@
click=
"back"
>
返回
</el-button></div>
<div
v-if=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
class=
"submitButton"
>
<el-button
class=
"buttoon"
type=
"primary"
@
click=
"approve"
>
同意
</el-button>
<el-button
class=
"buttoon"
type=
"primary"
@
click=
"approve"
>
同意
</el-button>
<el-button
class=
"buttoon"
type=
"primary"
@
click=
"reject"
>
驳回
</el-button>
<el-button
class=
"buttoon"
type=
"primary"
@
click=
"reject"
>
驳回
</el-button>
</div>
</div>
...
@@ -429,6 +608,28 @@ export default {
...
@@ -429,6 +608,28 @@ export default {
name
:
'CheckList'
,
name
:
'CheckList'
,
data
()
{
data
()
{
return
{
return
{
rules
:
{
jcLot
:
[{
required
:
true
,
message
:
'请输入LOT'
,
trigger
:
'blur'
}],
jcPn
:
[{
required
:
true
,
message
:
'请输入PN'
,
trigger
:
'blur'
}],
jcRank
:
[{
required
:
true
,
message
:
'请输入rank'
,
trigger
:
'blur'
}],
jcNum
:
[{
required
:
true
,
message
:
'请输入数量'
,
trigger
:
'blur'
}],
jcCj
:
[{
required
:
true
,
message
:
'请输入厂家'
,
trigger
:
'blur'
}],
jcFacadeCy
:
[{
required
:
true
,
message
:
'请输入抽样'
,
trigger
:
'blur'
}],
jcFacadeBl
:
[{
required
:
true
,
message
:
'请输入不良'
,
trigger
:
'blur'
}]
},
controlsForm
:
{
controlsForm
:
{
controls
:
'2'
,
controls
:
'2'
,
approveStatus
:
'0'
approveStatus
:
'0'
...
@@ -475,8 +676,7 @@ export default {
...
@@ -475,8 +676,7 @@ export default {
url
:
''
,
url
:
''
,
url1
:
require
(
'@/assets/image/cadTwo.png'
),
url1
:
require
(
'@/assets/image/cadTwo.png'
),
// url: '',
// url: '',
srcList
:
[
srcList
:
[],
],
// srcList: [],
// srcList: [],
srcList1
:
[
srcList1
:
[
require
(
'@/assets/image/cadTwo.png'
)
require
(
'@/assets/image/cadTwo.png'
)
...
@@ -498,9 +698,10 @@ export default {
...
@@ -498,9 +698,10 @@ export default {
},
},
// 审核部分
// 审核部分
inspectsForm
:
{
inspectsForm
:
{
approveUser
:
'
XXX
'
,
approveUser
:
''
,
approveNote
:
''
,
approveNote
:
''
,
approveDate
:
'2024-05-08'
approveNoteHistory
:
''
,
approveDate
:
''
},
},
// 表单二
// 表单二
inspectJbAl2o3List
:
{
inspectJbAl2o3List
:
{
...
@@ -570,8 +771,102 @@ export default {
...
@@ -570,8 +771,102 @@ export default {
created
()
{
created
()
{
this
.
resetRecord
()
this
.
resetRecord
()
this
.
judgmentParam
()
this
.
judgmentParam
()
this
.
getJcCode
()
},
},
methods
:
{
methods
:
{
/** 清空表格里的数据*/
clearForm
(
index
)
{
this
.
recode1
[
index
].
recordData
=
undefined
},
clearInspectionFormTwo
(
index
)
{
this
.
recode2
[
index
].
recordData
=
undefined
},
clearInspectionFormThree
(
index
)
{
this
.
recode3
[
index
].
recordData
=
undefined
},
/* 表单1的计算方法*/
handleData1Input
(
index
)
{
if
(
this
.
inspectJbAl2o3List
.
standardOne
!==
''
&&
this
.
inspectJbAl2o3List
.
standardOne
!==
undefined
)
{
this
.
recode1
[
index
].
differenceValue2
=
(
this
.
recode1
[
index
].
recordData
-
this
.
inspectJbAl2o3List
.
standardOne
).
toFixed
(
2
)
}
if
(
index
>
0
&&
this
.
recode1
[
index
].
recordData
!==
''
&&
this
.
recode1
[
index
-
1
].
recordData
!==
''
)
{
const
num1
=
parseFloat
(
this
.
recode1
[
index
-
1
].
recordData
)
const
num2
=
parseFloat
(
this
.
recode1
[
index
].
recordData
)
this
.
recode1
[
index
].
differenceValue
=
Math
.
abs
(
num1
-
num2
).
toFixed
(
2
)
this
.
recode1
[
index
].
differenceValue1
=
((
num1
+
num2
)
/
2
).
toFixed
(
2
)
}
if
(
index
<
9
&&
this
.
recode1
[
index
].
recordData
!==
''
&&
this
.
recode1
[
index
+
1
].
recordData
!==
''
)
{
const
num1
=
parseFloat
(
this
.
recode1
[
index
+
1
].
recordData
)
const
num2
=
parseFloat
(
this
.
recode1
[
index
].
recordData
)
this
.
recode1
[
index
+
1
].
differenceValue
=
Math
.
abs
(
num1
-
num2
).
toFixed
(
2
)
this
.
recode1
[
index
+
1
].
differenceValue1
=
((
num1
+
num2
)
/
2
).
toFixed
(
2
)
}
if
(
this
.
recode1
[
index
].
recordData
===
''
)
{
this
.
recode1
[
index
].
differenceValue
=
''
this
.
recode1
[
index
+
1
].
differenceValue
=
''
this
.
recode1
[
index
].
differenceValue1
=
''
this
.
recode1
[
index
+
1
].
differenceValue1
=
''
this
.
recode1
[
index
].
differenceValue2
=
''
}
},
/* 表单2的计算方法*/
handleData2Input
(
index
)
{
if
(
this
.
inspectJbAl2o3List
.
standardTwo
!==
''
&&
this
.
inspectJbAl2o3List
.
standardTwo
!==
undefined
)
{
this
.
recode2
[
index
].
differenceValue2
=
(
this
.
recode2
[
index
].
recordData
-
this
.
inspectJbAl2o3List
.
standardTwo
).
toFixed
(
2
)
}
if
(
index
>
0
&&
this
.
recode2
[
index
].
recordData
!==
''
&&
this
.
recode2
[
index
-
1
].
recordData
!==
''
)
{
const
num1
=
parseFloat
(
this
.
recode2
[
index
-
1
].
recordData
)
const
num2
=
parseFloat
(
this
.
recode2
[
index
].
recordData
)
this
.
recode2
[
index
].
differenceValue
=
Math
.
abs
(
num1
-
num2
).
toFixed
(
2
)
this
.
recode2
[
index
].
differenceValue1
=
((
num1
+
num2
)
/
2
).
toFixed
(
2
)
}
if
(
index
<
9
&&
this
.
recode2
[
index
].
recordData
!==
''
&&
this
.
recode2
[
index
+
1
].
recordData
!==
''
)
{
const
num1
=
parseFloat
(
this
.
recode2
[
index
+
1
].
recordData
)
const
num2
=
parseFloat
(
this
.
recode2
[
index
].
recordData
)
this
.
recode2
[
index
+
1
].
differenceValue
=
Math
.
abs
(
num1
-
num2
).
toFixed
(
2
)
this
.
recode2
[
index
+
1
].
differenceValue1
=
((
num1
+
num2
)
/
2
).
toFixed
(
2
)
}
if
(
this
.
recode2
[
index
].
recordData
===
''
)
{
this
.
recode2
[
index
].
differenceValue
=
''
this
.
recode2
[
index
+
1
].
differenceValue
=
''
this
.
recode2
[
index
].
differenceValue1
=
''
this
.
recode2
[
index
+
1
].
differenceValue1
=
''
this
.
recode2
[
index
].
differenceValue2
=
''
}
},
/* 表单3的计算方法*/
handleData3Input
(
index
)
{
if
(
index
>
0
&&
this
.
recode3
[
index
].
recordData
!==
''
&&
this
.
recode3
[
index
-
1
].
recordData
!==
''
)
{
const
num1
=
parseFloat
(
this
.
recode3
[
index
-
1
].
recordData
)
const
num2
=
parseFloat
(
this
.
recode3
[
index
].
recordData
)
this
.
recode3
[
index
].
differenceValue
=
Math
.
abs
(
num1
-
num2
).
toFixed
(
2
)
}
if
(
index
<
9
&&
this
.
recode3
[
index
].
recordData
!==
''
&&
this
.
recode3
[
index
+
1
].
recordData
!==
''
)
{
const
num1
=
parseFloat
(
this
.
recode3
[
index
+
1
].
recordData
)
const
num2
=
parseFloat
(
this
.
recode3
[
index
].
recordData
)
this
.
recode3
[
index
+
1
].
differenceValue
=
Math
.
abs
(
num1
-
num2
).
toFixed
(
2
)
}
if
(
this
.
recode3
[
index
].
recordData
===
''
)
{
this
.
recode3
[
index
].
differenceValue
=
''
this
.
recode3
[
index
+
1
].
differenceValue
=
''
}
},
// 获取单号
getJcCode
()
{
if
(
this
.
controlsForm
.
approveStatus
===
'0'
&&
this
.
controlsForm
.
controls
===
'2'
&&
this
.
$route
.
query
.
businessId
===
undefined
)
{
this
.
inspectInfoList
.
jcCode
=
this
.
getRandomNum
()
}
},
// 生成6位随机数
getRandomNum
()
{
var
randomNum1
=
Math
.
floor
(
Math
.
random
()
*
1000000
)
console
.
log
(
'randomNum1'
,
randomNum1
)
return
randomNum1
},
// 审核驳回
// 审核驳回
reject
()
{
reject
()
{
const
obj
=
{
const
obj
=
{
...
@@ -580,7 +875,7 @@ export default {
...
@@ -580,7 +875,7 @@ export default {
approveStatus
:
'3'
approveStatus
:
'3'
}
}
approveInformation
(
obj
).
then
(
res
=>
{
approveInformation
(
obj
).
then
(
res
=>
{
console
.
log
(
'审核结果'
,
res
)
console
.
log
(
'审核结果'
,
res
)
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
error
(
'该审核已驳回'
)
this
.
$message
.
error
(
'该审核已驳回'
)
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -597,7 +892,7 @@ export default {
...
@@ -597,7 +892,7 @@ export default {
approveStatus
:
'9'
approveStatus
:
'9'
}
}
approveInformation
(
obj
).
then
(
res
=>
{
approveInformation
(
obj
).
then
(
res
=>
{
console
.
log
(
'审核结果'
,
res
)
console
.
log
(
'审核结果'
,
res
)
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'审核通过'
)
this
.
$message
.
success
(
'审核通过'
)
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -661,34 +956,35 @@ export default {
...
@@ -661,34 +956,35 @@ export default {
this
.
inspectJbAl2o3List
.
wgTf
=
response
.
data
.
wgTf
this
.
inspectJbAl2o3List
.
wgTf
=
response
.
data
.
wgTf
this
.
inspectJbAl2o3List
.
limitData
=
response
.
data
.
limitData
this
.
inspectJbAl2o3List
.
limitData
=
response
.
data
.
limitData
this
.
inspectJbAl2o3List
.
ossId
=
response
.
data
.
ossId
this
.
inspectJbAl2o3List
.
ossId
=
response
.
data
.
ossId
// this.recode1.recordData =
// const qwe = []
// qwe =
// console.log(this.inspectJbAl2o3List.standardOneData.split(','))
// this.recode1.recordData = this.inspectJbAl2o3List.standardOneData.split(',')
this
.
getRecordList
(
this
.
inspectJbAl2o3List
.
standardOneData
.
split
(
','
))
this
.
getRecordList
(
this
.
inspectJbAl2o3List
.
standardOneData
.
split
(
','
))
this
.
getRecordTwoList
(
this
.
inspectJbAl2o3List
.
standardTwoData
.
split
(
','
))
this
.
getRecordTwoList
(
this
.
inspectJbAl2o3List
.
standardTwoData
.
split
(
','
))
this
.
getRecordThreeList
(
this
.
inspectJbAl2o3List
.
limitData
.
split
(
','
))
this
.
getRecordThreeList
(
this
.
inspectJbAl2o3List
.
limitData
.
split
(
','
))
console
.
log
(
this
.
recode1
)
/** 审批信息**/
console
.
log
(
this
.
inspectJbAl2o3List
)
this
.
inspectInfoList
.
approveStatus
=
response
.
data
.
approveStatus
this
.
inspectsForm
.
approveUser
=
response
.
data
.
nickName
this
.
inspectsForm
.
approveDate
=
response
.
data
.
approveDate
this
.
inspectsForm
.
approveNoteHistory
=
response
.
data
.
approveNote
})
})
},
},
// 数组1
// 数组1
getRecordList
(
list1
)
{
getRecordList
(
list1
)
{
for
(
let
i
=
0
;
i
<
10
;
i
++
)
{
for
(
let
i
=
0
;
i
<
10
;
i
++
)
{
this
.
recode1
[
i
].
recordData
=
list1
[
i
]
this
.
recode1
[
i
].
recordData
=
list1
[
i
]
this
.
handleData1Input
(
i
)
}
}
},
},
// 数组2
// 数组2
getRecordTwoList
(
list1
)
{
getRecordTwoList
(
list1
)
{
for
(
let
i
=
0
;
i
<
10
;
i
++
)
{
for
(
let
i
=
0
;
i
<
10
;
i
++
)
{
this
.
recode2
[
i
].
recordData
=
list1
[
i
]
this
.
recode2
[
i
].
recordData
=
list1
[
i
]
this
.
handleData2Input
(
i
)
}
}
},
},
// 数组3
// 数组3
getRecordThreeList
(
list1
)
{
getRecordThreeList
(
list1
)
{
for
(
let
i
=
0
;
i
<
10
;
i
++
)
{
for
(
let
i
=
0
;
i
<
10
;
i
++
)
{
this
.
recode3
[
i
].
recordData
=
list1
[
i
]
this
.
recode3
[
i
].
recordData
=
list1
[
i
]
this
.
handleData3Input
[
i
]
}
}
},
},
judgmentParam
()
{
judgmentParam
()
{
...
@@ -699,7 +995,8 @@ export default {
...
@@ -699,7 +995,8 @@ export default {
this
.
getRecordInfo
(
this
.
$route
.
query
.
businessId
)
this
.
getRecordInfo
(
this
.
$route
.
query
.
businessId
)
}
else
{
}
else
{
if
(
this
.
$store
.
getters
.
searchParams
[
this
.
$route
.
path
])
{
if
(
this
.
$store
.
getters
.
searchParams
[
this
.
$route
.
path
])
{
const
{
searchParams
}
=
this
.
$store
.
getters
;
const
{
path
}
=
this
.
$route
const
{
searchParams
}
=
this
.
$store
.
getters
const
{
path
}
=
this
.
$route
const
param
=
JSON
.
parse
(
searchParams
[
path
])
// 保留着的查询条件
const
param
=
JSON
.
parse
(
searchParams
[
path
])
// 保留着的查询条件
const
obj
=
{
...
param
}
const
obj
=
{
...
param
}
this
.
inspectInfoList
=
obj
.
from1
this
.
inspectInfoList
=
obj
.
from1
...
@@ -720,6 +1017,20 @@ export default {
...
@@ -720,6 +1017,20 @@ export default {
parseTime
,
parseTime
,
// 获取检验时间和检验人
// 获取检验时间和检验人
// 根据传值获取审核状态
getApproveStatusLabel
(
type
)
{
switch
(
type
)
{
case
'0'
:
return
'待提交'
case
'1'
:
return
'待审核'
case
'3'
:
return
'已驳回'
case
'9'
:
return
'已通过'
}
},
/**
/**
* @description: 下载图片到本地
* @description: 下载图片到本地
* @author: gaoyu
* @author: gaoyu
...
@@ -839,70 +1150,70 @@ export default {
...
@@ -839,70 +1150,70 @@ export default {
recordData
:
''
,
recordData
:
''
,
differenceValue
:
''
,
differenceValue
:
''
,
differenceValue1
:
''
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.002
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.002
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
}
}
]
]
this
.
recode2
=
[
this
.
recode2
=
[
...
@@ -911,70 +1222,70 @@ export default {
...
@@ -911,70 +1222,70 @@ export default {
recordData
:
''
,
recordData
:
''
,
differenceValue
:
''
,
differenceValue
:
''
,
differenceValue1
:
''
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.002
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.002
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
}
}
]
]
this
.
recode3
=
[
this
.
recode3
=
[
...
@@ -983,70 +1294,106 @@ export default {
...
@@ -983,70 +1294,106 @@ export default {
recordData
:
''
,
recordData
:
''
,
differenceValue
:
''
,
differenceValue
:
''
,
differenceValue1
:
''
,
differenceValue1
:
''
,
differenceValue2
:
'61.224'
differenceValue2
:
''
},
{
// 记录数据
recordData
:
''
,
differenceValue
:
''
,
differenceValue1
:
''
,
differenceValue2
:
''
},
{
// 记录数据
recordData
:
''
,
differenceValue
:
''
,
differenceValue1
:
''
,
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.002
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.002
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'
0.001
'
,
differenceValue
:
''
,
differenceValue1
:
'
0.001
'
,
differenceValue1
:
''
,
differenceValue2
:
'
61.224
'
differenceValue2
:
''
},
},
{
{
// 记录数据
// 记录数据
recordData
:
''
,
recordData
:
''
,
differenceValue
:
'0.001'
,
differenceValue
:
''
,
differenceValue1
:
'0.001'
,
differenceValue1
:
''
,
differenceValue2
:
'61.224'
differenceValue2
:
''
},
{
// 记录数据
recordData
:
''
,
differenceValue
:
''
,
differenceValue1
:
''
,
differenceValue2
:
''
},
{
// 记录数据
recordData
:
''
,
differenceValue
:
''
,
differenceValue1
:
''
,
differenceValue2
:
''
},
{
// 记录数据
recordData
:
''
,
differenceValue
:
''
,
differenceValue1
:
''
,
differenceValue2
:
''
}
}
]
]
},
},
...
@@ -1126,25 +1473,34 @@ export default {
...
@@ -1126,25 +1473,34 @@ export default {
})
})
},
},
present
()
{
present
()
{
this
.
inspectJbAl2o3List
.
standardOneData
=
this
.
getStringByArray
(
this
.
recode1
)
this
.
$refs
.
ruleForm
.
validate
(
vaild
=>
{
this
.
inspectJbAl2o3List
.
standardTwoData
=
this
.
getStringByArray
(
this
.
recode2
)
if
(
vaild
)
{
this
.
inspectJbAl2o3List
.
limitData
=
this
.
getStringByArray
(
this
.
recode3
)
this
.
inspectJbAl2o3List
.
standardOneData
=
this
.
getStringByArray
(
this
.
recode1
)
this
.
inspectInfoList
.
approveStatus
=
'1'
this
.
inspectJbAl2o3List
.
standardTwoData
=
this
.
getStringByArray
(
this
.
recode2
)
var
obj
=
{
this
.
inspectJbAl2o3List
.
limitData
=
this
.
getStringByArray
(
this
.
recode3
)
incomeInspectInfo
:
this
.
inspectInfoList
,
this
.
inspectInfoList
.
approveStatus
=
'1'
incomeInspectJbAl2o3
:
this
.
inspectJbAl2o3List
var
obj
=
{
}
incomeInspectInfo
:
this
.
inspectInfoList
,
console
.
log
(
'obj'
,
obj
)
incomeInspectJbAl2o3
:
this
.
inspectJbAl2o3List
addIncomeInspectInfo
(
obj
).
then
(
response
=>
{
}
console
.
log
(
're'
,
response
)
console
.
log
(
'obj'
,
obj
)
if
(
response
.
code
===
200
)
{
addIncomeInspectInfo
(
obj
).
then
(
response
=>
{
this
.
msgSuccess
(
'提交成功'
)
console
.
log
(
're'
,
response
)
this
.
resetInspectInfo
()
if
(
response
.
code
===
200
)
{
this
.
resetinspectJbAl2o3List
()
this
.
msgSuccess
(
'提交成功'
)
this
.
resetRecord
()
this
.
resetInspectInfo
()
this
.
resetinspectJbAl2o3List
()
this
.
resetRecord
()
this
.
controlsForm
.
approveStatus
=
'0'
this
.
controlsForm
.
controls
=
'2'
}
})
}
}
})
})
},
},
back
()
{
this
.
$router
.
go
(
-
1
)
},
// 根据数组得到字符串
// 根据数组得到字符串
getStringByArray
:
function
(
recodeList
)
{
getStringByArray
:
function
(
recodeList
)
{
const
inputList
=
[]
const
inputList
=
[]
...
@@ -1340,7 +1696,7 @@ export default {
...
@@ -1340,7 +1696,7 @@ export default {
}
}
.scanCode
{
.scanCode
{
margin-left
:
1
%
;
margin-left
:
69
%
;
width
:
30%
;
width
:
30%
;
background
:
#0057ff
;
background
:
#0057ff
;
border-radius
:
4px
;
border-radius
:
4px
;
...
@@ -1395,15 +1751,24 @@ export default {
...
@@ -1395,15 +1751,24 @@ export default {
.textDiv
{
.textDiv
{
margin-top
:
20px
;
margin-top
:
20px
;
width
:
87%
;
margin-left
:
10%
;
width
:
77%
;
height
:
40px
;
height
:
40px
;
text-align
:
right
;
display
:
flex
;
//justify-content: space-between;
//text-align: right;
.scanDiv
{
width
:
43%
;
margin-left
:
4%
;
}
.fontSp
{
.fontSp
{
margin-left
:
43%
;
height
:
28px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
margin-right
:
5px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#606266
;
color
:
#606266
;
display
:
flex
;
align-items
:
center
;
}
}
}
}
...
@@ -1414,7 +1779,7 @@ export default {
...
@@ -1414,7 +1779,7 @@ export default {
width
:
80%
;
width
:
80%
;
::v-deep
.el-form-item__content
{
::v-deep
.el-form-item__content
{
margin-left
:
45
px
!
important
;
margin-left
:
53
px
!
important
;
}
}
.formLabel
{
.formLabel
{
...
@@ -1433,7 +1798,7 @@ export default {
...
@@ -1433,7 +1798,7 @@ export default {
}
}
::v-deep
.el-form-item__label
{
::v-deep
.el-form-item__label
{
width
:
42
px
;
width
:
53
px
;
height
:
18px
;
height
:
18px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
font-weight
:
400
;
...
@@ -1447,7 +1812,7 @@ export default {
...
@@ -1447,7 +1812,7 @@ export default {
width
:
45%
;
width
:
45%
;
::v-deep
.el-form-item__label
{
::v-deep
.el-form-item__label
{
width
:
42
px
;
width
:
53
px
;
height
:
18px
;
height
:
18px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
font-weight
:
400
;
...
@@ -1634,9 +1999,14 @@ export default {
...
@@ -1634,9 +1999,14 @@ export default {
}
}
.recordData
{
.recordData
{
display
:
flex
;
margin-left
:
3%
;
margin-left
:
3%
;
width
:
25%
;
width
:
25%
;
.clearButton
{
margin-left
:
6px
;
}
}
}
}
}
.Content
{
.Content
{
...
@@ -1663,6 +2033,10 @@ export default {
...
@@ -1663,6 +2033,10 @@ export default {
height
:
32px
;
height
:
32px
;
border
:
1px
solid
#d9d9d9
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
4px
;
border-radius
:
4px
;
display
:
flex
;
.clearButton
{
margin-left
:
6px
;
}
}
}
.Value
{
.Value
{
...
@@ -1736,8 +2110,12 @@ export default {
...
@@ -1736,8 +2110,12 @@ export default {
}
}
.recordData
{
.recordData
{
display
:
flex
;
margin-left
:
3%
;
margin-left
:
3%
;
width
:
27%
;
width
:
27%
;
.clearButton
{
margin-left
:
6px
;
}
}
}
}
}
...
@@ -1766,6 +2144,10 @@ export default {
...
@@ -1766,6 +2144,10 @@ export default {
height
:
32px
;
height
:
32px
;
border
:
1px
solid
#d9d9d9
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
4px
;
border-radius
:
4px
;
display
:
flex
;
.clearButton
{
margin-left
:
6px
;
}
}
}
.Value
{
.Value
{
...
@@ -2003,8 +2385,12 @@ export default {
...
@@ -2003,8 +2385,12 @@ export default {
}
}
.recordData
{
.recordData
{
display
:
flex
;
margin-left
:
3%
;
margin-left
:
3%
;
width
:
25%
;
width
:
25%
;
.clearButton
{
margin-left
:
6px
;
}
}
}
}
}
...
@@ -2032,6 +2418,10 @@ export default {
...
@@ -2032,6 +2418,10 @@ export default {
height
:
32px
;
height
:
32px
;
border
:
1px
solid
#d9d9d9
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
4px
;
border-radius
:
4px
;
display
:
flex
;
.clearButton
{
margin-left
:
6px
;
}
}
}
.Value
{
.Value
{
...
@@ -2136,7 +2526,8 @@ export default {
...
@@ -2136,7 +2526,8 @@ export default {
}
}
}
}
}
}
.inspect
{
.inspect
{
width
:
58%
;
width
:
58%
;
height
:
auto
;
height
:
auto
;
display
:
flex
;
display
:
flex
;
...
@@ -2237,9 +2628,9 @@ export default {
...
@@ -2237,9 +2628,9 @@ export default {
.leftRegion
{
.leftRegion
{
width
:
47%
;
width
:
47%
;
// height: 100%;
// height: 100%;
// border: 1px solid #d9d9d9;
// border: 1px solid #d9d9d9;
// border-radius: 4px;
// border-radius: 4px;
}
}
.rightRegion
{
.rightRegion
{
...
@@ -2275,31 +2666,40 @@ export default {
...
@@ -2275,31 +2666,40 @@ export default {
.leftRegion
{
.leftRegion
{
width
:
47%
;
width
:
47%
;
.selectAlign
{
.selectAlign
{
text-align
:
left
;
text-align
:
left
;
}
}
.inspectJbAlInputBody
{
.inspectJbAlInputBody
{
margin-top
:
20px
;
margin-top
:
20px
;
text-align
:
right
;
text-align
:
right
;
}
}
.inspectJbAlInput
{
.inspectJbAlInput
{
width
:
85%
;
width
:
85%
;
}
}
.inspectJbAlInputProject
{
.inspectJbAlInputProject
{
width
:
84%
;
width
:
84%
;
}
}
.inspectJbAlInputJbwq
{
.inspectJbAlInputJbwq
{
width
:
85%
;
width
:
85%
;
}
}
.radioGroupWxRes
{
.radioGroupWxRes
{
margin-left
:
21px
;
margin-left
:
21px
;
}
}
.radioGroupCyRes
{
.radioGroupCyRes
{
margin-left
:
24px
;
margin-left
:
24px
;
}
}
.radioGroupfinalRes
{
.radioGroupfinalRes
{
margin-left
:
10px
;
margin-left
:
10px
;
}
}
//height: 100%;
//height: 100%;
//border: 1px solid #d9d9d9;
//border: 1px solid #d9d9d9;
//border-radius: 4px;
//border-radius: 4px;
...
@@ -2307,16 +2707,20 @@ export default {
...
@@ -2307,16 +2707,20 @@ export default {
.rightRegion
{
.rightRegion
{
width
:
44
.5%
;
width
:
44
.5%
;
.inspectJbAlInputBody
{
.inspectJbAlInputBody
{
margin-top
:
20px
;
margin-top
:
20px
;
text-align
:
right
;
text-align
:
right
;
}
}
.inspectJbAlInput
{
.inspectJbAlInput
{
width
:
86%
;
width
:
86%
;
}
}
.inspectJbAlInputJbwq
{
.inspectJbAlInputJbwq
{
width
:
85%
;
width
:
85%
;
}
}
//height: 100%;
//height: 100%;
//border: 1px solid #d9d9d9;
//border: 1px solid #d9d9d9;
//border-radius: 4px;
//border-radius: 4px;
...
@@ -2340,8 +2744,9 @@ export default {
...
@@ -2340,8 +2744,9 @@ export default {
.peviewImg
{
.peviewImg
{
display
:
flex
;
display
:
flex
;
//width: 667px;
//width: 667px;
.imgDisplay
{
.imgDisplay
{
display
:
flex
;
display
:
flex
;
.OneImg
{
.OneImg
{
margin-top
:
-1
.6px
;
margin-top
:
-1
.6px
;
margin-left
:
12px
;
margin-left
:
12px
;
...
@@ -2351,7 +2756,8 @@ export default {
...
@@ -2351,7 +2756,8 @@ export default {
height
:
112px
;
height
:
112px
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.OneElImgButton
{
.OneElImgButton
{
margin-top
:
10px
;
margin-top
:
10px
;
width
:
112px
;
width
:
112px
;
display
:
flex
;
display
:
flex
;
...
@@ -2479,7 +2885,7 @@ export default {
...
@@ -2479,7 +2885,7 @@ export default {
}
}
display
:
flex
;
display
:
flex
;
width
:
31
%
;
width
:
47
%
;
height
:
auto
;
height
:
auto
;
margin-top
:
10px
;
margin-top
:
10px
;
margin-left
:
10%
;
margin-left
:
10%
;
...
...
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