From 171e6dc39bb085184c0e0989b7b37b129c59e6ac Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期三, 16 七月 2025 22:38:10 +0800
Subject: [PATCH] 1.样本值修改

---
 H5/Js/LLJ/Add.js |   41 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/H5/Js/LLJ/Add.js b/H5/Js/LLJ/Add.js
index e725a23..e329912 100644
--- a/H5/Js/LLJ/Add.js
+++ b/H5/Js/LLJ/Add.js
@@ -40,6 +40,8 @@
             okValue: '',//OK-鏁伴噺
             ngValue: '',//NG-鏁伴噺
             showDialog: false,//涓嶈壇琛ㄨ堪杈撳叆妗�
+            ybsDialog: false,//鏍锋湰鍊艰緭鍏ユ
+            ybsValue: '',//鏍锋湰鏁伴噺
             //鍥剧墖涓婁紶妗�
             fileList: [
                 //{
@@ -82,6 +84,11 @@
             this.inputValue = value.replace(/[^\d.]/g, '')  // 1. 鍘婚櫎闈炴暟瀛楀拰灏忔暟鐐�
                 .replace(/(\..*)\./g, '$1')               // 2. 绂佹澶氫釜灏忔暟鐐�
                 .replace(/^\./g, '');    
+        },
+        handleNumberInput4(value) {
+            // 鍘婚櫎闈炴暟瀛楀苟纭繚棣栦綅涓嶄负0锛堥櫎闈炴槸鍗曠嫭鐨�0锛�
+            this.jymxData.ybsl = value.replace(/[^\d]/g, '') // 鍘婚櫎闈炴暟瀛楀瓧绗�
+                .replace(/^0+(?!$)/, ''); // 鍘婚櫎寮�澶寸殑0锛岄櫎闈炴暣涓瓧绗︿覆鏄�0
         },
 
         togglePopup(index) {
@@ -351,6 +358,40 @@
         updateRemarks(guid) {
             this.showDialog= true
         },
+        EditYangLi(GUID) {
+            // 鍒囨崲鎸囧畾绱㈠紩鐨� popup 鐘舵��
+            var that = this;
+
+            if (!that.jymxData.ybsl) {
+                this.$toast.fail("鏍锋湰鏁颁笉鑳戒负绌�");
+                that.isLoading = false;
+                return;
+            }
+
+            var mxguid = that.tableData[that.tabActive].guid;//妫�楠岄」鐩殑guid
+            var input = that.jymxData.ybsl;
+            that.isLoading = true;
+            that.AxiosHttp("post", 'MesQaItemsDetect01Manager/EditYangLi', {
+                dt05Guid: mxguid,
+                fSeq: "鏍锋湰鏁�",
+                fVal: input,
+            }, true, 1).then(function (res1) {
+                if (res1.rtnData.outSum == 1) {
+                    that.$notify({
+                        type: 'success', message: res1.rtnMsg
+                    });
+                    that.okValue = null;
+                    that.refreshJYItem();//鍒锋柊妫�楠岄」鐩�
+                } else {
+                    that.$toast.fail(res1.rtnMsg);
+                }
+                that.isLoading = false;
+            }).catch(function (error) {
+                that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
+                that.isLoading = false;
+            });
+        },
+
         deleteDetail13(guid13) {
             const that = this;
             

--
Gitblit v1.9.3