imeik-bizui 2.1.2 → 2.1.4
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 +22 -12
- package/dist/imeik-bizui.common.js +108 -99
- 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 +108 -99
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +4 -4
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -469,6 +469,8 @@ export default {
|
|
|
469
469
|
this.$set(data, 'scenarioList', list)
|
|
470
470
|
this.$set(data, 'costFeeList', JSON.parse(res.data).costFeeList)
|
|
471
471
|
this.$set(data, 'shenfenList', shenfenList)
|
|
472
|
+
} else {
|
|
473
|
+
this.$message.error(res.message)
|
|
472
474
|
}
|
|
473
475
|
})
|
|
474
476
|
}
|
|
@@ -533,20 +535,28 @@ export default {
|
|
|
533
535
|
this.$set(row, 'standardAmount', '')
|
|
534
536
|
this.$set(row, 'costAmount', undefined)
|
|
535
537
|
// 修改:在过滤后,对每个项处理label,取_之后的部分
|
|
536
|
-
const
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
538
|
+
const identityList = []
|
|
539
|
+
const scenarioList = row.scenarioList || []
|
|
540
|
+
const shenfenList = row.shenfenList
|
|
541
|
+
console.log(shenfenList, 'shenfenList')
|
|
542
|
+
scenarioList.forEach((scenarioItem) => {
|
|
543
|
+
if (scenarioItem.value === row.doctorServiceSceneCode) {
|
|
544
|
+
const identityStr = scenarioItem.identity || ''
|
|
545
|
+
identityStr.split(',').forEach((identity) => {
|
|
546
|
+
console.log(scenarioItem.label, 'scenarioItem.label')
|
|
547
|
+
identityList.push({
|
|
548
|
+
label: identity,
|
|
549
|
+
value: identity,
|
|
550
|
+
standardAmount: shenfenList.find((item) => item.value === `${scenarioItem.label}_${identity}`)?.standardAmount || 0
|
|
551
|
+
})
|
|
552
|
+
})
|
|
553
|
+
}
|
|
554
|
+
})
|
|
555
|
+
this.$set(row, 'shenfenList_new', identityList)
|
|
556
|
+
if (identityList.length === 1 && row.shenfenList_new[0].value === '') {
|
|
547
557
|
this.handleChangeIdentity('', row)
|
|
548
558
|
}
|
|
549
|
-
if (
|
|
559
|
+
if (identityList.length === 1) {
|
|
550
560
|
this.$set(row, 'identity', row.shenfenList_new[0].value)
|
|
551
561
|
this.handleChangeIdentity(row.shenfenList_new[0].value, row)
|
|
552
562
|
}
|