|
@@ -5,7 +5,7 @@
|
|
|
|
|
|
<el-form :model="inputForm" ref="inputForm2" v-loading="loading"
|
|
|
:class="method === 'view' ? 'readonly' : ''"
|
|
|
- :disabled="status === 'audit' || status === 'taskFormDetail'" label-width="135px"
|
|
|
+ :disabled="status === 'audit' || status === 'taskFormDetail'" label-width="170px"
|
|
|
@submit.native.prevent>
|
|
|
<el-divider content-position="left"><i class="el-icon-document"></i> 项目信息</el-divider>
|
|
|
<el-row :gutter="0">
|
|
@@ -236,6 +236,29 @@
|
|
|
.replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^0+/, '0')" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="银行函证发出数量(单位:份)" prop="bankLettersCount" :rules="[
|
|
|
+ { required: true, message: '银行函证发出数量不能为空', trigger: 'change' }
|
|
|
+ ]">
|
|
|
+ <el-input v-model="inputForm.bankLettersCount" placeholder="请填写银行函证发出数量(单位:份)"
|
|
|
+ v-on:input="inputForm.bankLettersCount = inputForm.bankLettersCount
|
|
|
+ .replace(/[^\d]/g, '')
|
|
|
+ .replace(/^0+(?=\d)/, '')" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="其中采用数字函证发函数量(单位:份)" prop="digitalLetterCount" :rules="[
|
|
|
+ { required: true, message: '数字函证发函数量不能为空', trigger: 'change' }
|
|
|
+ ]">
|
|
|
+ <el-input v-model="inputForm.digitalLetterCount" placeholder="请填写其中采用数字函证发函数量(单位:份)"
|
|
|
+ v-on:input="inputForm.digitalLetterCount = inputForm.digitalLetterCount
|
|
|
+ .replace(/[^\d]/g, '')
|
|
|
+ .replace(/^0+(?=\d)/, '')" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="所属行业" prop="industry" :rules="[
|
|
|
{ required: true, message: '所属行业不能为空', trigger: 'change' }
|
|
@@ -593,7 +616,9 @@ export default {
|
|
|
invoiceNumber: '',
|
|
|
isCompleteInvoice: '',
|
|
|
approvedIncludingTax: '',
|
|
|
- approvedNoIncludingTax: ''
|
|
|
+ approvedNoIncludingTax: '',
|
|
|
+ bankLettersCount: "0",
|
|
|
+ digitalLetterCount: "0",
|
|
|
},
|
|
|
keyWatch: '',
|
|
|
activeName: 'enclosure',
|
|
@@ -756,7 +781,9 @@ export default {
|
|
|
invoiceNumber: '',
|
|
|
isCompleteInvoice: '',
|
|
|
approvedIncludingTax: '',
|
|
|
- approvedNoIncludingTax: ''
|
|
|
+ approvedNoIncludingTax: '',
|
|
|
+ bankLettersCount: "0",
|
|
|
+ digitalLetterCount: "0",
|
|
|
}
|
|
|
this.inputForm.id = id
|
|
|
this.loading = false
|
|
@@ -770,6 +797,12 @@ export default {
|
|
|
// this.$refs.uploadComponent.clearUpload()
|
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
|
this.inputForm = JSON.parse(JSON.stringify(this.inputForm))
|
|
|
+ if (!this.inputForm.bankLettersCount || this.inputForm.bankLettersCount == "") {
|
|
|
+ this.inputForm.bankLettersCount = "0"
|
|
|
+ }
|
|
|
+ if (!this.inputForm.digitalLetterCount || this.inputForm.digitalLetterCount == "") {
|
|
|
+ this.inputForm.digitalLetterCount = "0"
|
|
|
+ }
|
|
|
console.log('in', this.inputForm)
|
|
|
this.searchForm.programId = data.projectId
|
|
|
if (this.commonJS.isEmpty(this.inputForm.createDate)) {
|