Commit 57d6fa69 by zhengxiaokui

zxk

parent 5853c730
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24"> <c-col v-if="!noRef" :span="24">
<el-form-item <el-form-item
:label="`${argadr.title}参考号`" :label="`${argadr.title}参考号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.ref`" :prop="`${argadr.grp}.${argadr.rol}.pts.ref`"
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<c-col :span="18"> <c-col :span="18">
<el-form-item <el-form-item
label="Extkey" :label="`${argadr.title}编号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
> >
<c-input <c-input
...@@ -41,47 +41,49 @@ ...@@ -41,47 +41,49 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col v-if="isAdrblk" :span="24"> <template v-if="!onlySearch">
<el-form-item <c-col v-if="isAdrblk" :span="24">
label="名称地址"
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="3"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入名称地址"
></c-input>
</el-form-item>
</c-col>
<template v-else>
<c-col :span="24">
<el-form-item <el-form-item
label="名称" label="名称地址"
:prop="`${argadr.grp}.${argadr.rol}.pts.namelc`" :prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
> >
<c-input <c-input
v-model="model[argadr.grp][argadr.rol].pts.namelc" type="textarea"
:placeholder="'请输入' + argadr.title + '名称'" :rows="3"
:disabled="disabled" v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入名称地址"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<template v-else>
<c-col :span="24">
<el-form-item
label="名称"
:prop="`${argadr.grp}.${argadr.rol}.pts.namelc`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.namelc"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="地址" label="地址"
:prop="`${argadr.grp}.${argadr.rol}.pts.adrelc`" :prop="`${argadr.grp}.${argadr.rol}.pts.adrelc`"
> >
<c-input <c-input
v-model="model[argadr.grp][argadr.rol].pts.adrelc" v-model="model[argadr.grp][argadr.rol].pts.adrelc"
:placeholder="'请输入' + argadr.title + '地址'" :placeholder="'请输入' + argadr.title + '地址'"
:disabled="disabled" :disabled="disabled"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</template>
</template> </template>
</div> </div>
</template> </template>
...@@ -119,6 +121,16 @@ export default { ...@@ -119,6 +121,16 @@ export default {
type: Boolean, type: Boolean,
default: true, default: true,
}, },
onlySearch: {
//是否只展示extkey
type: Boolean,
default: false,
},
noRef: {
//无需参考号
type: Boolean,
default: false,
},
}, },
data() { data() {
return { return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment