|
@@ -123,6 +123,13 @@
|
|
class="page-form-input"
|
|
class="page-form-input"
|
|
@change="edited = true" />
|
|
@change="edited = true" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item label="税务登记号"
|
|
|
|
+ prop="compImo">
|
|
|
|
+ <el-input v-model="ruleForm.compImo"
|
|
|
|
+ @change="edited = true"
|
|
|
|
+ size="small"
|
|
|
|
+ class="page-form-input" />
|
|
|
|
+ </el-form-item>
|
|
<el-form-item label="合同时间"
|
|
<el-form-item label="合同时间"
|
|
prop="contractStartDate">
|
|
prop="contractStartDate">
|
|
<el-date-picker v-model="ruleForm.contractStartDate"
|
|
<el-date-picker v-model="ruleForm.contractStartDate"
|
|
@@ -241,7 +248,9 @@ import {
|
|
tenantDetail,
|
|
tenantDetail,
|
|
plugins,
|
|
plugins,
|
|
activablePlugins,
|
|
activablePlugins,
|
|
- activate
|
|
|
|
|
|
+ activate,
|
|
|
|
+ tenantChangeshipNumber,
|
|
|
|
+ tenantcompIpm
|
|
} from "../../api/lessee";
|
|
} from "../../api/lessee";
|
|
import { validPhone, validEmail, isNumber } from "../../utils/validate";
|
|
import { validPhone, validEmail, isNumber } from "../../utils/validate";
|
|
|
|
|
|
@@ -288,7 +297,9 @@ export default {
|
|
rowMsg: "",
|
|
rowMsg: "",
|
|
showlist: "",
|
|
showlist: "",
|
|
tenantId: "",
|
|
tenantId: "",
|
|
- ruleForm: {},
|
|
|
|
|
|
+ ruleForm: {
|
|
|
|
+
|
|
|
|
+ },
|
|
edited: false,
|
|
edited: false,
|
|
rules: {
|
|
rules: {
|
|
tenantName: [
|
|
tenantName: [
|
|
@@ -304,6 +315,12 @@ export default {
|
|
trigger: "blur"
|
|
trigger: "blur"
|
|
}
|
|
}
|
|
],
|
|
],
|
|
|
|
+ compImo: [
|
|
|
|
+ {
|
|
|
|
+ required: true,
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
|
|
+ ],
|
|
compSimpleNameEn: [
|
|
compSimpleNameEn: [
|
|
{
|
|
{
|
|
required: true,
|
|
required: true,
|
|
@@ -430,6 +447,11 @@ export default {
|
|
tenantId: this.tenantId
|
|
tenantId: this.tenantId
|
|
}).then(response => {
|
|
}).then(response => {
|
|
this.ruleForm = response.data;
|
|
this.ruleForm = response.data;
|
|
|
|
+ tenantcompIpm({
|
|
|
|
+ compId: this.ruleForm.compId
|
|
|
|
+ }).then(response1 => {
|
|
|
|
+ this.$set(this.ruleForm,'compImo',response1.data.compImo)
|
|
|
|
+ })
|
|
});
|
|
});
|
|
},
|
|
},
|
|
// 合同时间验证
|
|
// 合同时间验证
|
|
@@ -485,11 +507,15 @@ export default {
|
|
showClose: true
|
|
showClose: true
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
- this.$message({
|
|
|
|
|
|
+
|
|
|
|
+ tenantChangeshipNumber({compId:this.ruleForm.compId,compImo:this.ruleForm.compImo})
|
|
|
|
+ .then(response => {
|
|
|
|
+ this.$message({
|
|
message: "保存成功",
|
|
message: "保存成功",
|
|
type: "success",
|
|
type: "success",
|
|
showClose: true
|
|
showClose: true
|
|
});
|
|
});
|
|
|
|
+ })
|
|
this.$router.push({
|
|
this.$router.push({
|
|
name: "lessee"
|
|
name: "lessee"
|
|
});
|
|
});
|