|
|
@@ -1,5 +1,5 @@
|
|
|
<template xmlns:v-slot="http://www.w3.org/1999/XSL/Transform">
|
|
|
- <div v-if="$store.state.user.company.name == '苏州分公司'">
|
|
|
+ <div v-if="false">
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form :model="inputForm" ref="inputForm" v-loading="loading" :class="method === 'view' ? 'readonly' : ''"
|
|
|
@@ -1369,7 +1369,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
if (!this.commonJS.isEmpty(data.status) && data.status == 2) {
|
|
|
- this.handleBoxNumber(data.entrustType)
|
|
|
+ this.handleBoxNumber(data.reportNo)
|
|
|
//将原有审核时间进行处理并同步
|
|
|
//通过reportId获取上一次审核通过时间
|
|
|
const hiData = await this.projectReportArchiveService.getLastAuditDateByReportId(this.inputForm.reportId);
|
|
|
@@ -2059,8 +2059,13 @@ export default {
|
|
|
if (this.$store.state.user.company.name == "苏州分公司") {
|
|
|
return
|
|
|
}
|
|
|
+ if (this.commonJS.isEmpty(value)) {
|
|
|
+ this.boxNumberTips = ''
|
|
|
+ return
|
|
|
+ }
|
|
|
+ let reportType = value.substring(3, 5)
|
|
|
let boxNumberData = await this.projectReportArchiveService.getFileBoxNumber({
|
|
|
- entrustType: value
|
|
|
+ reportType: reportType
|
|
|
})
|
|
|
if (boxNumberData && this.commonJS.isNotEmpty(boxNumberData.number) && this.commonJS.isNotEmpty(boxNumberData.reportNo)) {
|
|
|
this.boxNumberTips = `盒号(${boxNumberData.number}),对应报告文号(${boxNumberData.reportNo})`
|
|
|
@@ -2069,7 +2074,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
handleEntrustTypeChange(value) {
|
|
|
- this.handleBoxNumber(value)
|
|
|
+ // this.handleBoxNumber(value)
|
|
|
}
|
|
|
}
|
|
|
}
|