没有证件号码不能选择

This commit is contained in:
liuxi 2025-01-13 17:47:15 +08:00
parent 2ee121c362
commit a02f6d5c86

View File

@ -57,11 +57,13 @@
<el-form-item label="当事人" prop="litigants">
<el-select v-model="repaymentObj.litigants" multiple collapse-tags filterable
placeholder="请选择" class="width100">
<el-option
<el-option
v-for="(item,index) in litigantsOptions"
:key="index"
:label="item.name+ ' ' +'('+ item.phone +')'"
:value="item.identity">
:value="item.identity"
:disabled="(item.identity == '' || item.identity == null) ? true :false"
:title="(item.identity == '' || item.identity == null) ? '没有证件号码不能选择' :false">
</el-option>
</el-select>
</el-form-item>
@ -242,7 +244,7 @@ export default {
getLitigantByCaseId() {
videoTelephone.getLitigantByCaseId(this.eventDialog.caseId).then(res => {
if (!res.code) {
// console.log(res, '---getLitigantByCaseId')
console.log(res, '---getLitigantByCaseId')
this.litigantsOptions = res;
}
})