From 3f42a06ce46b03bbfdbc96f91cd43f7e0009c2bb Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 28 一月 2026 10:17:26 +0800
Subject: [PATCH] 核磅录入增加错误信息弹窗保留弹窗数据,打印界面增加核磅总量
---
pages/wareHouse/nuclearScale/index.vue | 60 ++++++++++++++++++++++++++++++++----------------------------
1 files changed, 32 insertions(+), 28 deletions(-)
diff --git a/pages/wareHouse/nuclearScale/index.vue b/pages/wareHouse/nuclearScale/index.vue
index 14543ed..105f046 100644
--- a/pages/wareHouse/nuclearScale/index.vue
+++ b/pages/wareHouse/nuclearScale/index.vue
@@ -201,44 +201,42 @@
<view class="packing-registration-param">
<view class="packing-registration-param-view">
<view class="packing-registration-param-item param-extra">
- <view style=" min-width: 80px;">
- <text style="font-size:16px">鏍哥閲嶉噺锛�</text>
+ <view style="min-width: 80px">
+ <text style="font-size: 16px">鏍哥閲嶉噺锛�</text>
</view>
<view class="packing-registration-param-item-right">
<u-input
- type="number"
v-model="modalList.verificationWeight"
- :custom-style="{
- fontSize: '16px',
- height: '40px',
- lineHeight: '40px'
- }"
- :input-style="{
- fontSize: '16px',
- height: '40px',
- lineHeight: '40px'
- }"
+ :custom-style="{
+ fontSize: '16px',
+ height: '40px',
+ lineHeight: '40px',
+ }"
+ :input-style="{
+ fontSize: '16px',
+ height: '40px',
+ lineHeight: '40px',
+ }"
/>
</view>
</view>
<view class="packing-registration-param-item param-extra">
- <view style=" min-width: 80px;">
- <text style="font-size:16px">鍙夎溅鐩橀噸锛�</text>
+ <view style="min-width: 80px">
+ <text style="font-size: 16px">鍙夎溅鐩橀噸锛�</text>
</view>
<view class="packing-registration-param-item-right">
<u-input
- type="number"
v-model="modalList.forkliftWeight"
- :custom-style="{
- fontSize: '16px',
- height: '40px',
- lineHeight: '40px'
- }"
- :input-style="{
- fontSize: '16px',
- height: '40px',
- lineHeight: '40px'
- }"
+ :custom-style="{
+ fontSize: '16px',
+ height: '40px',
+ lineHeight: '40px',
+ }"
+ :input-style="{
+ fontSize: '16px',
+ height: '40px',
+ lineHeight: '40px',
+ }"
/>
</view>
</view>
@@ -479,7 +477,13 @@
};
})
.catch((err) => {
- uni.hideLoading();
+ console.log("err", err);
+ this.modalList = {
+ verificationWeight: this.modalList.verificationWeight,
+ forkliftWeight: this.modalList.forkliftWeight,
+ };
+ this.showModal = true;
+ // uni.hideLoading();
uni.showModal({
title: "鎻愮ず",
content: err.message || "缃戠粶寮傚父锛岃閲嶈瘯",
@@ -510,7 +514,7 @@
// this.ScanCodeRecord.unshift(Obj);
this.$refs.saveForm.cancel();
})
- .catch(() => {
+ .catch((err) => {
uni.hideLoading();
this.$refs.saveForm.cancel();
uni.showModal({
--
Gitblit v1.9.3