|
@@ -78,7 +78,7 @@
|
|
|
</div>
|
|
|
<div class="fixed__btn__panel">
|
|
|
<el-button size="small" @click="onClose" class="normal-btn-width inline-16">取 消</el-button>
|
|
|
- <duplicateCheck ref="check" :data="form" @onSuccess="onClose"></duplicateCheck>
|
|
|
+ <duplicateCheck ref="check" :data="form" @onSuccess="onClose" @onCheck="onCheck"></duplicateCheck>
|
|
|
<el-button size="small" type="primary" @click="onSubmit" class="normal-btn-width">确 定</el-button>
|
|
|
</div>
|
|
|
</el-drawer>
|
|
@@ -150,7 +150,7 @@ export default {
|
|
|
}).then(() => {
|
|
|
this.businessShow = false
|
|
|
this.form.enterprisename = val.companyName
|
|
|
- this.form.address = val.address
|
|
|
+ this.form.address = val.address === "-" ? '' : val.address
|
|
|
this.form.taxno = val.taxNum
|
|
|
this.value = [val.regProvince,val.regCity,val.regArea]
|
|
|
this.form.province = val.regProvince
|
|
@@ -158,6 +158,7 @@ export default {
|
|
|
this.form.county = val.regArea
|
|
|
this.form.contact = val.legalPerson
|
|
|
}).catch(() => {
|
|
|
+ this.businessShow = false
|
|
|
this.$message({
|
|
|
type: 'info',
|
|
|
message: '已取消更新'
|
|
@@ -171,6 +172,13 @@ export default {
|
|
|
this.$refs.check.listData()
|
|
|
})
|
|
|
},
|
|
|
+ /*查重检查*/
|
|
|
+ onCheck(){
|
|
|
+ this.$refs.form.validate((valid) => {
|
|
|
+ if (!valid) return false
|
|
|
+ this.$refs.check.listData()
|
|
|
+ })
|
|
|
+ },
|
|
|
async queryEnterpriseArchives () {
|
|
|
const res = await this.$api.requested({
|
|
|
"id": 20220920083901,
|
|
@@ -243,4 +251,4 @@ export default {
|
|
|
line-height: 34px;
|
|
|
font-weight: 500;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|