From cba0ef063a24b5b965bfa943cf1c8d2c8acba84a Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期四, 03 八月 2023 10:16:43 +0800
Subject: [PATCH] 排产 工艺路线的加工数量排产需要 生产入库 单据号改成流转卡号
---
WebTM/views/计划管理/工艺路线/Gy_RoutingBill.html | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git "a/WebTM/views/\350\256\241\345\210\222\347\256\241\347\220\206/\345\267\245\350\211\272\350\267\257\347\272\277/Gy_RoutingBill.html" "b/WebTM/views/\350\256\241\345\210\222\347\256\241\347\220\206/\345\267\245\350\211\272\350\267\257\347\272\277/Gy_RoutingBill.html"
index a9bdc2e..d90b2ee 100644
--- "a/WebTM/views/\350\256\241\345\210\222\347\256\241\347\220\206/\345\267\245\350\211\272\350\267\257\347\272\277/Gy_RoutingBill.html"
+++ "b/WebTM/views/\350\256\241\345\210\222\347\256\241\347\220\206/\345\267\245\350\211\272\350\267\257\347\272\277/Gy_RoutingBill.html"
@@ -503,7 +503,7 @@
elem: '#mainTable'
, toolbar: '#toolbarDemo'
, limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲�
- , cellMinWidth: 120
+ //, cellMinWidth: 120
, height: 400
, cols: [[ //琛ㄥご
{ type: 'checkbox', totalRowText: '鍚堣琛�' }
@@ -532,7 +532,7 @@
//, { field: 'HPicNum', title: '鍥剧焊缂栧彿', edit: 'text' }
//, { field: 'HTimeUnit', title: '鏃堕棿鍗曚綅', edit: 'text' }
//, { field: 'HUnitTime', title: '杩愯鏃堕棿', edit: 'text' }
- //, { field: 'HWorkQty', title: '鍔犲伐鏁伴噺', edit: 'text' }//榛樿
+ , { field: 'HWorkQty', title: '鍔犲伐鏁伴噺', edit: 'text' }//榛樿
//, { field: 'HPassRate', title: '鑹巼', edit: 'text' }//榛樿
//, { field: 'HProcID_S', title: '宸ユ', edit: 'text' }
////, { field: 'HCenterID_S', title: '浜х嚎涓績id', hide: true }//hide: true
@@ -1153,7 +1153,7 @@
, area: ['90%', '90%']//澶у皬
, title: '鐗╂枡琛�'//鏍囬
, shift: 2//寮瑰嚭鍔ㄧ敾
- , content: ['../../Baseset/鍩虹璧勬枡/Gy_MaterialList_LSQP.html', 'yes']
+ , content: ['../../Baseset/鍩虹璧勬枡/Gy_MaterialList.html', 'yes']
, btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
@@ -1169,7 +1169,7 @@
$("#HUnitID").val(checkStatus.data[0].HUnitID);//璁¢噺鍗曚綅id
$("#HUnitName").val(checkStatus.data[0].HUnitName);//璁¢噺鍗曚綅鍚嶇О
if ($("#HName").val() == "") {
- $("#HName").val(checkStatus.data[0].HNumber + '/' + checkStatus.data[0].HName + '/' + checkStatus.data[0].HModel);
+ $("#HName").val(checkStatus.data[0].HNumber);
}
layer.close(index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
@@ -1348,7 +1348,7 @@
data: { "sWhere": "" },
success: function (result) {
if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
- if (result.data == "true") {
+ if (result.data.Gy_RoutingBill_SaveAutoLastProc == "Y") {
$("#IsProNo").val("1");
$("input[name='checkboxIsProNo']").prop("checked", true);
form.render("checkbox");
@@ -2094,6 +2094,7 @@
for (var i = 0; i < option.data.length; i++) {
if (option.data[i]["HProcNo"] == data[0]["HProcNo"]) {
tables.push(option.data[i - 1]);
+ data[0].LAY_CHECKED = true;
option.data[i - 1] = data[0];
option.data[i] = tables[0];
table.render(option);
@@ -2114,6 +2115,7 @@
for (var i = 0; i < option.data.length; i++) {
if (option.data[i]["HProcNo"] == data[0]["HProcNo"]) {
tables.push(option.data[i + 1]);
+ data[0].LAY_CHECKED = true;
option.data[i + 1] = data[0];
option.data[i] = tables[0];
table.render(option);
--
Gitblit v1.9.1