From 157abc191c34e57c1b958ae74fc3de6518ca8a30 Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期五, 28 二月 2025 11:06:36 +0800
Subject: [PATCH] 修改客户需求
---
HTML/views/ASNSetting/LabelPrintSelect.html | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/HTML/views/ASNSetting/LabelPrintSelect.html b/HTML/views/ASNSetting/LabelPrintSelect.html
index 09fa573..d7a2ea3 100644
--- a/HTML/views/ASNSetting/LabelPrintSelect.html
+++ b/HTML/views/ASNSetting/LabelPrintSelect.html
@@ -122,9 +122,9 @@
});
var id = getQueryString('Id');
- var SupplierLot=getQueryString('SupplierLot');//渚涜揣鎵规
- $('#SupplierLot').val(SupplierLot);
- console.log(SupplierLot);
+ //var SupplierLot=getQueryString('SupplierLot');//渚涜揣鎵规
+ //$('#SupplierLot').val(SupplierLot);
+ //console.log(SupplierLot);
var asnType = getQueryString('Type');
console.log(asnType);
console.log(asnType == 4);
@@ -141,7 +141,12 @@
synData(IP + "/BllAsn/GetAsnDetailQtyList", param , 'get', function (res) {
if (res.code == 0) { //鎴愬姛
- $("#arriveQty").val(res.data);
+ $("#arriveQty").val(res.data.Qty);
+ $("#productionTime").val(res.data.ProductionTime);
+ $("#expirationTime").val(res.data.ExpirationTime);
+ $("#storeTime").val(res.data.StoreTime);
+ $("#SupplierLot").val(res.data.SupplierLot);
+ console.log(res.data);
} else { //涓嶆垚鍔�
layer.msg(res.msg, {
icon: 2,
@@ -211,6 +216,13 @@
if (r != null) return unescape(r[2]);
return null;
}
+ // 鑾峰彇浼犻�掑弬鏁�
+ function getQueryString2(name) {
+ var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
+ var r = window.location.search.substr(1).match(reg);
+ if (r != null) return unescape(r[2]);
+ return null;
+ }
})
</script>
--
Gitblit v1.8.0