From 68ad4cf704c0a7c575936455d07e3e2f53fefbc4 Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期五, 26 三月 2021 14:29:26 +0800
Subject: [PATCH] 1.0.5 1.小太阳需求改动
---
src/main/webapp/views/pda/stockOut.html | 24 +++++++++++++++++++++---
1 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/views/pda/stockOut.html b/src/main/webapp/views/pda/stockOut.html
index dc59be6..0ab5c4d 100644
--- a/src/main/webapp/views/pda/stockOut.html
+++ b/src/main/webapp/views/pda/stockOut.html
@@ -24,6 +24,12 @@
<!-- 澶撮儴 -->
<header class="layui-form">
<div class="layui-input-inline">
+ <label class="layui-form-label">鍗曞彿</label>
+ <div class="layui-input-block">
+ <input class="layui-input" type="text" id="billNo" onkeyup="findByBillNo(this)" autocomplete="off">
+ </div>
+ </div>
+ <div class="layui-input-inline">
<label class="layui-form-label">鐗╂枡</label>
<div class="layui-input-block">
<input class="layui-input" type="text" id="matNo" onkeyup="findByMatNo(this)" autocomplete="off">
@@ -62,7 +68,7 @@
<script>
window.onload = function(){
- document.getElementById("matNo").focus();
+ document.getElementById("billNo").focus();
getOutBound();
}
@@ -87,13 +93,25 @@
$("#locNo").val("");
find(null, el.value);
}
- function find(locNo, matNo) {
+
+ /**
+ * 鏍规嵁閫氱煡鍗曞彿鏌ユ壘搴撳瓨鏄庣粏
+ * */
+ function findByBillNo(el) {
+ if (isEmpty(el.value)) {
+ return;
+ }
+ find(null, null, el.value);
+ }
+
+ function find(locNo, matNo, billNo) {
$.ajax({
url: baseUrl + "/mobile/locDetl",
headers: {'token': localStorage.getItem('token')},
data: {
locNo: locNo,
- matNo: matNo
+ matNo: matNo,
+ supplier: billNo,
},
method: 'POST',
success: function (res) {
--
Gitblit v1.9.1