Commit 20214d9e by 黑潮

update: 默认选中

parent 49e9d9f2
......@@ -255,6 +255,9 @@ export default {
.then(res => {
if (res.errorCode === 0) {
this.entepriseList = res.result || [];
if (!this.isEdit && !this.readOnly && this.entepriseList.length === 1 && !this.form.qfxxEnterpriseId) {
this.form.qfxxEnterpriseId = this.entepriseList[0].wxEnterpriseId;
}
} else {
this.$message({ message: res.message, type: 'error' });
}
......
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