|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
v-decorator="['printTemplateId', { rules: [{ required: true, message: '请选择打印模板!' }] }]"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option v-for="item in TemplateList" :key="item.id" :value="item.id">
|
|
|
|
|
{{ item.typeName }}
|
|
|
|
|
{{ item.displayName }}
|
|
|
|
|
</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -93,7 +93,7 @@ export default {
|
|
|
|
|
let Rdata = []
|
|
|
|
|
if (value) {
|
|
|
|
|
this.TemplateList2.forEach(item => {
|
|
|
|
|
if (item.typeName && item.typeName.indexOf(value) > -1) {
|
|
|
|
|
if (item.displayName && item.displayName.indexOf(value) > -1) {
|
|
|
|
|
Rdata.push(item)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|