|
@@ -108,12 +108,11 @@
|
|
|
{required: true, message:'请输入审计收费(元)', trigger:'blur'}
|
|
|
]">
|
|
|
<el-input
|
|
|
- type="text"
|
|
|
v-on:input="inputForm.auditMoney=inputForm.auditMoney.replace(/[^\d.]/g,'')
|
|
|
.replace(/^\./g,'')
|
|
|
.replace(/\.{2,}/g,'.')
|
|
|
.replace('.','$#$').replace(/\./g,'').replace('$#$','.')
|
|
|
- .replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
|
|
|
+ .replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3').replace(/^0+/, '0')"
|
|
|
v-model="inputForm.auditMoney"
|
|
|
controls-position="right"
|
|
|
:controls="false"
|
|
@@ -644,6 +643,7 @@
|
|
|
this.inputForm.id = id
|
|
|
this.loading = false
|
|
|
this.$nextTick(() => {
|
|
|
+ console.log(this.inputForm.id)
|
|
|
this.$refs.inputForm.resetFields()
|
|
|
this.loading = true
|
|
|
this.projectReportArchiveService.queryById(this.inputForm.id).then((data) => {
|
|
@@ -1050,8 +1050,8 @@
|
|
|
this.dialogTableVisible=true
|
|
|
|
|
|
},
|
|
|
- getReportList(id){
|
|
|
- console.log(id)
|
|
|
+ getReportList(){
|
|
|
+ console.log(this.inputForm.id)
|
|
|
ProjectRecordsService.getReportById({
|
|
|
id:this.inputForm.id,
|
|
|
cwProjectRecordsDTO:this.searchForm
|
|
@@ -1118,9 +1118,13 @@
|
|
|
this.dialogTableVisible = false
|
|
|
},
|
|
|
inputMoney(){
|
|
|
- if (this.inputForm.auditMoney==0 || this.inputForm.auditMoney==''){
|
|
|
- this.isShow=!this.isShow
|
|
|
- this.inputForm.connectReport=''
|
|
|
+ // if (/^0+$/.test(this.inputForm.auditMoney)) {
|
|
|
+ // this.inputForm.auditMoney = "0";
|
|
|
+ // }
|
|
|
+ if (this.inputForm.auditMoney==='0'){
|
|
|
+ this.isShow=true
|
|
|
+ }else {
|
|
|
+ this.isShow=false
|
|
|
}
|
|
|
}
|
|
|
}
|