Browse Source

feat:[模板管理][update]

luojie
luojie 4 weeks ago
parent
commit
358f326837
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      src/components/Template/HandleFormItem.vue
  2. +2
    -0
      src/views/business/comps/template/formConfig/sp/SP0019.js

+ 1
- 1
src/components/Template/HandleFormItem.vue View File

@ -19,7 +19,7 @@
<el-select v-else-if="type === 'select'" class="flex1" :multiple="item.multiple" <el-select v-else-if="type === 'select'" class="flex1" :multiple="item.multiple"
:class="getFillTypeStyle() + (orangeBg ? ' orange-bg' : '')" v-model="inputValue" :class="getFillTypeStyle() + (orangeBg ? ' orange-bg' : '')" v-model="inputValue"
:disabled="getDisabled()" :placeholder="getPlaceholder()" @remove-tag="onRemoveTag" :disabled="getDisabled()" :placeholder="getPlaceholder()" @remove-tag="onRemoveTag"
:remote = "true"
:remote = "item.selectRemote || false"
:remote-method="remoteMethod" :remote-method="remoteMethod"
@visible-change="onSelectBlur" @change="onInputChange" filterable> @visible-change="onSelectBlur" @change="onInputChange" filterable>
<el-option v-for="op in item.options" :key="op.value" :label="op.label" :value="op.value"> <el-option v-for="op in item.options" :key="op.value" :label="op.label" :value="op.value">

+ 2
- 0
src/views/business/comps/template/formConfig/sp/SP0019.js View File

@ -54,6 +54,8 @@ export const getStorageFormConfig = ($this)=>{
fillType: 'actFill', fillType: 'actFill',
options: $this.spzxhOptions, options: $this.spzxhOptions,
filledCodes:['mc','bh'], filledCodes:['mc','bh'],
selectRemote: true,
}, },
} }
}, },

Loading…
Cancel
Save