Commit cc4c8296 authored by 高宇's avatar 高宇

1.优化代码

parent 24d86333
This diff is collapsed.
...@@ -2321,7 +2321,7 @@ ...@@ -2321,7 +2321,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="标签四" name="fourthly"> <el-tab-pane label="标签四" name="fourthly">
<div class="fourTarContainer" style="height: 1100px"> <div class="fourTarContainer" style="height: 1100px">
<tagfour @ShowTabel="getIsShowTabel" :default-show="inspectJbAl2o3List.isShowTabel" :default-index="inspectJbAl2o3List.sheetIndex" :default-controls="controlsForm.approveStatus" :default-object="tabfourForm" @sheetIndex="handleSheetIndex" @tarFrom="handleTarForm"></tagfour> <tagfour @ShowTabel="getIsShowTabel" :default-index="inspectJbAl2o3List.sheetIndex" :default-controls="controlsForm.approveStatus" :default-object="tabfourForm" @sheetIndex="handleSheetIndex" @tarFrom="handleTarForm"></tagfour>
</div> </div>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
...@@ -2946,7 +2946,7 @@ export default { ...@@ -2946,7 +2946,7 @@ export default {
recode1: [], recode1: [],
recode2: [], recode2: [],
recode3: [], recode3: [],
sheetIndex: 0, sheetIndex: null,
ld: null, ld: null,
lda: null, lda: null,
ldb: null, ldb: null,
...@@ -4189,8 +4189,6 @@ export default { ...@@ -4189,8 +4189,6 @@ export default {
this.inspectJbAl2o3List.oneJcDate = response.data.oneJcDate this.inspectJbAl2o3List.oneJcDate = response.data.oneJcDate
this.inspectJbAl2o3List.twoJcUser = response.data.twoJcUser this.inspectJbAl2o3List.twoJcUser = response.data.twoJcUser
this.inspectJbAl2o3List.twoJcDate = response.data.twoJcDate this.inspectJbAl2o3List.twoJcDate = response.data.twoJcDate
this.inspectJbAl2o3List.isShowTabel = response.data.isShowTabel
console.log('isShowTabel',response.data.isShowTabel)
this.inspectJbAl2o3List.limitOne = response.data.limitOne this.inspectJbAl2o3List.limitOne = response.data.limitOne
this.inspectJbAl2o3List.limitTwo = response.data.limitTwo this.inspectJbAl2o3List.limitTwo = response.data.limitTwo
if (response.data.sheetIndex) { if (response.data.sheetIndex) {
...@@ -4832,8 +4830,7 @@ export default { ...@@ -4832,8 +4830,7 @@ export default {
projecta: null, projecta: null,
projectb: null, projectb: null,
projectc: null, projectc: null,
projectd: null, projectd: null
isShowTabel: '0',
} }
}, },
/** /**
...@@ -4919,6 +4916,7 @@ export default { ...@@ -4919,6 +4916,7 @@ export default {
this.getRecordInfo(response.data.incomeInspectInfo.businessId) this.getRecordInfo(response.data.incomeInspectInfo.businessId)
this.controlsForm.approveStatus = '0' this.controlsForm.approveStatus = '0'
this.controlsForm.controls = '2' this.controlsForm.controls = '2'
this.inspectJbAl2o3List.sheetIndex = null
this.submitLoadIng = false this.submitLoadIng = false
} else { } else {
this.submitLoadIng = false this.submitLoadIng = false
...@@ -4999,6 +4997,7 @@ export default { ...@@ -4999,6 +4997,7 @@ export default {
this.presentLoading = false this.presentLoading = false
this.controlsForm.approveStatus = '0' this.controlsForm.approveStatus = '0'
this.controlsForm.controls = '2' this.controlsForm.controls = '2'
this.inspectJbAl2o3List.sheetIndex = null
this.msgSuccess('提交成功') this.msgSuccess('提交成功')
this.resetInspectInfo() this.resetInspectInfo()
this.resetinspectJbAl2o3List() this.resetinspectJbAl2o3List()
......
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