|
|
@@ -2094,6 +2094,7 @@ export default {
|
|
|
this.$refs.inputForm.validateField('signatureAnnotator1Name')
|
|
|
this.$refs.inputForm.validateField('signatureAnnotator2Name')
|
|
|
},
|
|
|
+ //获取盒号提示信息
|
|
|
async handleBoxNumber(value) {
|
|
|
if (this.$store.state.user.company.name == "苏州分公司") {
|
|
|
return
|
|
|
@@ -2103,8 +2104,10 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
let reportType = value.substring(3, 5)
|
|
|
+ let year = value.match(/\[(\d{4})\]/)?.[1];
|
|
|
let boxNumberData = await this.projectReportArchiveService.getFileBoxNumber({
|
|
|
- reportType: reportType
|
|
|
+ reportType: reportType,
|
|
|
+ year: year
|
|
|
})
|
|
|
if (boxNumberData && this.commonJS.isNotEmpty(boxNumberData.number) && this.commonJS.isNotEmpty(boxNumberData.reportNo)) {
|
|
|
this.boxNumberTips = `盒号(${boxNumberData.number}),对应报告文号(${boxNumberData.reportNo})`
|