From c0b6dc25287cdb0753c174a57c0c898ddcb50b41 Mon Sep 17 00:00:00 2001
From: YL <YL@LAPTOP-SE03PLUR>
Date: 星期三, 16 二月 2022 22:16:18 +0800
Subject: [PATCH] 采购入库单页签代码恢复及修改
---
WebTM/views/验收入库/外购入库/Kf_POStockInBill_Fast.html | 53 ++++++++++++++++++++++++++++++-----------------------
WebTM/views/仓存管理/仓库调拨/Kf_MoveStockBill_Fast.html | 1 +
WebTM/views/领料发货/销售出库/Kf_SellOutBill_Fast.html | 3 ++-
3 files changed, 33 insertions(+), 24 deletions(-)
diff --git "a/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_Fast.html" "b/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_Fast.html"
index cb618e1..2d04920 100644
--- "a/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_Fast.html"
+++ "b/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\344\273\223\345\272\223\350\260\203\346\213\250/Kf_MoveStockBill_Fast.html"
@@ -1126,6 +1126,7 @@
layer.closeAll("loading");
}
});
+ $("#HSourceBillNo").attr("disabled", "true");
}
else {
playSound();
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html"
index 6f2062c..7c46755 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html"
@@ -391,7 +391,7 @@
$("#HBillNo").val(d.data[0].HBillNo);
$("#HBillType").val(d.data[0].HSourceBillType);
$("#HSourceBillNo").val(d.data[0].HSourceBillNo);
-
+ $("#HSourceBillNo").attr("disabled", "true");
HSourceFlag = true;
//$("#HWHID").val(d.data[0].HWhID);
//$("#HStockPlaceID").val(d.data[0].HSPID);
@@ -1225,6 +1225,7 @@
layer.close(index);
}
});
+ $("#HSourceBillNo").attr("disabled", "true");
layer.close(index);
}
else {
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBill_Fast.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBill_Fast.html"
index c55af06..5cc9fe2 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBill_Fast.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBill_Fast.html"
@@ -49,7 +49,7 @@
<li lay-id="2" style="padding:1px;">鍗曟嵁淇℃伅</li>
<li lay-id="3" style="padding:1px;">鐗╂枡娓呭崟</li>
<li lay-id="4" style="padding:1px;">鏄庣粏娓呭崟</li>
- <li lay-id="4" style="padding:1px;">鍚堣淇℃伅</li>
+ <li lay-id="5" style="padding:1px;">鍚堣淇℃伅</li>
</ul>
<div class="layui-tab-content">
<!--婧愬崟淇℃伅-->
@@ -895,12 +895,41 @@
if (result.data.hSourceBillTypeField == "1102") {
$("#HBillType").val("1102");
}
+ else if (result.data.hSourceBillTypeField == "1103") {
+ $("#HBillType").val("1103");
+ }
+ else {
+ $("#HBillType").val("鎵嬪伐褰曞叆");
+ }
$("#HNote").val(";鐗╂枡鏉$爜");
element.tabChange('tab-POStockInBill', '3');
}
}
layer.load(3)
+ table.render({
+ elem: '#wl-table'
+ , url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json'
+ , where: { HBillID: sInterID, HBillType: '1201', sWhere: '' }
+ , cellMinWidth: 115
+ , cols: [[
+ { type: 'radio' }
+ , { field: 'HQty', title: '鏁伴噺', sort: true, width: 100 }
+ , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', sort: true, width: 100 }
+ , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', sort: true, width: 200 }
+ , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', sort: true, width: 200 }
+ , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', sort: true, width: 200 }
+ , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', sort: true, width: 200 }
+ , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', sort: true, width: 200 }
+ , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', sort: true, width: 200 }
+ , { field: 'HBatchNo', title: '鎵规', sort: true, width: 200 }
+ ]]
+ , height: 500
+ , done: function () {
+ layer.closeAll("loading");
+ }
+ });
+
$.ajax({
url: GetWEBURL() + '/MateOutBill/DisBillEntryList_Webs_New_Json1',
type: "GET",
@@ -935,28 +964,6 @@
});
}
});
- var listOption = {
- elem: '#wl-table'
- , toolbar: '#toolbarDemo'
- , cellMinWidth: 90
- , cols: [[
- { type: 'radio' }
- , { field: 'HSNO', title: '搴忓彿', width: 60 }
- , { field: 'HQty', title: '鏁伴噺', width: 80 }
- , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', width: 80 }
- , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 }
- , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
- , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
- , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
- , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
- , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
- , { field: 'HBatchNo', title: '鎵规', width: 150 }
- ]]
- , height: 500
- , done: function () {
- layer.closeAll("loading");
- }
- }
function playSound() {
var audio = document.getElementById("cs");
--
Gitblit v1.9.1