AVUE select远程搜索

AVUE select远程搜索

        type: 'select',
        remote: true,
        filterable: true,
        dicUrl: `/system/spbm/tXxSpbm/list?pageNum=1&pageSize=10&condition={{key}}`,
        props: {
          label: 'spmc',
          value: 'spbm',
          res: "records",
        },
        typeformat(item, label, value) {
          return `${item[value]}${item[label]}`
        },
        change:(val)=>{
          safe.setSelectSsflbm(val)
        },
      const nrsList = this.$refs.form.DIC.xfsh;
      const selectedOption = nrsList.find(option => option.nsrsbh === form.xfsh);
      const xfmc = selectedOption.deptName

 

posted @ 2024-12-05 11:40  LaLaLa_heng  阅读(46)  评论(0编辑  收藏  举报