Commit 4bb435a3 by 尹亚亭

111

parent 9b534556
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
</div> </div>
<div class="cell-group"> <div class="cell-group">
<span> <span>
<!-- <span>*</span> --> <span>*</span>
经营范围: 经营范围:
</span> </span>
<el-input type="textarea" :rows="3" placeholder="请自定义输入公司经营范围,每个经营项以“ ;”隔开" v-model="scope"></el-input> <el-input type="textarea" :rows="3" placeholder="请自定义输入公司经营范围,每个经营项以“ ;”隔开" v-model="scope"></el-input>
...@@ -384,7 +384,6 @@ export default { ...@@ -384,7 +384,6 @@ export default {
this.$message("公司注册地区市区不能为空"); this.$message("公司注册地区市区不能为空");
return; return;
} }
if (this.taxpayerValue == "") { if (this.taxpayerValue == "") {
this.$message("公司注册纳税人类型不能为空"); this.$message("公司注册纳税人类型不能为空");
return; return;
...@@ -401,6 +400,10 @@ export default { ...@@ -401,6 +400,10 @@ export default {
this.$message("公司注册从事行业不能为空"); this.$message("公司注册从事行业不能为空");
return; return;
} }
if (this.scope == "") {
this.$message("公司注册经营范围不能为空");
return;
}
console.log( console.log(
"按提交按钮的提交前的参数:", "按提交按钮的提交前的参数:",
......
...@@ -440,36 +440,31 @@ export default { ...@@ -440,36 +440,31 @@ export default {
closeCompanyAddDialog(childPassedClose) { closeCompanyAddDialog(childPassedClose) {
console.log(childPassedClose); console.log(childPassedClose);
this.companyAddDialog = childPassedClose; this.companyAddDialog = childPassedClose;
}, }, // 公司注册添加对话框子组件传来的关闭值
closeCloudCompanyAddDialog(childPassedClose) { closeCloudCompanyAddDialog(childPassedClose) {
this.cloudCompanyAddDialog = childPassedClose; this.cloudCompanyAddDialog = childPassedClose;
}, }, // 云公司注册添加对话框子组件传来的关闭值
addCompany() { addCompany() {
console.log("公司注册--添加--详情--test");
this.companyAddDialog = true; this.companyAddDialog = true;
}, // 公司注册添加 }, // 公司注册添加
addCloudCompany() { addCloudCompany() {
console.log("云上公司注册--添加--详情--test");
this.cloudCompanyAddDialog = true; this.cloudCompanyAddDialog = true;
// this.cloudDetailDialog = true;
}, // 云上公司注册添加 }, // 云上公司注册添加
handleClick(tab, event) { handleClick(tab, event) {
console.log(tab, event); console.log(tab, event);
if (tab.name == "1") { if (tab.name == "1") {
this.haveChoosedTab = 1; this.haveChoosedTab = 1;
console.log("公司注册");
} }
if (tab.name == "2") { if (tab.name == "2") {
this.haveChoosedTab = 2; this.haveChoosedTab = 2;
console.log("云上公司注册");
} }
this.getListData(); this.getListData();
}, },
toDetails(idx, row) { toDetails(idx, row) {
console.log(row, "////////////////////////////"); console.log(row, "////////////////////////////");
this.detailsNeedNo = row.needNo; this.detailsNeedNo = row.needNo; // 向详情子组件传递needNo
this.itemRowNo = row.solutionNo; this.itemRowNo = row.solutionNo; // 向详情子组件传递solutionNo
if (this.haveChoosedTab == 1) { if (this.haveChoosedTab == 1) {
this.companyDetailDialog = true; this.companyDetailDialog = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment