From 7296835f8b7992a94e7f50cfa94331ab0e83b212 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期一, 10 二月 2025 09:14:02 +0800
Subject: [PATCH] 1.生产领料优化 “拆分领料”。
---
H5/Scll.aspx | 3 ++-
H5/Js/Scll.js | 16 ++++++++++++++--
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/H5/Js/Scll.js b/H5/Js/Scll.js
index 4d57c7b..b87acaf 100644
--- a/H5/Js/Scll.js
+++ b/H5/Js/Scll.js
@@ -62,6 +62,11 @@
// that.scanInfo = json.data.tbBillList;
that.getModel();
}
+ else if (json.status == 2) {
+ that.$refs.splitNum.focus();
+ that.scanInfo.splitNum = json.data.tbBillList.splitNum;
+ that.scanInfo.barcodeNum = json.data.tbBillList.barcodeNum;
+ }
else {
that.$toast.fail(json.message);
that.$refs.barcode.focus();
@@ -91,15 +96,22 @@
return;
}
that.isLoading = true;
- that.AxiosHttp("post", 'Womdaa/ScanCode', {
+ that.AxiosHttp("post", 'Womdaa/ScanCodeCF', {
daa001: that.modeInfo.daa001,
userName: that.userInfo.loginAccount,
barcode: that.scanInfo.barcode,
+ Num: that.scanInfo.splitNum,
}, false)
.then(function (res) {
var json = res;
if (json.status == 0) {
- // that.modeInfo = json.data.tbBillList;
+ // that.modeInfo = json.data.tbBillList;
+ that.scanInfo.splitNum = null;
+ that.scanInfo.barcodeNum = null;
+ that.scanInfo.barcode = null;
+ that.$notify({ type: 'success', message: json.message });
+ that.$refs.barcode.focus();
+ that.getModel();
}
else {
that.$toast.fail(json.message);
diff --git a/H5/Scll.aspx b/H5/Scll.aspx
index f9cb494..adb8188 100644
--- a/H5/Scll.aspx
+++ b/H5/Scll.aspx
@@ -51,6 +51,7 @@
disabled
></van-field>
<van-field
+ ref="splitNum"
v-model="scanInfo.splitNum"
center
clearable
@@ -101,5 +102,5 @@
<comback ></comback>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
- <script src="Js/Scll.js?<%=1233 %>"></script>
+ <script src="Js/Scll.js?<%=123331 %>"></script>
</asp:Content>
--
Gitblit v1.9.3