|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
|
<div class="sign_box">
|
|
|
+
|
|
|
<el-form label-position="right" ref="form" :rules="rules" :model="form" label-width="80px">
|
|
|
<el-row :gutter="10" class="mb8 roiyy">
|
|
|
<el-col :span="1.5" v-if="setrd % 2 == 1">
|
|
@@ -1355,18 +1356,149 @@
|
|
|
});
|
|
|
},
|
|
|
submitForm() {
|
|
|
+ console.log(344,this.form)
|
|
|
+ if(this.form.orderDate == ""){
|
|
|
+ this.msgError("请选择签约日期");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.investmentType == ''){
|
|
|
+ this.msgError("请选择投资方式");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.totInvestment == ''){
|
|
|
+ this.msgError("请输入总投资额度");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.overseasInvestment == ''){
|
|
|
+ this.msgError("请输入境外投资");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.isIndependentLan == ''){
|
|
|
+ this.msgError("请选择是否独立供地");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.agreementTot == ''){
|
|
|
+ this.msgError("请输入合同约定产值");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.agreementTax == ''){
|
|
|
+ this.msgError("请输入合同约定税收");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.agreementStartdate == ''){
|
|
|
+ this.msgError("请选择合同约定开工时间");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.agreementEnddate == ''){
|
|
|
+ this.msgError("请选择合同约定竣工时间");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.agreementPartner == ''){
|
|
|
+ this.msgError("请输入合同签约对方");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.partner == ''){
|
|
|
+ this.msgError("请输入对方合同签约人");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.partnerJob == ''){
|
|
|
+ this.msgError("请输入对方职务信息");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.usJob == ''){
|
|
|
+ this.msgError("请输入我方职务信息");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.agreementUs == ''){
|
|
|
+ this.msgError("请输入合同签约我方");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.signUs == ''){
|
|
|
+ this.msgError("请输入我方合同签约人");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.agreementUrl.length == 0){
|
|
|
+ this.msgError("请上传合同文本");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.name == ''){
|
|
|
+ this.msgError("请输入在潜注册公司名称");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.legalRep == ''){
|
|
|
+ this.msgError("请输入法定代表人");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.totMoney == ''){
|
|
|
+ this.msgError("请输入注册资本金");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.address == ''){
|
|
|
+ this.msgError("请输入注册地址");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.code == undefined){
|
|
|
+ this.msgError("请输入统一社会信用代码");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.bussinessUrl.length ==0){
|
|
|
+ this.msgError("请上传营业执照");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.recordName == undefined){
|
|
|
+ this.msgError("请输入备案单位");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.recordCode == ''){
|
|
|
+ this.msgError("请输入备案文号");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.recordTot == ''){
|
|
|
+ this.msgError("请输入备案总投资额");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.recordTime == ''){
|
|
|
+ this.msgError("请输入备案建设周期");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.recordUrl.length ==0){
|
|
|
+ this.msgError("请上传备案表信息");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.contactLeader == ''){
|
|
|
+ this.msgError("请输入联系领导");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.contactPhone == ''){
|
|
|
+ this.msgError("请输入联系方式");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.contactCompany == ''){
|
|
|
+ this.msgError("请输入责任单位");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.contactPerson == ''){
|
|
|
+ this.msgError("请输入责任人");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.form.contactPersonPhone == ''){
|
|
|
+ this.msgError("请输入责任人联系方式");
|
|
|
+ return false
|
|
|
+ }
|
|
|
this.$refs["form"].validate((valid) => {
|
|
|
if (valid) {
|
|
|
let zNum = (this.form.overseasInvestment-0)+ (this.form.jnswInvestm-0)+ (this.form.snswInvestm-0)+ (this.form.snxwInvestm-0)+ (this.form.xnInvestm-0)
|
|
|
- console.log(this.form.totInvestment,zNum)
|
|
|
+ console.log(this.form.totInvestment,zNum,765)
|
|
|
+ // if (this.total == 0) {
|
|
|
+ // this.msgError("企业股东不能为空,请上传企业股东");
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+
|
|
|
if (this.form.totInvestment != zNum) {
|
|
|
this.msgError("请重新填写总投资额,总投资额度与其他投资数总和不等");
|
|
|
return;
|
|
|
}
|
|
|
- if (this.total == 0) {
|
|
|
- this.msgError("企业股东不能为空,请上传企业股东");
|
|
|
- return;
|
|
|
- }
|
|
|
+
|
|
|
let data = JSON.parse(JSON.stringify(this.form));
|
|
|
data.isOutInvestment = Number(data.isOutInvestment)
|
|
|
data.agreementUrl = data.agreementUrl.join(",");
|