From b2a607f3b2b29a45ea87fde2a5c2c3d9c4e1d9ab Mon Sep 17 00:00:00 2001
From: wbc <2597324127@qq.com>
Date: 星期四, 13 十一月 2025 15:24:23 +0800
Subject: [PATCH] Merge branch 'master' of http://43.142.96.171:8080/r/~cnf/JH/JH_PdaClient
---
H5/Js/Sctl.js | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/H5/Js/Sctl.js b/H5/Js/Sctl.js
index b757f6a..002a44f 100644
--- a/H5/Js/Sctl.js
+++ b/H5/Js/Sctl.js
@@ -82,12 +82,12 @@
var json = res;
if (json.status == 0) {
that.ItemDetail = json.data.tbBillList;
- that.$refs.sectionCode.focus();
+ //that.$refs.sectionCode.focus();
}
else {
that.$toast.fail(json.message);
that.$refs.billNo.focus();
- that.ItemDetail = null;
+ that.ItemDetail = [];
that.billNo = null;
}
that.isLoading = false;
@@ -96,7 +96,7 @@
that.isLoading = false;
that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
that.$refs.billNo.focus();
- that.ItemDetail = null;
+ that.ItemDetail = [];
that.billNo = null;
console.log(error);
});
@@ -180,15 +180,22 @@
that.itemNo = json.data.tbBillList.itemNo;
that.sms = json.data.tbBillList.num;
that.$notify({ type: 'success', message: '鎵弿鎴愬姛' });
+ that.getMesItemTblDetailByBillNo();
+ that.$refs.barcode.focus();
+ that.barcode = null;
}
else {
that.$toast.fail(json.message);
+ that.$refs.barcode.focus();
+ that.barcode = null;
}
that.isLoading = false;
})
.catch(function (error) {
that.isLoading = false;
that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
+ that.$refs.barcode.focus();
+ that.barcode = null;
console.log(error);
});
},
--
Gitblit v1.9.3