imeik-bizui 1.8.8 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bizui/src/FieldExpertSelect/index.vue +9 -0
- package/dist/imeik-bizui.common.js +91 -84
- package/dist/imeik-bizui.common.js.gz +0 -0
- package/dist/imeik-bizui.css +1 -1
- package/dist/imeik-bizui.css.gz +0 -0
- package/dist/imeik-bizui.umd.js +91 -84
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +3 -3
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -79,7 +79,9 @@
|
|
|
79
79
|
<!-- 活动身份 -->
|
|
80
80
|
<template slot="identity" slot-scope="{ row }">
|
|
81
81
|
<div v-if="!isView">
|
|
82
|
+
<div v-if="checkIdentity(row.shenfenList_new)">-</div>
|
|
82
83
|
<ImSelect
|
|
84
|
+
v-else
|
|
83
85
|
v-model="row.identity"
|
|
84
86
|
:class="{ 'is-error': row.valid === false && !row.identity }"
|
|
85
87
|
:attrs="{ options: row.shenfenList_new }"
|
|
@@ -516,6 +518,10 @@ export default {
|
|
|
516
518
|
if (shenfenList_new.length === 1 && row.shenfenList_new[0].value === '') {
|
|
517
519
|
this.handleChangeIdentity('', row)
|
|
518
520
|
}
|
|
521
|
+
if (shenfenList_new.length === 1) {
|
|
522
|
+
this.$set(row, 'identity', row.shenfenList_new[0].value)
|
|
523
|
+
this.handleChangeIdentity(row.shenfenList_new[0].value, row)
|
|
524
|
+
}
|
|
519
525
|
}
|
|
520
526
|
this.checkStandardAmountsIsBeyond(row)
|
|
521
527
|
},
|
|
@@ -641,6 +647,9 @@ export default {
|
|
|
641
647
|
// 获取焦点的时候清楚当前options缓存
|
|
642
648
|
onDoctorFocus() {
|
|
643
649
|
this.doctorAttrs.options = []
|
|
650
|
+
},
|
|
651
|
+
checkIdentity(data) {
|
|
652
|
+
return data?.length === 1 && data[0].value === ''
|
|
644
653
|
}
|
|
645
654
|
}
|
|
646
655
|
}
|