From c9e3a7f0c154892f2327e300e28af53f81e40ad0 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周四, 20 2月 2025 11:03:24 +0800
Subject: [PATCH] 软件加密+ 修复 不断给plc报警的问题
---
LA24030_LuLiPackageLine_Pda/pages/untie/untie.vue | 30 +++++++++++++++++++++++++++++-
1 files changed, 29 insertions(+), 1 deletions(-)
diff --git a/LA24030_LuLiPackageLine_Pda/pages/untie/untie.vue b/LA24030_LuLiPackageLine_Pda/pages/untie/untie.vue
index 38fb9ea..25852e7 100644
--- a/LA24030_LuLiPackageLine_Pda/pages/untie/untie.vue
+++ b/LA24030_LuLiPackageLine_Pda/pages/untie/untie.vue
@@ -298,8 +298,9 @@
<button-modal
:subShow="true"
garmenTitle="閲嶇疆"
+ subTitle="纭NG"
@submit="rest"
- @reset="rest"
+ @reset="do_UnlineForNGPackage"
/>
</view>
</template>
@@ -314,6 +315,7 @@
onlyUpdateDutyCycle,
getBhbMaterialList,
getenumDataList,
+ UnlineForNGPackage
} from "../../api/putIn/artificial.js";
export default {
data() {
@@ -384,6 +386,31 @@
mounted() {},
methods: {
+ do_UnlineForNGPackage() {
+ //debugger
+ const params = {
+ PackageCode:this.singlist[0].packageCode,
+ IsNG:true
+ };
+ //debugger
+ uni.showModal({
+ title: "鏁村寘NG涓嬬嚎",
+ content: "鏄惁纭 鏁村寘NG涓嬬嚎锛�",
+ showCancel: true,
+ cancelColor: "#333333",
+ success: (res) => {
+ if (res.confirm) {
+ UnlineForNGPackage(params).then((res) => {
+ this.rescode = 200;
+ this.$refs.resmodal.show = true;
+ this.resmessage = "鏁村寘NG涓嬬嚎鎴愬姛";
+ });
+ } else if (res.cancel) {
+ }
+ },
+ });
+
+ },
getEnumName(value) {
const name = this.enumList.find((item) => item.value === value);
return name ? name.name : "";
@@ -415,6 +442,7 @@
},
rest() {
+ //alert(11)
this.warehouse.upi = "";
this.warehouse.upi = "";
this.singlist = [];
--
Gitblit v1.9.3