Просмотр исходного кода

报价费用审核所属协议和险种筛选项改为多选

@dongkboy 1 месяц назад
Родитель
Сommit
bc8ef326da
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      src/views/representative/quoteApproval.vue

+ 6 - 6
src/views/representative/quoteApproval.vue

@@ -139,8 +139,8 @@ const pageInfo = computed(() => {
   }
   }
 });
 });
 const formInline = reactive({
 const formInline = reactive({
-  agreement: '',//协议信息
-  productId: "",//归属
+  agreements: [],//协议信息
+  productIds: [],//归属
   rulesName: '',//保险公司id
   rulesName: '',//保险公司id
   costRules: [],//费用规则
   costRules: [],//费用规则
   agreementStatus: "",//有效状态
   agreementStatus: "",//有效状态
@@ -172,14 +172,14 @@ const companylist = computed(() => {
 //表格字段数据(待审核时隐藏"审核人"筛选项)
 //表格字段数据(待审核时隐藏"审核人"筛选项)
 const fields = ref([
 const fields = ref([
   {
   {
-    label: "所属协议", model: "agreement", type: "select", placeholder: "输入代码,名称,简称查找", options: agreementListALL,
+    label: "所属协议", model: "agreements", type: "select", multiple: true, placeholder: "输入代码,名称,简称查找", options: agreementListALL,
     props: {
     props: {
       label: 'agreementTitle',
       label: 'agreementTitle',
       value: 'agreementTitle'
       value: 'agreementTitle'
     }, filterable: true
     }, filterable: true
   },
   },
   {
   {
-    label: "险种", model: "productId", type: "select", options: insurance_type,
+    label: "险种", model: "productIds", type: "select", multiple: true, placeholder: "请选择险种", options: insurance_type,
   },
   },
   {
   {
     label: "保险公司", model: "companyId", type: "cascader", placeholder: "选择保险公司", options: company_list, props: companyIdprops, placement: 'left', onChange: (value: any) => {
     label: "保险公司", model: "companyId", type: "cascader", placeholder: "选择保险公司", options: company_list, props: companyIdprops, placement: 'left', onChange: (value: any) => {
@@ -556,8 +556,8 @@ const auditSuccess = async (list: string[], automatic?: boolean) => {
   });
   });
 }
 }
 const resetForm = () => {
 const resetForm = () => {
-  formInline.agreement = '';//协议信息
-  formInline.productId = "";//归属
+  formInline.agreements = [];//协议信息
+  formInline.productIds = [];//归属
   formInline.rulesName = '';//保险公司id
   formInline.rulesName = '';//保险公司id
   formInline.costRules = [];//协议类型
   formInline.costRules = [];//协议类型
   formInline.agreementStatus = "";//有效状态
   formInline.agreementStatus = "";//有效状态