From 07097b173d2b210b1580a25bedc6f44eadc4282b Mon Sep 17 00:00:00 2001
From: admin <>
Date: Fri, 19 Jul 2024 15:01:59 +0800
Subject: [PATCH] =?UTF-8?q?update:=201.=20=E5=8E=BB=E6=8E=89=E6=97=A7?=
=?UTF-8?q?=E9=85=8D=E7=BD=AE=202.=20=E5=85=B6=E4=BB=96=E9=85=8D=E7=BD=AE?=
=?UTF-8?q?=E4=B8=AD=E6=8C=89=E9=92=AE=E7=82=B9=E5=87=BB=E4=BA=8B=E4=BB=B6?=
=?UTF-8?q?=203.=E4=BF=9D=E5=AD=98=E5=90=8E=E8=BF=94=E5=9B=9E=E4=B8=8A?=
=?UTF-8?q?=E4=B8=80=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/TabBar/index.vue | 12 ++++----
src/pagesConfig/components/avatar-input.vue | 8 +++---
src/pagesConfig/otherConfig.vue | 21 +++++++++-----
src/pagesConfig/printDetail.vue | 32 ++++++++++++++-------
4 files changed, 46 insertions(+), 27 deletions(-)
diff --git a/src/components/TabBar/index.vue b/src/components/TabBar/index.vue
index 6e91521..29dd664 100644
--- a/src/components/TabBar/index.vue
+++ b/src/components/TabBar/index.vue
@@ -76,12 +76,12 @@ const state = reactive({
// path: "/pagesConfig/index",
path: "/pagesHome/config",
},
- {
- text: "配置旧",
- icon: "config.png",
- activeIcon: "config_active.png",
- path: "/pagesHome/index1",
- },
+ // {
+ // text: "配置旧",
+ // icon: "config.png",
+ // activeIcon: "config_active.png",
+ // path: "/pagesHome/index1",
+ // },
{
text: "我的",
icon: "profile.png",
diff --git a/src/pagesConfig/components/avatar-input.vue b/src/pagesConfig/components/avatar-input.vue
index edb1109..3166c04 100644
--- a/src/pagesConfig/components/avatar-input.vue
+++ b/src/pagesConfig/components/avatar-input.vue
@@ -3,7 +3,7 @@
@@ -31,7 +31,7 @@ const props = defineProps<{
}>();
const emit = defineEmits(["changeValue"]);
const num = ref(props.value);
-const handleInput = (event) => {
+const handleInput = (event:any) => {
const value = parseInt(event.target.value);
if (!isNaN(value) && value >= 1) {
num.value = value;
@@ -59,7 +59,7 @@ const decrease = () => {
align-items: center;
justify-items: center;
border: 1px solid rgba(0, 0, 0, 0.15);
- padding: 0rpx 8rpx;
+ padding: 4px;
border-radius: 5px;
margin: 0rpx 16rpx;
.uni-input {
diff --git a/src/pagesConfig/otherConfig.vue b/src/pagesConfig/otherConfig.vue
index e285a55..8270972 100644
--- a/src/pagesConfig/otherConfig.vue
+++ b/src/pagesConfig/otherConfig.vue
@@ -1,5 +1,5 @@
-
+
终端机自动打单配置
收货-待审核联单打印 {
@@ -53,7 +53,7 @@
收货-已审核联单打印 {
@@ -66,7 +66,7 @@
出货-待结算联单打印 {
@@ -79,7 +79,7 @@
出货-已结算联单打印 {
@@ -112,6 +112,7 @@
>
{{ item.deviceName }}
@@ -128,7 +129,7 @@
天后自动结算
-
+
{
uni.showToast({
title: "设置更新成功",
});
+ uni.navigateBack();
}
});
};
@@ -206,7 +208,7 @@ const showSelect = () => {
state.show = true;
};
-const selectClick = (v:any) => {
+const selectClick = (v: any) => {
state.formData.settlementConfig = v.id;
state.show = false;
};
@@ -248,4 +250,9 @@ const selectClick = (v:any) => {
border-radius: 5px;
margin: 0rpx 16rpx;
}
+.app-container {
+ height: calc(100vh - 70px);
+ overflow: scroll;
+ position: relative;
+}
diff --git a/src/pagesConfig/printDetail.vue b/src/pagesConfig/printDetail.vue
index a86edf4..3f3fbd1 100644
--- a/src/pagesConfig/printDetail.vue
+++ b/src/pagesConfig/printDetail.vue
@@ -8,13 +8,22 @@
:checked="item.templateDeleted"
:activeColor="'#00D2E3'"
:usedAlone="true"
- @change="(v) => {item.templateDeleted = v}"
+ @change="
+ (v:any) => {
+ item.templateDeleted = v;
+ }
+ "
>
-
+