|
@@ -39,6 +39,9 @@
|
|
|
<by-tool :propConfig="toolConfig" @clickHandle="insideTools" ref="byTool" />
|
|
|
<div class="box-shadow">
|
|
|
<by-form :propConfig="addConfig" ref="addFormId">
|
|
|
+ <template v-slot:organizationCode="{value}" class="clearfix">
|
|
|
+ <vxe-input v-model="value.organizationCode" :disabled="isOrganizationCode" style="width: 100%;"></vxe-input>
|
|
|
+ </template>
|
|
|
<template v-slot:k3ServerUrl="{value}" class="clearfix">
|
|
|
<!-- <i class="el-icon-question" title="私有云必须配置金蝶云星空产品地址,K3Cloud/结尾,若为公有云则必须置空"></i> -->
|
|
|
<!-- <vxe-input v-model="value.k3ServerUrl" style="width:calc(100% - 25px);margin-left: 10px;"></vxe-input> -->
|
|
@@ -69,6 +72,7 @@
|
|
|
radio : any = 0
|
|
|
popTitle : any = ''
|
|
|
dialogFormVisible : boolean = false
|
|
|
+ isOrganizationCode : boolean = true
|
|
|
toolConfig = {
|
|
|
tools: {
|
|
|
return: true,
|
|
@@ -140,7 +144,7 @@
|
|
|
span: 6,
|
|
|
label: '机构代码',
|
|
|
prop: 'organizationCode',
|
|
|
- component: 'by-input',
|
|
|
+ slot: true,
|
|
|
},
|
|
|
{
|
|
|
span: 6,
|
|
@@ -315,6 +319,12 @@
|
|
|
let data = res.data;
|
|
|
this.radio = data.status;
|
|
|
this.dialogFormVisible = true;
|
|
|
+ if(res.data.organizationCode){
|
|
|
+ this.isOrganizationCode = true
|
|
|
+ }else{
|
|
|
+ this.isOrganizationCode = false
|
|
|
+ }
|
|
|
+ console.log(this.isOrganizationCode)
|
|
|
this.$nextTick(() => (this as any).$refs.addFormId.setValue(data));
|
|
|
loading.close();
|
|
|
} else loading.close();
|