Răsfoiți Sursa

update: 报价配置 保司账号归属查询修改

wks 1 an în urmă
părinte
comite
047ece848a

+ 1 - 5
src/views/quoteConfig/insuranceCompanyAccount/insuranceCompanyAccount.vue

@@ -22,7 +22,6 @@
               placeholder="请选择"
               :options="deptOption"
               :props="cascaderProps"
-              @change="handleCascaderChange"
               clearable
             ></el-cascader>
           </el-form-item>
@@ -193,6 +192,7 @@ let tableData = ref([
 ])
 // 查询
 const search = () => {
+  insuranceForm.value.userDept = insuranceForm.value.userDeptId[insuranceForm.value.userDeptId.length - 1]
   initData()
 }
 // 重置
@@ -534,10 +534,6 @@ const initDept = () => {
   })
 }
 
-const handleCascaderChange = (value) => {
-  insuranceForm.value.userDept = value[value.length - 1]
-}
-
 onMounted(() => {
   initData()
   initCompany()