|
@@ -9,7 +9,7 @@
|
|
|
<th>企业名称</th>
|
|
|
<td>
|
|
|
<el-form-item prop="entName" label-width="0">
|
|
|
- <el-input v-model="form.entName" type="text" placeholder="请输入企业名称" disabled></el-input>
|
|
|
+ <el-input v-model="form.entName" type="text" placeholder="请输入企业名称" :disabled="disabledVisible"></el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
<th><span style="color: red;">*</span>申办加计年度</th>
|
|
@@ -25,7 +25,7 @@
|
|
|
<th>通信地址</th>
|
|
|
<td colspan="3">
|
|
|
<el-form-item prop="address" label-width="0">
|
|
|
- <el-input v-model="form.address" placeholder="请输入通讯地址" disabled></el-input>
|
|
|
+ <el-input v-model="form.address" placeholder="请输入通讯地址" :disabled="disabledVisible"></el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -33,13 +33,13 @@
|
|
|
<th>企业联系人</th>
|
|
|
<td>
|
|
|
<el-form-item prop="linkName" label-width="0">
|
|
|
- <el-input v-model="form.linkName" placeholder="请输入企业联系人" disabled></el-input>
|
|
|
+ <el-input v-model="form.linkName" placeholder="请输入企业联系人" :disabled="disabledVisible"></el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
<th>联系电话(座机)</th>
|
|
|
<td>
|
|
|
<el-form-item prop="linkPhone" label-width="0">
|
|
|
- <el-input v-model="form.linkPhone" type="text" auto-complete="off" placeholder="请输入联系电话(座机)" disabled>
|
|
|
+ <el-input v-model="form.linkPhone" type="text" auto-complete="off" placeholder="请输入联系电话(座机)" :disabled="disabledVisible">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -48,7 +48,7 @@
|
|
|
<th>联系电话(手机)</th>
|
|
|
<td>
|
|
|
<el-form-item prop="linkMobile" label-width="0">
|
|
|
- <el-input v-model="form.linkMobile" type="text" auto-complete="off" placeholder="请输入联系电话(手机)" disabled>
|
|
|
+ <el-input v-model="form.linkMobile" type="text" auto-complete="off" placeholder="请输入联系电话(手机)" :disabled="disabledVisible">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -277,7 +277,8 @@ export default {
|
|
|
techPersons: "",
|
|
|
innovateFlag: false,
|
|
|
totoalPersons: "",
|
|
|
- techFlag: false
|
|
|
+ techFlag: false,
|
|
|
+ techInvest: undefined
|
|
|
},
|
|
|
rules: {
|
|
|
totoalPersons: [
|
|
@@ -315,9 +316,9 @@ export default {
|
|
|
techFlag: [
|
|
|
{ required: true, trigger: "[blur,change]", message: "请选择是否高新技术企业" }
|
|
|
],
|
|
|
- techLicense: [
|
|
|
- { required: true, trigger: "change", message: "请上传高新企业证书" }
|
|
|
- ],
|
|
|
+ // techLicense: [
|
|
|
+ // { required: true, trigger: "change", message: "请上传高新企业证书" }
|
|
|
+ // ],
|
|
|
// licenseTime: [
|
|
|
// { required: true, trigger: "change", message: "请选择证书有效期限" }
|
|
|
// ]
|
|
@@ -359,7 +360,6 @@ export default {
|
|
|
this.yearVisible = true
|
|
|
}
|
|
|
if(this.type == 'year') {
|
|
|
-
|
|
|
this.getEntData()
|
|
|
}
|
|
|
if(this.type == 'update') {
|
|
@@ -389,16 +389,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- synSubmit() {
|
|
|
- this.loading = true
|
|
|
- synTechApi(this.adminId).then(res => {
|
|
|
- this.loading = false
|
|
|
- if(res.code == 200) {
|
|
|
- this.$message.success('已同步完成');
|
|
|
- this.getData()
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
getEntData() {
|
|
|
listEntUserApi().then(res => {
|
|
|
if(res.code == 200) {
|
|
@@ -414,6 +404,7 @@ export default {
|
|
|
getYearData(projectYear) {
|
|
|
getYearDataApi(projectYear, this.entId).then(res => {
|
|
|
this.form = res.data
|
|
|
+ this.form.fileName = '高新证书'
|
|
|
if(this.form.techScope) {
|
|
|
let techScope = this.form.techScope.split(',') || []
|
|
|
this.$set(this.form, 'techScopeArray', techScope)
|
|
@@ -426,14 +417,17 @@ export default {
|
|
|
},
|
|
|
handleYear(e) {
|
|
|
getYearApi(e).then(res => {
|
|
|
- this.form = res.data
|
|
|
- if(this.form.techScope) {
|
|
|
- let techScope = this.form.techScope.split(',') || []
|
|
|
- this.$set(this.form, 'techScopeArray', techScope)
|
|
|
- }
|
|
|
- if(this.form.industry) {
|
|
|
- let industryArray = this.form.industry.split(',') || [];
|
|
|
- this.$set(this.form, 'industryArray', industryArray);
|
|
|
+ if(res.data) {
|
|
|
+ this.form = res.data
|
|
|
+ this.form.fileName = '高新证书'
|
|
|
+ if(this.form.techScope) {
|
|
|
+ let techScope = this.form.techScope.split(',') || []
|
|
|
+ this.$set(this.form, 'techScopeArray', techScope)
|
|
|
+ }
|
|
|
+ if(this.form.industry) {
|
|
|
+ let industryArray = this.form.industry.split(',') || [];
|
|
|
+ this.$set(this.form, 'industryArray', industryArray);
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -475,7 +469,7 @@ export default {
|
|
|
}
|
|
|
if(this.form.licenseTime) {
|
|
|
this.form.techStartDate = this.form.licenseTime.split('至')[0].trim()
|
|
|
- this.form.techEndDate = this.form.licenseTime.split('至').trim()
|
|
|
+ this.form.techEndDate = this.form.licenseTime.split('至')[1].trim()
|
|
|
}else{
|
|
|
this.form.techStartDate = ""
|
|
|
this.form.techEndDate = ""
|