From ffb60aa5633e37478884cee210b161d277acbdbb Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 09 八月 2022 16:05:25 +0800
Subject: [PATCH] 报工平台 维护
---
WebTM/views/生产管理/报工台工序/产量汇报/Sc_ProductReportStepBillList_Web.html | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\344\272\247\351\207\217\346\261\207\346\212\245/Sc_ProductReportStepBillList_Web.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\344\272\247\351\207\217\346\261\207\346\212\245/Sc_ProductReportStepBillList_Web.html"
index 3641ad7..febc824 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\344\272\247\351\207\217\346\261\207\346\212\245/Sc_ProductReportStepBillList_Web.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\344\272\247\351\207\217\346\261\207\346\212\245/Sc_ProductReportStepBillList_Web.html"
@@ -461,8 +461,8 @@
var InterID = data[0].HInterID.toString();
var HICMOInID = data[0].HSourceInterID.toString();
var HICMOEnID = data[0].HSourceEntryID.toString();
- var HRelationInterID = data[0].HRelationInterID.toString();
- if (HRelationInterID == 1) {
+ var HBillStatus = data[0].HBillStatus.toString();
+ if (HBillStatus == 2) {
layer.msg('鍗曟嵁宸叉姤妫�瀹℃牳鏃犳硶鍒犻櫎锛�');
return false;
}
@@ -516,7 +516,6 @@
var checkStatus = table.checkStatus('mainTable')
, data = checkStatus.data;
if (checkStatus.data.length === 1) {
- console.log(JSON.stringify(data))
var HBillStatus = data[0].HBillStatus.toString(); //鍗曟嵁鐘舵��
var HSourceID = data[0].HSourceID.toString(); //鐢熶骇璧勬簮ID
var HSourceInterID = data[0].HSourceInterID.toString(); //婧愬崟涓诲唴鐮�
@@ -573,7 +572,7 @@
var HICMOInterID = data[0].HICMOInterID.toString();//鐢熶骇璁㈠崟涓籌D
var HICMOEntryID = data[0].HICMOEntryID.toString();//鐢熶骇璁㈠崟瀛怚D
var HInterID = data[0].HInterID.toString();//浜ч噺姹囨姤涓存椂琛ㄤ富ID
- if (HBillStatus = 1 || HBillStatus>2) {
+ if (HBillStatus == 1 || HBillStatus>2) {
layer.msg('鍗曟嵁鏈鏍革紝涓嶉渶瑕佸弽瀹℃牳鎴栬�呭崟鎹凡鐢熸晥涓嶅厑璁稿弽瀹℃牳锛�');
return false;
}
--
Gitblit v1.9.1