|
|
@@ -24,9 +24,9 @@
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="dict in getDictDatas('inout_business_type')"
|
|
|
- :key="dict.label"
|
|
|
+ :key="dict.value"
|
|
|
:label="dict.label"
|
|
|
- :value="dict.label"
|
|
|
+ :value="dict.value"
|
|
|
/>
|
|
|
</el-select> </el-form-item
|
|
|
></el-col>
|
|
|
@@ -41,6 +41,7 @@
|
|
|
v-model="formData.businessDescribe"
|
|
|
:disabled="formData.businessType ? false : true"
|
|
|
placeholder="请选择业务类型"
|
|
|
+ @change="changeBusinessDescribe"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="dict in businessDescribeList"
|
|
|
@@ -445,6 +446,13 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ changeBusinessDescribe(e) {
|
|
|
+ this.businessDescribeList.map((v) => {
|
|
|
+ if (v.label == e) {
|
|
|
+ this.formData.businessCategory = v.value;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
async changeBusinessType(value) {
|
|
|
this.formData = {
|
|
|
id: this.formData.id,
|