|
|
@@ -43,9 +43,9 @@
|
|
|
<el-input :class="changedForm['SupplierName'] ? 'modified-form-input' : ''"
|
|
|
v-model="formData.SupplierName" :maxlength="255" placeholder="请输入" style="width: 100%" :readonly="InfoStatus > 0 || butnab">
|
|
|
</el-input>
|
|
|
-<!-- <el-input v-model="formData.SupplierName" :maxlength="255" @change="inputCompanyName"-->
|
|
|
-<!-- placeholder="请输入" style="width: 100%" v-if="!authUser || authUser.Profile.IsCompanyUser == 0" :readonly="InfoStatus > 0 || butnab">-->
|
|
|
-<!-- </el-input>-->
|
|
|
+ <!--<el-input v-model="formData.SupplierName" :maxlength="255" @change="inputCompanyName"-->
|
|
|
+ <!-- placeholder="请输入" style="width: 100%" v-if="!authUser || authUser.Profile.IsCompanyUser == 0" :readonly="InfoStatus > 0 || butnab">-->
|
|
|
+ <!--</el-input>-->
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
@@ -2124,69 +2124,69 @@
|
|
|
},
|
|
|
getSupplierCert () {
|
|
|
supplierapi.getSupplierCert(this.supplierId, this.$axios).then(res => {
|
|
|
- this.certList = res.data.items
|
|
|
- if (this.certList.length > 0) {
|
|
|
- for (let i = 0; i < this.certList.length; i++) {
|
|
|
- if (this.certList[i].SupplierTypeCode == '01') {
|
|
|
- this.CertId1 = this.certList[i].Id
|
|
|
- this.formDataCert1.WorkerTotal = this.certList[i].WorkerTotal
|
|
|
- this.formDataCert1.ContractNum = this.certList[i].ContractNum
|
|
|
- this.formDataCert1.UniversityNum = this.certList[i].UniversityNum
|
|
|
- this.formDataCert1.TechnicalNum = this.certList[i].TechnicalNum
|
|
|
- this.formDataCert1.AboveProfNum = this.certList[i].AboveProfNum
|
|
|
- this.formDataCert1.MiddleProfNum = this.certList[i].MiddleProfNum
|
|
|
- this.formDataCert1.NationalRegNum = this.certList[i].NationalRegNum
|
|
|
- this.formDataCert1.NationalCertTotal = this.certList[i].NationalCertTotal
|
|
|
- this.formDataCert1.DesignerTotal = this.certList[i].DesignerTotal
|
|
|
- this.formDataCert1.SkillerTotal = this.certList[i].SkillerTotal
|
|
|
- this.formDataCert1.Status = this.certList[i].Status
|
|
|
- this.formDataCert1.WorkflowId = this.certList[i].WorkflowId
|
|
|
- this.$refs['equipmentList1'].getvalue(0, '01', this.certList[i].Id)
|
|
|
- this.$refs['performanceList1'].getvalue(0, '01', this.certList[i].Id)
|
|
|
- this.$refs['patentList1'].getvalue(0, '01', this.certList[i].Id)
|
|
|
- this.$refs['winningList1'].getvalue(0, '01', this.certList[i].Id)
|
|
|
- this.$refs['manufacturerList'].getvalue(this.certList[i].Id)
|
|
|
- }
|
|
|
- if (this.certList[i].SupplierTypeCode == '02') {
|
|
|
- this.CertId2 = this.certList[i].Id
|
|
|
- this.formDataCert2.WorkerTotal = this.certList[i].WorkerTotal
|
|
|
- this.formDataCert2.ContractNum = this.certList[i].ContractNum
|
|
|
- this.formDataCert2.UniversityNum = this.certList[i].UniversityNum
|
|
|
- this.formDataCert2.TechnicalNum = this.certList[i].TechnicalNum
|
|
|
- this.formDataCert2.AboveProfNum = this.certList[i].AboveProfNum
|
|
|
- this.formDataCert2.MiddleProfNum = this.certList[i].MiddleProfNum
|
|
|
- this.formDataCert2.NationalRegNum = this.certList[i].NationalRegNum
|
|
|
- this.formDataCert2.NationalCertTotal = this.certList[i].NationalCertTotal
|
|
|
- this.formDataCert2.DesignerTotal = this.certList[i].DesignerTotal
|
|
|
- this.formDataCert2.SkillerTotal = this.certList[i].SkillerTotal
|
|
|
- this.formDataCert2.Status = this.certList[i].Status
|
|
|
- this.formDataCert2.WorkflowId = this.certList[i].WorkflowId
|
|
|
- this.$refs['equipmentList2'].getvalue(0, '02', this.certList[i].Id)
|
|
|
- this.$refs['performanceList2'].getvalue(0, '02', this.certList[i].Id)
|
|
|
- this.$refs['patentList2'].getvalue(0, '02', this.certList[i].Id)
|
|
|
- this.$refs['winningList2'].getvalue(0, '02', this.certList[i].Id)
|
|
|
- }
|
|
|
- if (this.certList[i].SupplierTypeCode == '03') {
|
|
|
- this.CertId3 = this.certList[i].Id
|
|
|
- this.formDataCert3.WorkerTotal = this.certList[i].WorkerTotal
|
|
|
- this.formDataCert3.ContractNum = this.certList[i].ContractNum
|
|
|
- this.formDataCert3.UniversityNum = this.certList[i].UniversityNum
|
|
|
- this.formDataCert3.TechnicalNum = this.certList[i].TechnicalNum
|
|
|
- this.formDataCert3.AboveProfNum = this.certList[i].AboveProfNum
|
|
|
- this.formDataCert3.MiddleProfNum = this.certList[i].MiddleProfNum
|
|
|
- this.formDataCert3.NationalRegNum = this.certList[i].NationalRegNum
|
|
|
- this.formDataCert3.NationalCertTotal = this.certList[i].NationalCertTotal
|
|
|
- this.formDataCert3.DesignerTotal = this.certList[i].DesignerTotal
|
|
|
- this.formDataCert3.SkillerTotal = this.certList[i].SkillerTotal
|
|
|
- this.formDataCert3.Status = this.certList[i].Status
|
|
|
- this.formDataCert3.WorkflowId = this.certList[i].WorkflowId
|
|
|
- this.$refs['equipmentList3'].getvalue(0, '03', this.certList[i].Id)
|
|
|
- this.$refs['performanceList3'].getvalue(0, '03', this.certList[i].Id)
|
|
|
- this.$refs['patentList3'].getvalue(0, '03', this.certList[i].Id)
|
|
|
- this.$refs['winningList3'].getvalue(0, '03', this.certList[i].Id)
|
|
|
- }
|
|
|
+ this.certList = res.data.items
|
|
|
+ if (this.certList.length > 0) {
|
|
|
+ for (let i = 0; i < this.certList.length; i++) {
|
|
|
+ if (this.certList[i].SupplierTypeCode == '01') {
|
|
|
+ this.CertId1 = this.certList[i].Id
|
|
|
+ this.formDataCert1.WorkerTotal = this.certList[i].WorkerTotal
|
|
|
+ this.formDataCert1.ContractNum = this.certList[i].ContractNum
|
|
|
+ this.formDataCert1.UniversityNum = this.certList[i].UniversityNum
|
|
|
+ this.formDataCert1.TechnicalNum = this.certList[i].TechnicalNum
|
|
|
+ this.formDataCert1.AboveProfNum = this.certList[i].AboveProfNum
|
|
|
+ this.formDataCert1.MiddleProfNum = this.certList[i].MiddleProfNum
|
|
|
+ this.formDataCert1.NationalRegNum = this.certList[i].NationalRegNum
|
|
|
+ this.formDataCert1.NationalCertTotal = this.certList[i].NationalCertTotal
|
|
|
+ this.formDataCert1.DesignerTotal = this.certList[i].DesignerTotal
|
|
|
+ this.formDataCert1.SkillerTotal = this.certList[i].SkillerTotal
|
|
|
+ this.formDataCert1.Status = this.certList[i].Status
|
|
|
+ this.formDataCert1.WorkflowId = this.certList[i].WorkflowId
|
|
|
+ this.$refs['equipmentList1'].getvalue(0, '01', this.certList[i].Id)
|
|
|
+ this.$refs['performanceList1'].getvalue(0, '01', this.certList[i].Id)
|
|
|
+ this.$refs['patentList1'].getvalue(0, '01', this.certList[i].Id)
|
|
|
+ this.$refs['winningList1'].getvalue(0, '01', this.certList[i].Id)
|
|
|
+ this.$refs['manufacturerList'].getvalue(this.certList[i].Id)
|
|
|
+ }
|
|
|
+ if (this.certList[i].SupplierTypeCode == '02') {
|
|
|
+ this.CertId2 = this.certList[i].Id
|
|
|
+ this.formDataCert2.WorkerTotal = this.certList[i].WorkerTotal
|
|
|
+ this.formDataCert2.ContractNum = this.certList[i].ContractNum
|
|
|
+ this.formDataCert2.UniversityNum = this.certList[i].UniversityNum
|
|
|
+ this.formDataCert2.TechnicalNum = this.certList[i].TechnicalNum
|
|
|
+ this.formDataCert2.AboveProfNum = this.certList[i].AboveProfNum
|
|
|
+ this.formDataCert2.MiddleProfNum = this.certList[i].MiddleProfNum
|
|
|
+ this.formDataCert2.NationalRegNum = this.certList[i].NationalRegNum
|
|
|
+ this.formDataCert2.NationalCertTotal = this.certList[i].NationalCertTotal
|
|
|
+ this.formDataCert2.DesignerTotal = this.certList[i].DesignerTotal
|
|
|
+ this.formDataCert2.SkillerTotal = this.certList[i].SkillerTotal
|
|
|
+ this.formDataCert2.Status = this.certList[i].Status
|
|
|
+ this.formDataCert2.WorkflowId = this.certList[i].WorkflowId
|
|
|
+ this.$refs['equipmentList2'].getvalue(0, '02', this.certList[i].Id)
|
|
|
+ this.$refs['performanceList2'].getvalue(0, '02', this.certList[i].Id)
|
|
|
+ this.$refs['patentList2'].getvalue(0, '02', this.certList[i].Id)
|
|
|
+ this.$refs['winningList2'].getvalue(0, '02', this.certList[i].Id)
|
|
|
+ }
|
|
|
+ if (this.certList[i].SupplierTypeCode == '03') {
|
|
|
+ this.CertId3 = this.certList[i].Id
|
|
|
+ this.formDataCert3.WorkerTotal = this.certList[i].WorkerTotal
|
|
|
+ this.formDataCert3.ContractNum = this.certList[i].ContractNum
|
|
|
+ this.formDataCert3.UniversityNum = this.certList[i].UniversityNum
|
|
|
+ this.formDataCert3.TechnicalNum = this.certList[i].TechnicalNum
|
|
|
+ this.formDataCert3.AboveProfNum = this.certList[i].AboveProfNum
|
|
|
+ this.formDataCert3.MiddleProfNum = this.certList[i].MiddleProfNum
|
|
|
+ this.formDataCert3.NationalRegNum = this.certList[i].NationalRegNum
|
|
|
+ this.formDataCert3.NationalCertTotal = this.certList[i].NationalCertTotal
|
|
|
+ this.formDataCert3.DesignerTotal = this.certList[i].DesignerTotal
|
|
|
+ this.formDataCert3.SkillerTotal = this.certList[i].SkillerTotal
|
|
|
+ this.formDataCert3.Status = this.certList[i].Status
|
|
|
+ this.formDataCert3.WorkflowId = this.certList[i].WorkflowId
|
|
|
+ this.$refs['equipmentList3'].getvalue(0, '03', this.certList[i].Id)
|
|
|
+ this.$refs['performanceList3'].getvalue(0, '03', this.certList[i].Id)
|
|
|
+ this.$refs['patentList3'].getvalue(0, '03', this.certList[i].Id)
|
|
|
+ this.$refs['winningList3'].getvalue(0, '03', this.certList[i].Id)
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
})
|
|
|
@@ -2195,16 +2195,16 @@
|
|
|
updateNumberEntity1 () {
|
|
|
if (this.formDataCert1.TechnicalNum > this.formDataCert1.WorkerTotal) {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '技术、管理人员数量不能大于员工总数!'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
if (this.formDataCert1.SkillerTotal > this.formDataCert1.WorkerTotal) {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '技术工人总数不能大于员工总数!'
|
|
|
})
|
|
|
return
|
|
|
@@ -2217,16 +2217,16 @@
|
|
|
// 保存成功后,初始化数据,变成修改
|
|
|
this.getSupplierCert()
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'success',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
@@ -2239,16 +2239,16 @@
|
|
|
updateNumberEntity2 () {
|
|
|
if (this.formDataCert2.TechnicalNum > this.formDataCert2.WorkerTotal) {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '技术、管理人员数量不能大于员工总数!'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
if (this.formDataCert2.SkillerTotal > this.formDataCert2.WorkerTotal) {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '技术工人总数不能大于员工总数!'
|
|
|
})
|
|
|
return
|
|
|
@@ -2261,16 +2261,16 @@
|
|
|
// 保存成功后,初始化数据,变成修改
|
|
|
this.getSupplierCert()
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'success',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
@@ -2283,16 +2283,16 @@
|
|
|
updateNumberEntity3 () {
|
|
|
if (this.formDataCert3.TechnicalNum > this.formDataCert3.WorkerTotal) {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '技术、管理人员数量不能大于员工总数!'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
if (this.formDataCert3.SkillerTotal > this.formDataCert3.WorkerTotal) {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '技术工人总数不能大于员工总数!'
|
|
|
})
|
|
|
return
|
|
|
@@ -2305,16 +2305,16 @@
|
|
|
// 保存成功后,初始化数据,变成修改
|
|
|
this.getSupplierCert()
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'success',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
@@ -2330,19 +2330,19 @@
|
|
|
let month = date.getMonth() + 1
|
|
|
let day = date.getDate()
|
|
|
if (month < 10) {
|
|
|
- month = "0" + month
|
|
|
+ month = '0' + month
|
|
|
}
|
|
|
if (day < 10) {
|
|
|
- day = "0" + day
|
|
|
+ day = '0' + day
|
|
|
}
|
|
|
- return year + "-" + month + "-" + day
|
|
|
+ return year + '-' + month + '-' + day
|
|
|
},
|
|
|
changeFile (fileName) {
|
|
|
- if (fileName === "招标中标结果") {
|
|
|
- this.SubfileForm.EffectDate = this.addDate() + "T08:00:00+08:00"
|
|
|
+ if (fileName === '招标中标结果') {
|
|
|
+ this.SubfileForm.EffectDate = this.addDate() + 'T08:00:00+08:00'
|
|
|
this.dateDisable = true
|
|
|
} else {
|
|
|
- this.SubfileForm.EffectDate = ""
|
|
|
+ this.SubfileForm.EffectDate = ''
|
|
|
this.dateDisable = false
|
|
|
}
|
|
|
},
|
|
|
@@ -2365,7 +2365,7 @@
|
|
|
},
|
|
|
checkFileUrl (urlString) {
|
|
|
let urlArr = urlString.split('$')
|
|
|
- if (urlArr.length > 1 ) {
|
|
|
+ if (urlArr.length > 1) {
|
|
|
return true
|
|
|
} else {
|
|
|
return false
|
|
|
@@ -2414,16 +2414,16 @@
|
|
|
this.getsubfile2()
|
|
|
this.getsubfile3()
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'success',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
})
|
|
|
@@ -2445,16 +2445,16 @@
|
|
|
this.getsubfile2()
|
|
|
this.getsubfile3()
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'success',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
})
|
|
|
@@ -2463,16 +2463,16 @@
|
|
|
companySubmitToSecUnitSeparate () {
|
|
|
if (this.UnitOrg === '') {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '请选择分办单位!'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
if (this.orgauditOptions == null || this.orgauditOptions.length === 0) {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '该单位未配置分办人!'
|
|
|
})
|
|
|
return
|
|
|
@@ -2494,16 +2494,16 @@
|
|
|
this.ComAuditdialogShow = false
|
|
|
this.butnab = true
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'success',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
}
|
|
|
this.btnloading = false
|
|
|
}).catch(err => {
|
|
|
@@ -2759,7 +2759,7 @@
|
|
|
let fileurl = fileurlall.split('|')
|
|
|
if (fileurl[1] != null && fileurl[1] != '' && fileurl[1] != undefined) {
|
|
|
let Format = fileurl[1].split('.')
|
|
|
- if (Format[1] != null && Format[1] !='' && Format[1] != undefined) {
|
|
|
+ if (Format[1] != null && Format[1] != '' && Format[1] != undefined) {
|
|
|
let pictureFormat = Format[1]
|
|
|
if (pictureFormat == 'jpg' || pictureFormat == 'bmp' || pictureFormat == 'png' || pictureFormat == 'gif' || pictureFormat == 'jpeg') {
|
|
|
return false
|
|
|
@@ -2926,7 +2926,7 @@
|
|
|
}
|
|
|
_.forEach(newValue, function (value, key) {
|
|
|
if (_this.copyformdata[key] !== value) {
|
|
|
- console.log(key,_this.copyformdata[key], value, 'DADA')
|
|
|
+ console.log(key, _this.copyformdata[key], value, 'DADA')
|
|
|
_this.changedForm[key] = true
|
|
|
_this.infochangeForm = {}
|
|
|
_this.infochangeForm.SelectItem = key
|
|
|
@@ -3044,8 +3044,8 @@
|
|
|
_this.addqualchange()
|
|
|
} else {
|
|
|
_this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '请上传文件!'
|
|
|
})
|
|
|
}
|
|
|
@@ -3063,8 +3063,8 @@
|
|
|
_this.editqualchange()
|
|
|
} else {
|
|
|
_this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '请上传文件!'
|
|
|
})
|
|
|
}
|
|
|
@@ -3151,7 +3151,7 @@
|
|
|
},
|
|
|
initTableHeader (code) {
|
|
|
if (code === '01') {
|
|
|
- setapi.initGoodTableHeader('',this.$axios).then(res => {
|
|
|
+ setapi.initGoodTableHeader('', this.$axios).then(res => {
|
|
|
this.dynamicTableColumns = res.data.items
|
|
|
})
|
|
|
} else if (code === '02') {
|
|
|
@@ -3190,8 +3190,8 @@
|
|
|
},
|
|
|
openDialog (val) {
|
|
|
this.IsMust = true
|
|
|
- if (val.NeedFileType === "招标中标结果") {
|
|
|
- this.SubfileForm.EffectDate = this.addDate() + "T08:00:00+08:00"
|
|
|
+ if (val.NeedFileType === '招标中标结果') {
|
|
|
+ this.SubfileForm.EffectDate = this.addDate() + 'T08:00:00+08:00'
|
|
|
this.dateDisable = true
|
|
|
} else {
|
|
|
let effectDate = this.jsEffectDate(val.EffectDate)
|
|
|
@@ -3252,18 +3252,18 @@
|
|
|
let isLt10m = file.size / 1024 / 1024 / 100 < 1
|
|
|
if (!isLt10m) {
|
|
|
this.$message.error({
|
|
|
- duration: 10000,
|
|
|
- message: '上传文件大小不能超过 100MB!'
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ message: '上传文件大小不能超过 100MB!'
|
|
|
+ })
|
|
|
return false
|
|
|
}
|
|
|
return true
|
|
|
} else {
|
|
|
if (file.name.indexOf('.rar') < 0 && file.name.indexOf('.zip') < 0) {
|
|
|
this.$message.error({
|
|
|
- duration: 10000,
|
|
|
- message: '文件格式必须为rar或zip'
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ message: '文件格式必须为rar或zip'
|
|
|
+ })
|
|
|
return false
|
|
|
}
|
|
|
return true
|
|
|
@@ -3289,16 +3289,16 @@
|
|
|
uploadajax(option)
|
|
|
} else {
|
|
|
_this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '未上传成功!请刷新界面重新上传!'
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
.catch(function (error) {
|
|
|
_this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '未上传成功!请重新上传!'
|
|
|
})
|
|
|
})
|
|
|
@@ -3426,8 +3426,8 @@
|
|
|
supplierapi.checkBack(this.formData.BankAccount, this.formData.Id, this.$axios).then(res => {
|
|
|
if (res.data.item) {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '该银行账号与其他公司重复'
|
|
|
})
|
|
|
this.saveLoading = false
|
|
|
@@ -3444,10 +3444,10 @@
|
|
|
resolve(true)
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
this.saveLoading = false
|
|
|
return resolve(false)
|
|
|
}
|
|
|
@@ -3488,10 +3488,10 @@
|
|
|
this.saveLoading = false
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
this.saveLoading = false
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
@@ -3558,8 +3558,8 @@
|
|
|
for (let idx in this.subfileList1) {
|
|
|
if (this.subfileList1[idx].OldFileUrl === '' && this.subfileList1[idx].FileUrl === '') {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: this.subfileList1[idx].NeedFileType + '没有上传,不能提交!'
|
|
|
})
|
|
|
return
|
|
|
@@ -3598,8 +3598,8 @@
|
|
|
for (let idx in this.subfileList1) {
|
|
|
if (this.subfileList1[idx].OldFileUrl === '' && this.subfileList1[idx].FileUrl === '') {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: this.subfileList1[idx].NeedFileType + '没有上传,不能提交!'
|
|
|
})
|
|
|
return
|
|
|
@@ -3624,16 +3624,16 @@
|
|
|
console.log('二级分办单位,确认提交审批')
|
|
|
if (this.auditer === '') {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '请选择初审人!'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
if (this.fushenauditer === '') {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '请选择复审人!'
|
|
|
})
|
|
|
return
|
|
|
@@ -3657,16 +3657,16 @@
|
|
|
this.commitshow = false
|
|
|
this.butnab = true
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'success',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
}
|
|
|
this.btnloading = false
|
|
|
}).catch(err => {
|
|
|
@@ -3683,16 +3683,16 @@
|
|
|
if (res.data.code === 0) {
|
|
|
this.initDatas()
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'success',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|