From 55dfc2d5eeb31b8420c4fe502d926cad9d353e70 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期三, 28 九月 2022 17:01:37 +0800
Subject: [PATCH] 车间工序全程跟踪报表 、工序在制品报表纵向、不良明细良率报表、车间生产汇报统计表
---
WebTM/views/验收入库/产品入库/Kf_ProductInBill_Fast.html | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
index be596dd..a0f6726 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
@@ -79,8 +79,8 @@
</div>
<div class="layui-col-xs8">
<select name="HBillType" id="HBillType">
- <option value="3710">鐢熶骇璁㈠崟</option>
<option value="3711">鐢熶骇姹囨姤鍗�</option>
+ <option value="3710">鐢熶骇璁㈠崟</option>
</select>
</div>
</div>
@@ -96,9 +96,9 @@
<div class="layui-col-xs8">
<input type="text" name="HSourceBillNo" id="HSourceBillNo" lay-verify="HSourceBillNo" autocomplete="off" class="layui-input">
</div>
- <div class="layui-col-xs2">
+ <!--<div class="layui-col-xs2">
<button type="button" lay-submit="" class="layui-btn" lay-filter="QueDin2">纭畾</button>
- </div>
+ </div>-->
</div>
</div>
</div>
@@ -421,6 +421,7 @@
$("#HBillNo").val(d.data[0].HBillNo);
$("#HBillType").val(d.data[0].HSourceBillType);
$("#HSourceBillNo").val(d.data[0].HSourceBillNo);
+ $("#HSourceBillNo").attr("disabled", "true");
//$("#HWHID").val(d.data[0].HWhID);
//$("#HStockPlaceID").val(d.data[0].HSPID);
//$("#HKeeperID").val(d.data[0].HKeeperID);
@@ -759,12 +760,7 @@
});
form.on('submit(Cancel)', function () {
- //sessionStorage["SourceFlag"] = false;
- //parent.location.href = "../../../views/index.html"
- //window.close();//鍏抽棴褰撳墠椤�
- layer.confirm('鎮ㄧ‘瀹氳閫�鍑哄悧锛�', { icon: 3, title: '鎻愮ず' }, function (index) {
- window.close();
- });
+ parent.location.href = "../../../views/index.html"
})
////鍒犻櫎
@@ -1358,11 +1354,12 @@
var listOption = {
elem: '#wl-table'
, toolbar: '#toolbarDemo'
+ , totalRow: true
, cellMinWidth: 90
, cols: [[
{ type: 'radio' }
- , { field: 'HQty', title: '鏁伴噺', width: 150 }
- , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 150 }
+ , { field: 'HQty', title: '鏁伴噺', width: 150, totalRow: true}
+ , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 150, totalRow: true }
, { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 }
, { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
, { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
@@ -1428,8 +1425,10 @@
data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo },
success: function (result) {
if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
- $("#HDeptID").val(result.data[0].HDeptID);
- $("#HDeptName").val(result.data[0].HDeptName);
+ if (result.data[0].HDeptID != 0) {
+ $("#HDeptID").val(result.data[0].HDeptID);
+ $("#HDeptName").val(result.data[0].HDeptName);
+ }
playSound1();
HSourceFlag = true;
layer.load(3)
@@ -1439,12 +1438,13 @@
//, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
, toolbar: '#toolbarDemo'
+ , totalRow: true
, defaultToolbar: []
, where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
, cols: [[
{ type: 'radio' }
- , { field: 'HQty', title: '鏁伴噺', width: 150 }
- , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 150 }
+ , { field: 'HQty', title: '鏁伴噺', width: 150, totalRow: true}
+ , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 150, totalRow: true}
, { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 }
, { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
, { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
--
Gitblit v1.9.1