diff --git a/src/assets/scss/main.scss b/src/assets/scss/main.scss index 34453e2..3778d5e 100644 --- a/src/assets/scss/main.scss +++ b/src/assets/scss/main.scss @@ -33,12 +33,12 @@ html{ } @media screen and (max-width: 1600px) { html { - font-size: 12px; // 更小的字体以适配较小屏幕 + font-size: 14px; // 更小的字体以适配较小屏幕 } } @media screen and (max-width: 1440px) { html { - font-size: 10px; // 更小的字体以适配较小屏幕 + font-size: 12px; // 更小的字体以适配较小屏幕 } } #app { @@ -134,6 +134,7 @@ $btn-color: #4D6DE4; $lighter-color: rgba(#4D6DE4, 0.5); .default-btn{ cursor: pointer; + display: inline-block; width: 120px; height: 42px; line-height: 42px; @@ -146,4 +147,19 @@ $lighter-color: rgba(#4D6DE4, 0.5); background: $lighter-color; } +} +.small-btn{ + cursor: pointer; + display: inline-block; + width: 72px; + height: 24px; + line-height: 24px; + background: $btn-color; + border-radius: 3px; + color: #FFF; + font-size: 12px; + text-align: center; + &:hover{ + background: $lighter-color; + } } \ No newline at end of file diff --git a/src/components/charge/OrderDetail.vue b/src/components/charge/OrderDetail.vue index a860f03..60154a4 100644 --- a/src/components/charge/OrderDetail.vue +++ b/src/components/charge/OrderDetail.vue @@ -64,66 +64,60 @@
-
-
支付信息
-
-
-
开单时间
-
{{ formatDate(orderInfo.createDatetime) }}
-
-
-
完成时间
-
{{ formatDate(orderInfo.payTime) }}
-
-
-
收费员
-
{{ orderInfo.salePersonName }}
-
-
-
药师
-
{{ orderInfo.dockerName }}
-
-
-
销售人
-
{{ orderInfo.salePersonName }}
-
-
-
原价
-
¥{{ orderInfo.preTotalPrice }}
-
-
-
优惠
-
¥{{ (orderInfo.preTotalPrice - orderInfo.totalPrice).toFixed(2) }}
-
-
-
应收
-
¥{{ orderInfo.totalPrice }}
-
-
-
实收
-
¥{{ orderInfo.totalPrice }}
-
-
-
支付方式
-
{{ orderInfo.orderId }}
-
-
-
零售备注
-
{{ orderInfo.orderId }}
-
+
支付信息
+
+
+
开单时间
+
{{ formatDate(orderInfo.createDatetime) }}
-
-
-
发票状态
-
未开票
-
-
-
-
收-{{ orderInfo.payType ? getPayTypeStr(orderInfo.payType) : "" }}
-
{{ orderInfo.salePersonName }}
-
备注:-
+
+
完成时间
+
{{ formatDate(orderInfo.payTime) }}
+
+
+
收费员
+
{{ orderInfo.salePersonName }}
+
+
+
药师
+
{{ orderInfo.dockerName }}
+
+
+
销售人
+
{{ orderInfo.salePersonName }}
+
+
+
原价
+
¥{{ orderInfo.preTotalPrice }}
+
+
+
优惠
+
¥{{ (orderInfo.preTotalPrice - orderInfo.totalPrice).toFixed(2) }}
+
+
+
应收
+
¥{{ orderInfo.totalPrice }}
+
+
+
实收
+
¥{{ orderInfo.totalPrice }}
+
+
+
支付方式
+
{{ orderInfo.orderId }}
+
+
+
发票状态
+
{{orderInfo.status==1 ? "未开票":"已开票"}}
+
+
+
收-{{ orderInfo.payType ? getPayTypeStr(orderInfo.payType) : "" }}
+
¥{{ orderInfo.totalPrice }}
+
+
+
备注
+
-
-
¥{{ orderInfo.totalPrice }}
@@ -281,7 +275,6 @@ onUnmounted(() => { .left { flex: 1; height: 100%; - margin-right: 10px; min-height: 0; display: flex; flex-direction: column; @@ -318,82 +311,39 @@ onUnmounted(() => { .right { width: 314px; height: 100%; - border: solid 1px #e6e6e6; display: flex; flex-direction: column; - - .right_head { - padding: 10px; - - .title { - font-size: 12px; - font-weight: 600; - height: 25px; - } - - .info { - font-size: 12px; - font-weight: 400; - color: #999ca1; - - .item { - display: flex; - justify-content: space-between; - margin-bottom: 10px; - - .value { - color: #000; - } - } - } + padding: 24px; + .title { + font-weight: 800; + font-size: 18px; + color: #333333; + font-style: normal; + margin-bottom: 24px; } - .right_body { - padding: 0 10px; - font-size: 12px; - font-weight: 400; - height: 30px; - color: #999ca1; - border-top: 1px solid #e6e6e6; - display: flex; - justify-content: space-between; - align-items: center; - - .value { - color: base.$warning-color; - } - } - - .right_foot { + .info { flex: 1; - padding: 0 10px; - font-size: 12px; - font-weight: 400; - color: #999ca1; - border-top: 1px solid #e6e6e6; + font-weight: 500; + font-size: 16px; + color: #999999; + font-style: normal; display: flex; + flex-direction: column; justify-content: space-between; - align-items: center; + min-height: 0; - .label { + .item { display: flex; - flex-direction: column; - justify-content: center; - height: 100%; + justify-content: space-between; - .pay { + .value { color: #000; } - - .name { - margin: 5px 0; - } } - .value { - color: #000; - } } + } } diff --git a/src/components/common/Footer.vue b/src/components/common/Footer.vue index 383e1f8..9ec9602 100644 --- a/src/components/common/Footer.vue +++ b/src/components/common/Footer.vue @@ -1,6 +1,6 @@ diff --git a/src/components/common/Mask.vue b/src/components/common/Mask.vue index b4ae821..88d7034 100644 --- a/src/components/common/Mask.vue +++ b/src/components/common/Mask.vue @@ -35,6 +35,9 @@ watch( _height.value = newVal == null ? 800 : Number(newVal); } ); +let width_rem=(_width.value/16).toFixed(2); +let height_rem=(_height.value/16).toFixed(2); + @@ -42,7 +45,7 @@ watch(
-
+
{{ title }}
diff --git a/src/components/home/index/InventoryAlert.vue b/src/components/home/index/InventoryAlert.vue index 84965c5..f37d3b7 100644 --- a/src/components/home/index/InventoryAlert.vue +++ b/src/components/home/index/InventoryAlert.vue @@ -32,7 +32,7 @@ const isZeroInventory = (item: any) => { @@ -86,6 +91,7 @@ import "@/assets/scss/layout.scss" import Header from "@/components/common/Header.vue"; import Footer from "@/components/common/Footer.vue"; import {ref} from "vue"; + const childMenuList = ref([ { name: '医保目录', diff --git a/src/views/inventory/apply.vue b/src/views/inventory/apply.vue index 6520ac5..43770ca 100644 --- a/src/views/inventory/apply.vue +++ b/src/views/inventory/apply.vue @@ -28,7 +28,7 @@
- 新增领用 + 新增领用
@@ -244,26 +244,12 @@ const resetSearch= () => { .addBtn { span { display: inline-block; - width: 120px; - height: 42px; - background: #FFFFFF; - border-radius: 6px; - border: 1px solid #4D6DE4; - margin-right: 24px; - font-weight: 500; - font-size: 16px; - color: #4D6DE4; - text-align: center; - line-height: 42px; - cursor: pointer; - &:hover { - background: #4D6DE4; - color: #fff; - border: none; - } } } } +:deep(.el-input__wrapper){ + height: 42px; +} :deep(.el-range-editor.el-input__wrapper) { height: 42px; } diff --git a/src/views/inventory/check.vue b/src/views/inventory/check.vue index 0c0a10d..7136159 100644 --- a/src/views/inventory/check.vue +++ b/src/views/inventory/check.vue @@ -28,7 +28,7 @@
- 开始盘点 + 开始盘点
@@ -245,28 +245,13 @@ const resetSearch = () => { .addBtn { span { display: inline-block; - width: 120px; - height: 42px; - background: #FFFFFF; - border-radius: 6px; - border: 1px solid #4D6DE4; margin-right: 24px; - font-weight: 500; - font-size: 16px; - color: #4D6DE4; - text-align: center; - line-height: 42px; - cursor: pointer; - - &:hover { - background: #4D6DE4; - color: #fff; - border: none; - } } } } - +:deep(.el-input__wrapper) { + height: 42px; +} :deep(.el-range-editor.el-input__wrapper) { height: 42px; } diff --git a/src/views/inventory/goods.vue b/src/views/inventory/goods.vue index 6ae4fd6..08b4b27 100644 --- a/src/views/inventory/goods.vue +++ b/src/views/inventory/goods.vue @@ -8,8 +8,8 @@