Commit 286d6189 authored by 高宇's avatar 高宇

优化代码 状态问题

parent 9a3e7669
...@@ -48,6 +48,13 @@ Viewer.setDefaults({ ...@@ -48,6 +48,13 @@ Viewer.setDefaults({
} }
}) })
// 打包清除所有console.log
if (process.env.NODE_ENV === 'development') {
if (window) {
window.console.log = function() {}
}
}
// 全局方法挂载 // 全局方法挂载
Vue.prototype.$WebView = WebView Vue.prototype.$WebView = WebView
Vue.prototype.getDicts = getDicts Vue.prototype.getDicts = getDicts
......
...@@ -21,9 +21,7 @@ ...@@ -21,9 +21,7 @@
<el-form-item label="厂家:" prop="jcCj"> <el-form-item label="厂家:" prop="jcCj">
<el-select <el-select
v-model="inspectInfoList.jcCj" v-model="inspectInfoList.jcCj"
:disabled="reviewingView :disabled="firstFromDisabled"
||reviewingExamine ||
passedView"
class="normalSelect" class="normalSelect"
placeholder="请选择厂家" placeholder="请选择厂家"
> >
...@@ -46,15 +44,14 @@ ...@@ -46,15 +44,14 @@
<el-form-item label="LOT:" prop="jcLot"> <el-form-item label="LOT:" prop="jcLot">
<el-input <el-input
v-model="inspectInfoList.jcLot" v-model="inspectInfoList.jcLot"
:disabled="reviewingExamine|| rejectView||reviewingView|| :disabled="firstFromDisabled"
passedView"
class="normalInput" class="normalInput"
/> />
</el-form-item> </el-form-item>
<el-form-item label="PN:" prop="jcPn"> <el-form-item label="PN:" prop="jcPn">
<el-input <el-input
v-model="inspectInfoList.jcPn" v-model="inspectInfoList.jcPn"
:disabled="reviewingExamine|| reviewingView || passedView" :disabled="firstFromDisabled"
class="normalInput" class="normalInput"
/> />
</el-form-item> </el-form-item>
...@@ -66,14 +63,14 @@ ...@@ -66,14 +63,14 @@
<el-form-item label="rank:" prop="jcRank"> <el-form-item label="rank:" prop="jcRank">
<el-input <el-input
v-model="inspectInfoList.jcRank" v-model="inspectInfoList.jcRank"
:disabled="reviewingExamine || reviewingView || passedView" :disabled="firstFromDisabled"
class="normalInput" class="normalInput"
/> />
</el-form-item> </el-form-item>
<el-form-item label="数量:" prop="jcNum"> <el-form-item label="数量:" prop="jcNum">
<el-input <el-input
v-model="inspectInfoList.jcNum" v-model="inspectInfoList.jcNum"
:disabled="reviewingExamine|| reviewingView|| passedView" :disabled="firstFromDisabled"
class="normalInput" class="normalInput"
/> />
</el-form-item> </el-form-item>
...@@ -90,7 +87,7 @@ ...@@ -90,7 +87,7 @@
<div class="CodeOne"> <div class="CodeOne">
<el-form :model="inspectJbAl2o3List"> <el-form :model="inspectJbAl2o3List">
<el-form-item label="检查一单号: "> <el-form-item label="检查一单号: ">
<el-input v-model="inspectJbAl2o3List.jcOneCode" :disabled="(reviewingView || reviewingExamine) || passedView || rejectView" class="CodeOneInput" /> <el-input v-model="inspectJbAl2o3List.jcOneCode" :disabled="(firstFromDisabled)" class="CodeOneInput" />
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
...@@ -112,8 +109,7 @@ ...@@ -112,8 +109,7 @@
v-model="inspectJbAl2o3List.standardOne" v-model="inspectJbAl2o3List.standardOne"
class="inspectionStandardsInput" class="inspectionStandardsInput"
:maxlength="IRMAXLENGTHONE" :maxlength="IRMAXLENGTHONE"
:disabled="reviewingExamine :disabled="firstFromDisabled"
|| reviewingView || passedView"
@blur="getInspect" @blur="getInspect"
@input="calculateStandard(1)" @input="calculateStandard(1)"
/> />
...@@ -142,7 +138,7 @@ ...@@ -142,7 +138,7 @@
ref="input1" ref="input1"
v-model="inspectJbAl2o3List.recode1[0].recordData" v-model="inspectJbAl2o3List.recode1[0].recordData"
:maxlength="IRMAXLENGTHONE" :maxlength="IRMAXLENGTHONE"
:disabled="reviewingExamine|| reviewingView || passedView" :disabled="firstFromDisabled"
@input="handleData1Input(0)" @input="handleData1Input(0)"
@keyup.enter.native="handelTab(1,$event)" @keyup.enter.native="handelTab(1,$event)"
/> />
...@@ -150,9 +146,7 @@ ...@@ -150,9 +146,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingView ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5; height: 30px" style="color: #5cbce5; height: 30px"
@click="clearForm(0)" @click="clearForm(0)"
...@@ -182,7 +176,7 @@ ...@@ -182,7 +176,7 @@
ref="input2" ref="input2"
v-model="inspectJbAl2o3List.recode1[1].recordData" v-model="inspectJbAl2o3List.recode1[1].recordData"
:maxlength="IRMAXLENGTHONE" :maxlength="IRMAXLENGTHONE"
:disabled="reviewingExamine|| reviewingView || passedView" :disabled="firstFromDisabled"
@input="handleData1Input(1)" @input="handleData1Input(1)"
@keyup.enter.native="handelTab(2,$event)" @keyup.enter.native="handelTab(2,$event)"
/> />
...@@ -190,9 +184,7 @@ ...@@ -190,9 +184,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingView||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5; height: 30px" style="color: #5cbce5; height: 30px"
@click="clearForm(1)" @click="clearForm(1)"
...@@ -222,7 +214,7 @@ ...@@ -222,7 +214,7 @@
ref="input3" ref="input3"
v-model="inspectJbAl2o3List.recode1[2].recordData" v-model="inspectJbAl2o3List.recode1[2].recordData"
:maxlength="IRMAXLENGTHONE" :maxlength="IRMAXLENGTHONE"
:disabled="reviewingExamine|| reviewingView || passedView" :disabled="firstFromDisabled"
@input="handleData1Input(2)" @input="handleData1Input(2)"
@keyup.enter.native="handelTab(3,$event)" @keyup.enter.native="handelTab(3,$event)"
/> />
...@@ -230,9 +222,7 @@ ...@@ -230,9 +222,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingView ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5; height: 30px" style="color: #5cbce5; height: 30px"
@click="clearForm(2)" @click="clearForm(2)"
...@@ -262,7 +252,7 @@ ...@@ -262,7 +252,7 @@
ref="input4" ref="input4"
v-model="inspectJbAl2o3List.recode1[3].recordData" v-model="inspectJbAl2o3List.recode1[3].recordData"
:maxlength="IRMAXLENGTHONE" :maxlength="IRMAXLENGTHONE"
:disabled="reviewingView ||reviewingExamine|| reviewingExamine || passedView" :disabled="firstFromDisabled"
@input="handleData1Input(3)" @input="handleData1Input(3)"
@keyup.enter.native="handelTab(4,$event)" @keyup.enter.native="handelTab(4,$event)"
/> />
...@@ -270,9 +260,7 @@ ...@@ -270,9 +260,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5; height: 30px" style="color: #5cbce5; height: 30px"
@click="clearForm(3)" @click="clearForm(3)"
...@@ -302,7 +290,7 @@ ...@@ -302,7 +290,7 @@
ref="input5" ref="input5"
v-model="inspectJbAl2o3List.recode1[4].recordData" v-model="inspectJbAl2o3List.recode1[4].recordData"
:maxlength="IRMAXLENGTHONE" :maxlength="IRMAXLENGTHONE"
:disabled="reviewingView ||reviewingExamine|| reviewingExamine || passedView" :disabled="firstFromDisabled"
@input="handleData1Input(4)" @input="handleData1Input(4)"
@keyup.enter.native="handelTab(5,$event)" @keyup.enter.native="handelTab(5,$event)"
/> />
...@@ -310,9 +298,7 @@ ...@@ -310,9 +298,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5; height: 30px" style="color: #5cbce5; height: 30px"
@click="clearForm(4)" @click="clearForm(4)"
...@@ -342,7 +328,7 @@ ...@@ -342,7 +328,7 @@
ref="input6" ref="input6"
v-model="inspectJbAl2o3List.recode1[5].recordData" v-model="inspectJbAl2o3List.recode1[5].recordData"
:maxlength="IRMAXLENGTHONE" :maxlength="IRMAXLENGTHONE"
:disabled="reviewingView ||reviewingExamine|| reviewingExamine || passedView" :disabled="firstFromDisabled"
@input="handleData1Input(5)" @input="handleData1Input(5)"
@keyup.enter.native="handelTab(6,$event)" @keyup.enter.native="handelTab(6,$event)"
/> />
...@@ -350,9 +336,7 @@ ...@@ -350,9 +336,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5; height: 30px" style="color: #5cbce5; height: 30px"
@click="clearForm(5)" @click="clearForm(5)"
...@@ -382,7 +366,7 @@ ...@@ -382,7 +366,7 @@
ref="input7" ref="input7"
v-model="inspectJbAl2o3List.recode1[6].recordData" v-model="inspectJbAl2o3List.recode1[6].recordData"
:maxlength="IRMAXLENGTHONE" :maxlength="IRMAXLENGTHONE"
:disabled="reviewingView ||reviewingExamine|| reviewingExamine || passedView" :disabled="firstFromDisabled"
@input="handleData1Input(6)" @input="handleData1Input(6)"
@keyup.enter.native="handelTab(7,$event)" @keyup.enter.native="handelTab(7,$event)"
/> />
...@@ -390,9 +374,7 @@ ...@@ -390,9 +374,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5; height: 30px" style="color: #5cbce5; height: 30px"
@click="clearForm(6)" @click="clearForm(6)"
...@@ -422,7 +404,7 @@ ...@@ -422,7 +404,7 @@
ref="input8" ref="input8"
v-model="inspectJbAl2o3List.recode1[7].recordData" v-model="inspectJbAl2o3List.recode1[7].recordData"
:maxlength="IRMAXLENGTHONE" :maxlength="IRMAXLENGTHONE"
:disabled="reviewingView ||reviewingExamine|| reviewingExamine || passedView" :disabled="firstFromDisabled"
@input="handleData1Input(7)" @input="handleData1Input(7)"
@keyup.enter.native="handelTab(8,$event)" @keyup.enter.native="handelTab(8,$event)"
/> />
...@@ -430,9 +412,7 @@ ...@@ -430,9 +412,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5; height: 30px" style="color: #5cbce5; height: 30px"
@click="clearForm(7)" @click="clearForm(7)"
...@@ -462,7 +442,7 @@ ...@@ -462,7 +442,7 @@
ref="input9" ref="input9"
v-model="inspectJbAl2o3List.recode1[8].recordData" v-model="inspectJbAl2o3List.recode1[8].recordData"
:maxlength="IRMAXLENGTHONE" :maxlength="IRMAXLENGTHONE"
:disabled="reviewingView ||reviewingExamine|| reviewingExamine || passedView" :disabled="firstFromDisabled"
@input="handleData1Input(8)" @input="handleData1Input(8)"
@keyup.enter.native="handelTab(9,$event)" @keyup.enter.native="handelTab(9,$event)"
/> />
...@@ -470,9 +450,7 @@ ...@@ -470,9 +450,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5; height: 30px" style="color: #5cbce5; height: 30px"
@click="clearForm(8)" @click="clearForm(8)"
...@@ -502,7 +480,7 @@ ...@@ -502,7 +480,7 @@
ref="input10" ref="input10"
v-model="inspectJbAl2o3List.recode1[9].recordData" v-model="inspectJbAl2o3List.recode1[9].recordData"
:maxlength="IRMAXLENGTHONE" :maxlength="IRMAXLENGTHONE"
:disabled="reviewingView ||reviewingExamine|| reviewingExamine || passedView" :disabled="firstFromDisabled"
@input="handleData1Input(9)" @input="handleData1Input(9)"
@keyup.enter.native="handelTab(10,$event)" @keyup.enter.native="handelTab(10,$event)"
/> />
...@@ -510,9 +488,7 @@ ...@@ -510,9 +488,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5; height: 30px" style="color: #5cbce5; height: 30px"
@click="clearForm(9)" @click="clearForm(9)"
...@@ -556,8 +532,7 @@ ...@@ -556,8 +532,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.standardTwo" v-model="inspectJbAl2o3List.standardTwo"
:maxlength="IRMAXLENGTHTWO" :maxlength="IRMAXLENGTHTWO"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
class="inspectionStandardsInput" class="inspectionStandardsInput"
@blur="getInspect" @blur="getInspect"
@input="calculateStandard(2)" @input="calculateStandard(2)"
...@@ -583,8 +558,7 @@ ...@@ -583,8 +558,7 @@
ref="input11" ref="input11"
v-model="inspectJbAl2o3List.recode2[0].recordData" v-model="inspectJbAl2o3List.recode2[0].recordData"
:maxlength="IRMAXLENGTHTWO" :maxlength="IRMAXLENGTHTWO"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData2Input(0)" @input="handleData2Input(0)"
@keyup.enter.native="handelTab(11,$event)" @keyup.enter.native="handelTab(11,$event)"
/> />
...@@ -592,9 +566,7 @@ ...@@ -592,9 +566,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormTwo(0)" @click="clearInspectionFormTwo(0)"
...@@ -620,8 +592,7 @@ ...@@ -620,8 +592,7 @@
ref="input12" ref="input12"
v-model="inspectJbAl2o3List.recode2[1].recordData" v-model="inspectJbAl2o3List.recode2[1].recordData"
:maxlength="IRMAXLENGTHTWO" :maxlength="IRMAXLENGTHTWO"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData2Input(1)" @input="handleData2Input(1)"
@keyup.enter.native="handelTab(12,$event)" @keyup.enter.native="handelTab(12,$event)"
/> />
...@@ -629,9 +600,7 @@ ...@@ -629,9 +600,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormTwo(1)" @click="clearInspectionFormTwo(1)"
...@@ -657,8 +626,7 @@ ...@@ -657,8 +626,7 @@
ref="input13" ref="input13"
v-model="inspectJbAl2o3List.recode2[2].recordData" v-model="inspectJbAl2o3List.recode2[2].recordData"
:maxlength="IRMAXLENGTHTWO" :maxlength="IRMAXLENGTHTWO"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData2Input(2)" @input="handleData2Input(2)"
@keyup.enter.native="handelTab(13,$event)" @keyup.enter.native="handelTab(13,$event)"
/> />
...@@ -666,9 +634,7 @@ ...@@ -666,9 +634,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormTwo(2)" @click="clearInspectionFormTwo(2)"
...@@ -694,8 +660,7 @@ ...@@ -694,8 +660,7 @@
ref="input14" ref="input14"
v-model="inspectJbAl2o3List.recode2[3].recordData" v-model="inspectJbAl2o3List.recode2[3].recordData"
:maxlength="IRMAXLENGTHTWO" :maxlength="IRMAXLENGTHTWO"
:disabled="reviewingView || reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData2Input(3)" @input="handleData2Input(3)"
@keyup.enter.native="handelTab(14,$event)" @keyup.enter.native="handelTab(14,$event)"
/> />
...@@ -703,9 +668,7 @@ ...@@ -703,9 +668,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormTwo(3)" @click="clearInspectionFormTwo(3)"
...@@ -731,8 +694,7 @@ ...@@ -731,8 +694,7 @@
ref="input15" ref="input15"
v-model="inspectJbAl2o3List.recode2[4].recordData" v-model="inspectJbAl2o3List.recode2[4].recordData"
:maxlength="IRMAXLENGTHTWO" :maxlength="IRMAXLENGTHTWO"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData2Input(4)" @input="handleData2Input(4)"
@keyup.enter.native="handelTab(15,$event)" @keyup.enter.native="handelTab(15,$event)"
/> />
...@@ -740,9 +702,7 @@ ...@@ -740,9 +702,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormTwo(4)" @click="clearInspectionFormTwo(4)"
...@@ -768,8 +728,7 @@ ...@@ -768,8 +728,7 @@
ref="input16" ref="input16"
v-model="inspectJbAl2o3List.recode2[5].recordData" v-model="inspectJbAl2o3List.recode2[5].recordData"
:maxlength="IRMAXLENGTHTWO" :maxlength="IRMAXLENGTHTWO"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData2Input(5)" @input="handleData2Input(5)"
@keyup.enter.native="handelTab(16,$event)" @keyup.enter.native="handelTab(16,$event)"
/> />
...@@ -777,9 +736,7 @@ ...@@ -777,9 +736,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormTwo(5)" @click="clearInspectionFormTwo(5)"
...@@ -805,8 +762,7 @@ ...@@ -805,8 +762,7 @@
ref="input17" ref="input17"
v-model="inspectJbAl2o3List.recode2[6].recordData" v-model="inspectJbAl2o3List.recode2[6].recordData"
:maxlength="IRMAXLENGTHTWO" :maxlength="IRMAXLENGTHTWO"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData2Input(6)" @input="handleData2Input(6)"
@keyup.enter.native="handelTab(17,$event)" @keyup.enter.native="handelTab(17,$event)"
/> />
...@@ -814,9 +770,7 @@ ...@@ -814,9 +770,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormTwo(6)" @click="clearInspectionFormTwo(6)"
...@@ -842,8 +796,7 @@ ...@@ -842,8 +796,7 @@
ref="input18" ref="input18"
v-model="inspectJbAl2o3List.recode2[7].recordData" v-model="inspectJbAl2o3List.recode2[7].recordData"
:maxlength="IRMAXLENGTHTWO" :maxlength="IRMAXLENGTHTWO"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData2Input(7)" @input="handleData2Input(7)"
@keyup.enter.native="handelTab(18,$event)" @keyup.enter.native="handelTab(18,$event)"
/> />
...@@ -851,9 +804,7 @@ ...@@ -851,9 +804,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormTwo(7)" @click="clearInspectionFormTwo(7)"
...@@ -879,8 +830,7 @@ ...@@ -879,8 +830,7 @@
ref="input19" ref="input19"
v-model="inspectJbAl2o3List.recode2[8].recordData" v-model="inspectJbAl2o3List.recode2[8].recordData"
:maxlength="IRMAXLENGTHTWO" :maxlength="IRMAXLENGTHTWO"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData2Input(8)" @input="handleData2Input(8)"
@keyup.enter.native="handelTab(19,$event)" @keyup.enter.native="handelTab(19,$event)"
/> />
...@@ -888,9 +838,7 @@ ...@@ -888,9 +838,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormTwo(8)" @click="clearInspectionFormTwo(8)"
...@@ -916,8 +864,7 @@ ...@@ -916,8 +864,7 @@
ref="input20" ref="input20"
v-model="inspectJbAl2o3List.recode2[9].recordData" v-model="inspectJbAl2o3List.recode2[9].recordData"
:maxlength="IRMAXLENGTHTWO" :maxlength="IRMAXLENGTHTWO"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData2Input(9)" @input="handleData2Input(9)"
@keyup.enter.native="handelTab(20,$event)" @keyup.enter.native="handelTab(20,$event)"
/> />
...@@ -925,9 +872,7 @@ ...@@ -925,9 +872,7 @@
</div> </div>
<div class="emptyButton"> <div class="emptyButton">
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormTwo(9)" @click="clearInspectionFormTwo(9)"
...@@ -987,8 +932,7 @@ ...@@ -987,8 +932,7 @@
v-model="inspectJbAl2o3List.limitOne" v-model="inspectJbAl2o3List.limitOne"
class="inspectionStandardsInput" class="inspectionStandardsInput"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="(reviewingView ||reviewingExamine) :disabled="(firstFromDisabled)"
|| reviewingExamine || passedView"
@blur="getInspectNext" @blur="getInspectNext"
@input="CalculateDifference" @input="CalculateDifference"
/> />
...@@ -998,8 +942,7 @@ ...@@ -998,8 +942,7 @@
v-model="inspectJbAl2o3List.limitTwo" v-model="inspectJbAl2o3List.limitTwo"
class="inspectionStandardsInput" class="inspectionStandardsInput"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="(reviewingView || reviewingExamine) :disabled="(firstFromDisabled)"
|| reviewingExamine || passedView"
@blur="getInspectNext" @blur="getInspectNext"
@input="CalculateDifference" @input="CalculateDifference"
/> />
...@@ -1009,8 +952,7 @@ ...@@ -1009,8 +952,7 @@
v-model="inspectJbAl2o3List.limitThree" v-model="inspectJbAl2o3List.limitThree"
class="inspectionStandardsInput" class="inspectionStandardsInput"
:maxlength="7" :maxlength="7"
:disabled="(reviewingView ||reviewingExamine) :disabled="(firstFromDisabled)"
|| reviewingExamine || passedView"
@input="CalculateDifference" @input="CalculateDifference"
/> />
</el-form-item> </el-form-item>
...@@ -1033,16 +975,13 @@ ...@@ -1033,16 +975,13 @@
ref="input21" ref="input21"
v-model="inspectJbAl2o3List.recode3[0].recordData" v-model="inspectJbAl2o3List.recode3[0].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(0)" @input="handleData3Input(0)"
@keyup.enter.native="handelTab(21,$event)" @keyup.enter.native="handelTab(21,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(0)" @click="clearInspectionFormThree(0)"
...@@ -1062,16 +1001,13 @@ ...@@ -1062,16 +1001,13 @@
ref="input22" ref="input22"
v-model="inspectJbAl2o3List.recode3[1].recordData" v-model="inspectJbAl2o3List.recode3[1].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(1)" @input="handleData3Input(1)"
@keyup.enter.native="handelTab(22,$event)" @keyup.enter.native="handelTab(22,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(1)" @click="clearInspectionFormThree(1)"
...@@ -1091,16 +1027,13 @@ ...@@ -1091,16 +1027,13 @@
ref="input23" ref="input23"
v-model="inspectJbAl2o3List.recode3[2].recordData" v-model="inspectJbAl2o3List.recode3[2].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(2)" @input="handleData3Input(2)"
@keyup.enter.native="handelTab(23,$event)" @keyup.enter.native="handelTab(23,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(2)" @click="clearInspectionFormThree(2)"
...@@ -1120,16 +1053,13 @@ ...@@ -1120,16 +1053,13 @@
ref="input24" ref="input24"
v-model="inspectJbAl2o3List.recode3[3].recordData" v-model="inspectJbAl2o3List.recode3[3].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(3)" @input="handleData3Input(3)"
@keyup.enter.native="handelTab(24,$event)" @keyup.enter.native="handelTab(24,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(3)" @click="clearInspectionFormThree(3)"
...@@ -1149,16 +1079,13 @@ ...@@ -1149,16 +1079,13 @@
ref="input25" ref="input25"
v-model="inspectJbAl2o3List.recode3[4].recordData" v-model="inspectJbAl2o3List.recode3[4].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(4)" @input="handleData3Input(4)"
@keyup.enter.native="handelTab(25,$event)" @keyup.enter.native="handelTab(25,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(4)" @click="clearInspectionFormThree(4)"
...@@ -1178,16 +1105,13 @@ ...@@ -1178,16 +1105,13 @@
ref="input26" ref="input26"
v-model="inspectJbAl2o3List.recode3[5].recordData" v-model="inspectJbAl2o3List.recode3[5].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(5)" @input="handleData3Input(5)"
@keyup.enter.native="handelTab(26,$event)" @keyup.enter.native="handelTab(26,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(5)" @click="clearInspectionFormThree(5)"
...@@ -1207,16 +1131,13 @@ ...@@ -1207,16 +1131,13 @@
ref="input27" ref="input27"
v-model="inspectJbAl2o3List.recode3[6].recordData" v-model="inspectJbAl2o3List.recode3[6].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(6)" @input="handleData3Input(6)"
@keyup.enter.native="handelTab(27,$event)" @keyup.enter.native="handelTab(27,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(6)" @click="clearInspectionFormThree(6)"
...@@ -1236,16 +1157,13 @@ ...@@ -1236,16 +1157,13 @@
ref="input28" ref="input28"
v-model="inspectJbAl2o3List.recode3[7].recordData" v-model="inspectJbAl2o3List.recode3[7].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(7)" @input="handleData3Input(7)"
@keyup.enter.native="handelTab(28,$event)" @keyup.enter.native="handelTab(28,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(7)" @click="clearInspectionFormThree(7)"
...@@ -1265,16 +1183,13 @@ ...@@ -1265,16 +1183,13 @@
ref="input29" ref="input29"
v-model="inspectJbAl2o3List.recode3[8].recordData" v-model="inspectJbAl2o3List.recode3[8].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(8)" @input="handleData3Input(8)"
@keyup.enter.native="handelTab(29,$event)" @keyup.enter.native="handelTab(29,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(8)" @click="clearInspectionFormThree(8)"
...@@ -1294,16 +1209,13 @@ ...@@ -1294,16 +1209,13 @@
ref="input30" ref="input30"
v-model="inspectJbAl2o3List.recode3[9].recordData" v-model="inspectJbAl2o3List.recode3[9].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(9)" @input="handleData3Input(9)"
@keyup.enter.native="handelTab(30,$event)" @keyup.enter.native="handelTab(30,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(9)" @click="clearInspectionFormThree(9)"
...@@ -1323,16 +1235,13 @@ ...@@ -1323,16 +1235,13 @@
ref="input31" ref="input31"
v-model="inspectJbAl2o3List.recode3[10].recordData" v-model="inspectJbAl2o3List.recode3[10].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(10)" @input="handleData3Input(10)"
@keyup.enter.native="handelTab(31,$event)" @keyup.enter.native="handelTab(31,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(10)" @click="clearInspectionFormThree(10)"
...@@ -1352,16 +1261,13 @@ ...@@ -1352,16 +1261,13 @@
ref="input32" ref="input32"
v-model="inspectJbAl2o3List.recode3[11].recordData" v-model="inspectJbAl2o3List.recode3[11].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(11)" @input="handleData3Input(11)"
@keyup.enter.native="handelTab(32,$event)" @keyup.enter.native="handelTab(32,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(11)" @click="clearInspectionFormThree(11)"
...@@ -1381,16 +1287,13 @@ ...@@ -1381,16 +1287,13 @@
ref="input33" ref="input33"
v-model="inspectJbAl2o3List.recode3[12].recordData" v-model="inspectJbAl2o3List.recode3[12].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(12)" @input="handleData3Input(12)"
@keyup.enter.native="handelTab(33,$event)" @keyup.enter.native="handelTab(33,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(12)" @click="clearInspectionFormThree(12)"
...@@ -1410,16 +1313,13 @@ ...@@ -1410,16 +1313,13 @@
ref="input34" ref="input34"
v-model="inspectJbAl2o3List.recode3[13].recordData" v-model="inspectJbAl2o3List.recode3[13].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(13)" @input="handleData3Input(13)"
@keyup.enter.native="handelTab(34,$event)" @keyup.enter.native="handelTab(34,$event)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(13)" @click="clearInspectionFormThree(13)"
...@@ -1439,15 +1339,12 @@ ...@@ -1439,15 +1339,12 @@
ref="input35" ref="input35"
v-model="inspectJbAl2o3List.recode3[14].recordData" v-model="inspectJbAl2o3List.recode3[14].recordData"
:maxlength="IRMAXLENGTHTHREE" :maxlength="IRMAXLENGTHTHREE"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
@input="handleData3Input(14)" @input="handleData3Input(14)"
/> />
</el-form-item> </el-form-item>
<i <i
v-show="!(reviewingView ||reviewingExamine|| v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
class="el-icon-circle-close" class="el-icon-circle-close"
style="color: #5cbce5" style="color: #5cbce5"
@click="clearInspectionFormThree(14)" @click="clearInspectionFormThree(14)"
...@@ -1483,7 +1380,7 @@ ...@@ -1483,7 +1380,7 @@
<div class="CodeOne"> <div class="CodeOne">
<el-form :model="inspectJbAl2o3List"> <el-form :model="inspectJbAl2o3List">
<el-form-item label="检查三单号: "> <el-form-item label="检查三单号: ">
<el-input v-model="inspectJbAl2o3List.jcTwoCode" :disabled="(reviewingView || reviewingExamine|| passedView|| rejectView)" class="CodeOneInput" /> <el-input v-model="inspectJbAl2o3List.jcTwoCode" :disabled="(firstFromDisabled)" class="CodeOneInput" />
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
...@@ -1496,26 +1393,21 @@ ...@@ -1496,26 +1393,21 @@
<el-input <el-input
v-model="inspectJbAl2o3List.firstHdN" v-model="inspectJbAl2o3List.firstHdN"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingExamine :disabled="firstFromDisabled"
|| reviewingView || passedView"
class="inspectJbAlInput" class="inspectJbAlInput"
/> />
</el-form-item> </el-form-item>
<el-form-item label="firstHdRes:"> <el-form-item label="firstHdRes:">
<div <div
v-if="((reviewingExamine) v-if="(firstFromDisabled)"
|| reviewingExamine || passedView)"
> >
<span :class="ThirdOneRadioTextClass">{{ ThirdOneradioText }}</span> <span :class="ThirdOneRadioTextClass">{{ ThirdOneradioText }}</span>
</div> </div>
<el-radio-group <el-radio-group
v-show="!(reviewingView || (reviewingExamine) || v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
v-model="inspectJbAl2o3List.firstHdRes" v-model="inspectJbAl2o3List.firstHdRes"
class="radioGroupCyRes" class="radioGroupCyRes"
:disabled="reviewingExamine :disabled="firstFromDisabled"
|| reviewingView || passedView"
> >
<el-radio label="1">合格</el-radio> <el-radio label="1">合格</el-radio>
<el-radio label="2">不合格</el-radio> <el-radio label="2">不合格</el-radio>
...@@ -1525,22 +1417,18 @@ ...@@ -1525,22 +1417,18 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wxN" v-model="inspectJbAl2o3List.wxN"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="(reviewingView ||reviewingExamine) :disabled="(firstFromDisabled)"
|| reviewingExamine || passedView"
class="inspectJbAlInput" class="inspectJbAlInput"
/> />
</el-form-item> </el-form-item>
<el-form-item label="wxRes:"> <el-form-item label="wxRes:">
<div <div
v-if="((reviewingView ||reviewingExamine) v-if="(firstFromDisabled)"
|| reviewingExamine || passedView)"
> >
<span :class="ThirdTwoRadioTextClass">{{ ThirdTwoRadioText }}</span> <span :class="ThirdTwoRadioTextClass">{{ ThirdTwoRadioText }}</span>
</div> </div>
<el-radio-group <el-radio-group
v-show="!(reviewingView || (reviewingExamine) || v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
v-model="inspectJbAl2o3List.wxRes" v-model="inspectJbAl2o3List.wxRes"
class="radioGroupCyRes" class="radioGroupCyRes"
:disabled="(reviewingExamine) :disabled="(reviewingExamine)
...@@ -1554,23 +1442,19 @@ ...@@ -1554,23 +1442,19 @@
<el-input <el-input
v-model="inspectJbAl2o3List.cyN" v-model="inspectJbAl2o3List.cyN"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine) :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
class="inspectJbAlInput" class="inspectJbAlInput"
/> />
</el-form-item> </el-form-item>
<el-form-item label="cyRes:"> <el-form-item label="cyRes:">
<div <div
v-if="reviewingView ||(reviewingView ||(reviewingExamine) v-if="firstFromDisabled"
|| reviewingExamine || passedView)"
> >
<span :class="ThirdThreeRadioTextClass">{{ ThirdThreeRadioText }}</span> <span :class="ThirdThreeRadioTextClass">{{ ThirdThreeRadioText }}</span>
</div> </div>
<el-radio-group <el-radio-group
v-show="!(reviewingView ||(reviewingExamine) || v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
v-model="inspectJbAl2o3List.cyRes" v-model="inspectJbAl2o3List.cyRes"
class="radioGroupCyRes" class="radioGroupCyRes"
:disabled="(reviewingExamine) :disabled="(reviewingExamine)
...@@ -1582,15 +1466,12 @@ ...@@ -1582,15 +1466,12 @@
</el-form-item> </el-form-item>
<el-form-item label="finalRes:"> <el-form-item label="finalRes:">
<div <div
v-if="(reviewingView ||(reviewingExamine) v-if="(firstFromDisabled)"
|| reviewingExamine || passedView)"
> >
<span :class="ThirdFourRadioTextClass">{{ ThirdFourRadioText }}</span> <span :class="ThirdFourRadioTextClass">{{ ThirdFourRadioText }}</span>
</div> </div>
<el-radio-group <el-radio-group
v-show="!(reviewingView ||(reviewingExamine) || v-show="!(firstFromDisabled)"
reviewingExamine ||
passedView)"
v-model="inspectJbAl2o3List.finalRes" v-model="inspectJbAl2o3List.finalRes"
class="radioGroupCyRes" class="radioGroupCyRes"
:disabled="(reviewingExamine) :disabled="(reviewingExamine)
...@@ -1605,7 +1486,7 @@ ...@@ -1605,7 +1486,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgKx" v-model="inspectJbAl2o3List.wgKx"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1614,7 +1495,7 @@ ...@@ -1614,7 +1495,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgWlw" v-model="inspectJbAl2o3List.wgWlw"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1623,7 +1504,7 @@ ...@@ -1623,7 +1504,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgZk" v-model="inspectJbAl2o3List.wgZk"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1632,7 +1513,7 @@ ...@@ -1632,7 +1513,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgBm" v-model="inspectJbAl2o3List.wgBm"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine|| passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1641,7 +1522,7 @@ ...@@ -1641,7 +1522,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgQg" v-model="inspectJbAl2o3List.wgQg"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1650,7 +1531,7 @@ ...@@ -1650,7 +1531,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgFf" v-model="inspectJbAl2o3List.wgFf"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1661,8 +1542,7 @@ ...@@ -1661,8 +1542,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.firstHdPn" v-model="inspectJbAl2o3List.firstHdPn"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||reviewingExamine :disabled="firstFromDisabled"
|| reviewingView || passedView"
class="inspectJbAlInput" class="inspectJbAlInput"
/> />
</el-form-item> </el-form-item>
...@@ -1672,8 +1552,7 @@ ...@@ -1672,8 +1552,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wxPn" v-model="inspectJbAl2o3List.wxPn"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine) :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
class="inspectJbAlInput" class="inspectJbAlInput"
/> />
</el-form-item> </el-form-item>
...@@ -1681,8 +1560,7 @@ ...@@ -1681,8 +1560,7 @@
<el-form-item label="cyPn:" class="inspectJbAlInputBody"> <el-form-item label="cyPn:" class="inspectJbAlInputBody">
<span <span
:disabled="reviewingView ||(reviewingExamine) :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
class="inspectJbAlInput" class="inspectJbAlInput"
> >
{{ inspectJbAl2o3List.cyPn }} {{ inspectJbAl2o3List.cyPn }}
...@@ -1693,7 +1571,7 @@ ...@@ -1693,7 +1571,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.noProject" v-model="inspectJbAl2o3List.noProject"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
/> />
</el-form-item> </el-form-item>
...@@ -1701,7 +1579,7 @@ ...@@ -1701,7 +1579,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgLlw" v-model="inspectJbAl2o3List.wgLlw"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1710,7 +1588,7 @@ ...@@ -1710,7 +1588,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgJbwq" v-model="inspectJbAl2o3List.wgJbwq"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1720,7 +1598,7 @@ ...@@ -1720,7 +1598,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgSh" v-model="inspectJbAl2o3List.wgSh"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInputJbwq" class="inspectJbAlInputJbwq"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1729,7 +1607,7 @@ ...@@ -1729,7 +1607,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgTc" v-model="inspectJbAl2o3List.wgTc"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1739,7 +1617,7 @@ ...@@ -1739,7 +1617,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgCq" v-model="inspectJbAl2o3List.wgCq"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1749,7 +1627,7 @@ ...@@ -1749,7 +1627,7 @@
<el-input <el-input
v-model="inspectJbAl2o3List.wgTf" v-model="inspectJbAl2o3List.wgTf"
:maxlength="IRMAXLENGTHTHREEFOUR" :maxlength="IRMAXLENGTHTHREEFOUR"
:disabled="reviewingView ||(reviewingExamine)|| reviewingExamine || passedView" :disabled="firstFromDisabled"
class="inspectJbAlInput" class="inspectJbAlInput"
@input="handleCyPn" @input="handleCyPn"
/> />
...@@ -1779,7 +1657,7 @@ ...@@ -1779,7 +1657,7 @@
/> />
<!-- 按钮区 --> <!-- 按钮区 -->
<div <div
v-if="!(reviewingView ||(reviewingExamine)||reviewingView || passedView)" v-if="!(firstFromDisabled)"
class="OneElImgButton" class="OneElImgButton"
> >
<div> <div>
...@@ -1795,7 +1673,7 @@ ...@@ -1795,7 +1673,7 @@
</div> </div>
<div <div
v-if="!(reviewingView ||(reviewingExamine)||reviewingView || passedView)" v-if="!(firstFromDisabled)"
class="uploadButton" class="uploadButton"
@click="handleTakePhotos" @click="handleTakePhotos"
> >
...@@ -1815,27 +1693,21 @@ ...@@ -1815,27 +1693,21 @@
<el-input <el-input
v-model="inspectInfoList.jcCause" v-model="inspectInfoList.jcCause"
type="textarea" type="textarea"
:disabled="reviewingView ||(reviewingExamine) :disabled="firstFromDisabled"
|| reviewingExamine || passedView"
:rows="6" :rows="6"
placeholder="请输入检验原因" placeholder="请输入检验原因"
/> />
</el-form-item> </el-form-item>
<el-form-item label="检验结果:" class="groupDiv"> <el-form-item label="检验结果:" class="groupDiv">
<div <div
v-if="reviewingView ||((reviewingExamine) v-if="firstFromDisabled"
|| reviewingExamine
|| passedView)"
> >
<span :class="radioTextClass">{{ radioText }}</span> <span :class="radioTextClass">{{ radioText }}</span>
</div> </div>
<el-radio-group <el-radio-group
v-show="!reviewingView ||(reviewingExamine v-show="!firstFromDisabled"
|| rejectView ||
passedView)"
v-model="inspectInfoList.jcResult" v-model="inspectInfoList.jcResult"
:disabled="reviewingExamine :disabled="firstFromDisabled"
|| reviewingView || passedView"
> >
<el-radio label="1">合格</el-radio> <el-radio label="1">合格</el-radio>
<el-radio label="2">不合格</el-radio> <el-radio label="2">不合格</el-radio>
...@@ -1845,8 +1717,7 @@ ...@@ -1845,8 +1717,7 @@
<el-input <el-input
v-model="inspectInfoList.remarks" v-model="inspectInfoList.remarks"
type="textarea" type="textarea"
:disabled="reviewingExamine :disabled="firstFromDisabled "
|| rejectView || passedView || reviewingView "
:rows="6" :rows="6"
placeholder="请输入备注" placeholder="请输入备注"
/> />
...@@ -1854,7 +1725,7 @@ ...@@ -1854,7 +1725,7 @@
</el-form> </el-form>
</div> </div>
<hr <hr
v-if="(reviewingExamine || rejectUpdate) || passedView" v-if="firstFromShow"
class="twoHr" class="twoHr"
> >
<div <div
...@@ -1873,8 +1744,7 @@ ...@@ -1873,8 +1744,7 @@
</div> </div>
<div <div
v-show="reviewingExamine||rejectUpdate v-show="thirdFromShow"
|| passedView"
:class="inspectInfoList.approveStatus==='3'? 'auditOpinionNo': 'auditOpinion'" :class="inspectInfoList.approveStatus==='3'? 'auditOpinionNo': 'auditOpinion'"
> >
<el-form :model="inspectsForm"> <el-form :model="inspectsForm">
...@@ -1883,7 +1753,7 @@ ...@@ -1883,7 +1753,7 @@
v-model="inspectsForm.approveNoteHistory" v-model="inspectsForm.approveNoteHistory"
type="textarea" type="textarea"
:rows="6" :rows="6"
:disabled="rejectUpdate||passedView" :disabled="secondFromDisabled"
/> />
</el-form-item> </el-form-item>
<el-form-item <el-form-item
...@@ -1896,13 +1766,13 @@ ...@@ -1896,13 +1766,13 @@
v-model="inspectsForm.approveNote" v-model="inspectsForm.approveNote"
type="textarea" type="textarea"
:rows="6" :rows="6"
:disabled="rejectUpdate||passedView" :disabled="secondFromDisabled"
/> />
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div <div
v-if="cyUpdate || rejectUpdate" v-if="secondFromShow"
class="submitButton" class="submitButton"
> >
<el-button class="buttoonSave" type="primary" :loading="submitLoadIng" style="background-color: #5cbce5" @click="submitControl">保存 <el-button class="buttoonSave" type="primary" :loading="submitLoadIng" style="background-color: #5cbce5" @click="submitControl">保存
...@@ -2209,14 +2079,27 @@ export default { ...@@ -2209,14 +2079,27 @@ export default {
}, },
computed: { computed: {
// 草稿状态下修改 // 第一种禁用情况: 1.待审核状态的审核 2.待审核状态下查看 3.已通过状态查看 三种情况符合其一即可禁用
cyUpdate() { firstFromDisabled() {
return (this.controlsForm.approveStatus === '0' && this.controlsForm.controls === '2' ) ? true: false return ((this.controlsForm.approveStatus === '1' && this.controlsForm.controls === '3' ) || (this.controlsForm.approveStatus === '1' && this.controlsForm.controls === '1' ) || (this.controlsForm.approveStatus === '9' && this.controlsForm.controls === '3' )) ? true : false
},
// 第二种禁用情况 1.驳回状态下修改 2.已通过状态下查看 两种情况下符合其一即可禁用
secondFromDisabled() {
return ((this.controlsForm.approveStatus === '3' && this.controlsForm.controls === '2' ) || (this.controlsForm.approveStatus === '9' && this.controlsForm.controls === '3' )) ? true : false
}, },
// 待审核状态下查看 // 第一种显示情况 1.待审核状态下审核 2.已驳回状态下修改 , 已通过状态下查看
reviewingView() { firstFromShow() {
return (this.controlsForm.approveStatus === '1' && this.controlsForm.controls === '3' ) ? true: false return ((this.controlsForm.approveStatus === '1' && this.controlsForm.controls === '1' ) || (this.controlsForm.approveStatus === '3' && this.controlsForm.controls === '2' ) || (this.controlsForm.approveStatus === '9' && this.controlsForm.controls === '3' )) ? true : false
}, },
// 第二种显示情况 1.草稿状态下修改 2.已驳回状态下修改
secondFromShow() {
return ((this.controlsForm.approveStatus === '0' && this.controlsForm.controls === '2' ) || (this.controlsForm.approveStatus === '3' && this.controlsForm.controls === '2' )) ? true: false
},
// 第三种显示情况 1.待审核状态下审核 2.已驳回状态下修改 3.已通过状态下查看
thirdFromShow() {
return ((this.controlsForm.approveStatus === '1' && this.controlsForm.controls === '1' ) || (this.controlsForm.approveStatus === '3' && this.controlsForm.controls === '2' ) || (this.controlsForm.approveStatus === '9' && this.controlsForm.controls === '3' )) ? true: false
},
// 待审核状态下审核 // 待审核状态下审核
reviewingExamine() { reviewingExamine() {
return (this.controlsForm.approveStatus === '1' && this.controlsForm.controls === '1' ) ? true: false return (this.controlsForm.approveStatus === '1' && this.controlsForm.controls === '1' ) ? true: false
...@@ -2229,10 +2112,6 @@ export default { ...@@ -2229,10 +2112,6 @@ export default {
rejectUpdate() { rejectUpdate() {
return (this.controlsForm.approveStatus === '3' && this.controlsForm.controls === '2' ) ? true: false return (this.controlsForm.approveStatus === '3' && this.controlsForm.controls === '2' ) ? true: false
}, },
// 已驳回状态下查看
rejectView() {
return (this.controlsForm.approveStatus === '3' && this.controlsForm.controls === '1' ) ? true: false
},
radioText() { radioText() {
return this.inspectInfoList.jcResult === '1' ? '合格' : '不合格' return this.inspectInfoList.jcResult === '1' ? '合格' : '不合格'
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment