From 48ea71d330920dac9c3ff84585a7ef0c413fce50 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期二, 04 十一月 2025 14:47:03 +0800
Subject: [PATCH] 导体提交磅差精准一位小数,叉车盘重默认为0,去除长度,盘号字段
---
pages/wareHouse/nuclearScale/index.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/pages/wareHouse/nuclearScale/index.vue b/pages/wareHouse/nuclearScale/index.vue
index ef48e0d..3e595b7 100644
--- a/pages/wareHouse/nuclearScale/index.vue
+++ b/pages/wareHouse/nuclearScale/index.vue
@@ -394,10 +394,10 @@
});
}
// 浣跨敤姝g‘鐨勫瓧娈靛悕suppliedQuantity锛岃�屼笉鏄痸oltage
- const magnetic =
+ const magnetic =(
Number(this.modalList.verificationWeight) -
Number(this.modalList.forkliftWeight) -
- grossWeightSum;
+ grossWeightSum).toFixed(1);
this.form.verificationWeight = this.modalList.verificationWeight;
this.form.forkliftWeight = this.modalList.forkliftWeight;
switch (this.form.productType) {
@@ -484,7 +484,12 @@
.catch(() => {
uni.hideLoading();
this.$refs.saveForm.cancel();
- this.$u.toast("缃戠粶寮傚父锛岃閲嶈瘯");
+ uni.showModal({
+ title: "鎻愮ず",
+ content: err.message || "缃戠粶寮傚父锛岃閲嶈瘯",
+ showCancel: true,
+ success: function (res) {},
+ });
});
},
// 鎻愪氦鎸夐挳
--
Gitblit v1.9.3