From d777d043b6dc98a332981bd40c79ce077a19f472 Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期四, 11 九月 2025 14:13:26 +0800
Subject: [PATCH] 七喜代码

---
 H5/Js/BarCfBefore.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/H5/Js/BarCfBefore.js b/H5/Js/BarCfBefore.js
index 526f35f..ced1062 100644
--- a/H5/Js/BarCfBefore.js
+++ b/H5/Js/BarCfBefore.js
@@ -10,7 +10,7 @@
             formData: {
                 barcode: "",
                 itemNo: "",
-                sumQuantity: 0
+                sumQuantity:0
             },
             itemInsFormData: {},
             tableData: [],
@@ -66,7 +66,7 @@
         //},
         getScan() {
             var that = this;
-
+             
             that.isLoading = true;
             that.AxiosHttp("post", 'MesBarCF/GetBarInfoBefore', {
                 barcode: that.formData.barcode,
@@ -74,7 +74,7 @@
                 .then(function (res) {
                     var json = res;
                     if (json.status == 0) {
-
+                        
                         that.formData.sumQuantity = json.data.tbBillList.quantity;
 
                         that.formData.itemNo = json.data.tbMesItems.itemNo;
@@ -115,12 +115,12 @@
                 that.$toast.fail("鎷嗗垎鏁伴噺涓嶈兘涓虹┖锛�");
                 return;
             }
-            // ... existing code ...
+
             if (parseFloat(that.formData.cfNum) > parseFloat(that.formData.sumQuantity)) {
                 that.$toast.fail("鎷嗗垎鏁伴噺涓嶈兘澶т簬鏉$爜鏁伴噺锛�");
                 return;
             }
-            // ... existing code ...
+
             if (that.formData.barcode.length * 1 <= 0) {
                 that.$toast.fail("鐗╂枡鏉$爜涓嶈兘涓虹┖锛�");
                 return;

--
Gitblit v1.9.3