diff --git a/src/assets/scss/main.scss b/src/assets/scss/main.scss
index 2f4537f..f95b389 100644
--- a/src/assets/scss/main.scss
+++ b/src/assets/scss/main.scss
@@ -93,5 +93,5 @@ body {
.el-popper.is-light.type-popper, .el-popper.is-light>.el-popper__arrow:before{
background:#F5FAFF !important;
padding: 0 !important;
- border: 1px solid #4D6DE4 !important;
+ //border: 1px solid #4D6DE4 !important;
}
\ No newline at end of file
diff --git a/src/components/common/Calendar.vue b/src/components/common/Calendar.vue
index 795645b..148e691 100644
--- a/src/components/common/Calendar.vue
+++ b/src/components/common/Calendar.vue
@@ -69,7 +69,6 @@ const generateCalendarData = (
// 使用示例
const calendarData = generateCalendarData(currentYear, currentMonth);
-console.log(calendarData);
diff --git a/src/components/common/InputNumber.vue b/src/components/common/InputNumber.vue
new file mode 100644
index 0000000..ca62878
--- /dev/null
+++ b/src/components/common/InputNumber.vue
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/common/goods/GoodsDetail.vue b/src/components/common/goods/GoodsDetail.vue
index 9cd3fbb..b5cca49 100644
--- a/src/components/common/goods/GoodsDetail.vue
+++ b/src/components/common/goods/GoodsDetail.vue
@@ -1,7 +1,8 @@
-
-
+
+
-
+
¥{{ scope.row.selectedPrice }}
-
+
-
- {{ scope.row.selectedUnit }}
+ style="margin-right: 5px">
+
+ {{ scope.row.selectedUnit }}
-
+
{{ scope.row.packagingUnit }}
@@ -61,6 +62,7 @@
+ {{ scope.row.selectedUnit }}
{{ scope.row.selectedNum }} {{ scope.row.selectedUnit }}
@@ -91,7 +93,7 @@
:width="1000"
>
- 合计:¥{{ getTotalPrice() }}
+ 合计:¥{{ getTotalPrice() }}
@@ -156,14 +158,13 @@ const goodsSelect = (row: any) => {
row.selectedNum = 1
row.selectedUnit = row.packagingUnit
row.selectedPrice = row.unitPrice
- row.shouldNumber = 1;
+ row.shouldNumber = 1;
row.idCode = row.idCode?.split(",")
if (goodsDetail.value.find((i: any) => i.id == row.id)) {
ElMessage.warning("数据已存在,只能加数量")
goodsDetail.value.find((i: any) => i.id == row.id).selectedNum += 1
- goodsDetail.value.find((i: any) => i.id == row.id).selectedUnit = row.packagingUnit
goodsDetail.value.find((i: any) => i.id == row.id).selectedPrice = row.unitPrice
emit('totalPriceChange')
return
@@ -182,7 +183,7 @@ const selectUnit = (item: any, unit: any) => {
}
const emit = defineEmits(["totalPriceChange", 'focus'])
-const handleNumChange = (row:any) => {
+const handleNumChange = (row: any) => {
//应采数量
let shouldNumber = 0;
if (row.selectedUnit == row.packagingUnit) {
@@ -220,8 +221,11 @@ const colosInfo = () => {
}
\ No newline at end of file
diff --git a/src/components/outpatient/Settlement.vue b/src/components/outpatient/Settlement.vue
index d9820e7..5cf8322 100644
--- a/src/components/outpatient/Settlement.vue
+++ b/src/components/outpatient/Settlement.vue
@@ -20,8 +20,8 @@ const editItem= () => {
@@ -45,5 +45,22 @@ const editItem= () => {
.text {
color: #FF282E
}
+ .btn-group{
+ display: flex;
+ span{
+ width: 119px;
+ height: 48px;
+ text-align: center;
+ line-height: 48px;
+ border-radius: 8px;
+ border: 1px solid #D8D8D8;
+ margin-left: 24px;
+ cursor: pointer;
+ &:hover{
+ background: #4D6DE4 ;
+ color: #fff;
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/src/components/registration/CardDefault.vue b/src/components/registration/CardDefault.vue
index aa93e1b..470d29b 100644
--- a/src/components/registration/CardDefault.vue
+++ b/src/components/registration/CardDefault.vue
@@ -82,8 +82,7 @@ const getInfoFor1101 = (params: any) => {
duration: 1000,
});
emit('socialCardUpdate', socialCard.value)
-
- }).catch(() => {
+ }).catch((err:any) => {
isReading.value = false;
emit('changeLoading', false)
ElMessage({
@@ -105,7 +104,7 @@ onUnmounted(() => {
})
const close = () => {
- socialCard.value = null
+ socialCard.value = {}
}
defineExpose({close})
diff --git a/src/components/registration/Edit.vue b/src/components/registration/Edit.vue
index c97c9ad..561c039 100644
--- a/src/components/registration/Edit.vue
+++ b/src/components/registration/Edit.vue
@@ -2,7 +2,6 @@
-
([])
onMounted(() => {
+ selectedDate.value = [getToday().start, getToday().end]
initDoctor()
getPatientList()
})
@@ -119,7 +120,6 @@ const handleDateChange = (date: any[]) => {
const getPatientList = () => {
isShowNum.value = -1
id.value = null
- selectedDate.value = [getToday().start, getToday().end]
post('registration/list', {
page: page.value,
size: size.value,