@ -118,7 +118,7 @@ function beforeSend() {
var zlydbh = $ ( "#TB_ZLYDBH" ) . val ( ) ;
var zlydbh = $ ( "#TB_ZLYDBH" ) . val ( ) ;
if ( jsbzxybh !== undefined && jsbzxybh !== null ) {
if ( jsbzxybh !== undefined && jsbzxybh !== null ) {
if ( zlydbh !== undefined && zlydbh !== null ) {
if ( zlydbh !== undefined && zlydbh !== null ) {
var JSXYSP = "SELECT JSBZXYBH,ZLYDBH FROM Frm_JiShuXieYiShenPi WHERE JSBZXYBH='" + jsbzxybh . trim ( ) + "' AND ZLYDBH='" + zlydbh . trim ( ) + "' AND WFState = '2'" ;
var JSXYSP = "SELECT JSBZXYBH,ZLYDBH FROM Frm_JiShuXieYiShenPi WHERE JSBZXYBH='" + jsbzxybh . trim ( ) + "' AND OID !=" + workid + " AND ZLYDBH='" + zlydbh . trim ( ) + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( JSXYSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( JSXYSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
alert ( "该技术协议编号:“" + jsbzxybh . trim ( ) + "”与质量要点编号:“" + zlydbh . trim ( ) + "”已经发起审批。" ) ;
alert ( "该技术协议编号:“" + jsbzxybh . trim ( ) + "”与质量要点编号:“" + zlydbh . trim ( ) + "”已经发起审批。" ) ;
@ -126,7 +126,7 @@ function beforeSend() {
}
}
}
}
else {
else {
var JSXYSP = "SELECT JSBZXYBH,ZLYDBH FROM Frm_JiShuXieYiShenPi WHERE JSBZXYBH='" + jsbzxybh . trim ( ) + "' AND WFState = '2'";
var JSXYSP = "SELECT JSBZXYBH,ZLYDBH FROM Frm_JiShuXieYiShenPi WHERE JSBZXYBH='" + jsbzxybh . trim ( ) + "' AND OID !=" + workid + " AND WFState = '2'";
var isHave = DBAccess . RunSQLReturnTable ( JSXYSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( JSXYSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
alert ( "该技术协议编号:“" + jsbzxybh . trim ( ) + "”已经发起审批。" ) ;
alert ( "该技术协议编号:“" + jsbzxybh . trim ( ) + "”已经发起审批。" ) ;
@ -136,7 +136,7 @@ function beforeSend() {
}
}
else {
else {
if ( zlydbh !== undefined && zlydbh !== null ) {
if ( zlydbh !== undefined && zlydbh !== null ) {
var JSXYSP = "SELECT JSBZXYBH,ZLYDBH FROM Frm_JiShuXieYiShenPi WHERE ZLYDBH='" + zlydbh . trim ( ) + "' AND WFState = '2'";
var JSXYSP = "SELECT JSBZXYBH,ZLYDBH FROM Frm_JiShuXieYiShenPi WHERE ZLYDBH='" + zlydbh . trim ( ) + "' AND OID !=" + workid + " AND WFState = '2'";
var isHave = DBAccess . RunSQLReturnTable ( JSXYSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( JSXYSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
alert ( "该质量要点编号:“" + zlydbh . trim ( ) + "”已经发起审批。" ) ;
alert ( "该质量要点编号:“" + zlydbh . trim ( ) + "”已经发起审批。" ) ;
@ -277,7 +277,7 @@ function beforeSend() {
var bh = ccfrom [ "TB_PC_NO" ] . value ;
var bh = ccfrom [ "TB_PC_NO" ] . value ;
//大棒轧钢工艺卡
//大棒轧钢工艺卡
if ( fk _flow == '004' ) {
if ( fk _flow == '004' && nodeID == '401' ) {
var JSXYSP = "SELECT PC_NO FROM Frm_DBZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var JSXYSP = "SELECT PC_NO FROM Frm_DBZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( JSXYSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( JSXYSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -289,7 +289,7 @@ function beforeSend() {
}
}
//219钢管厂轧管工艺卡
//219钢管厂轧管工艺卡
if ( fk _flow == '013 ') {
if ( fk _flow == '013 ' && nodeID == '1301 ') {
var GYKSP = "SELECT PC_NO FROM Frm_F219GGCZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM Frm_F219GGCZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -298,7 +298,7 @@ function beforeSend() {
}
}
}
}
//460钢管厂轧管工艺卡
//460钢管厂轧管工艺卡
if ( fk _flow == '015 ') {
if ( fk _flow == '015 ' && nodeID == '1501 ') {
var GYKSP = "SELECT PC_NO FROM Frm_F460GGCZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM Frm_F460GGCZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -307,7 +307,7 @@ function beforeSend() {
}
}
}
}
//170钢管厂热处理工艺卡
//170钢管厂热处理工艺卡
if ( fk _flow == '014 ') {
if ( fk _flow == '014 ' && nodeID == '1401 ') {
var GYKSP = "SELECT PC_NO FROM Frm_F170GGCRCLGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM Frm_F170GGCRCLGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -316,7 +316,7 @@ function beforeSend() {
}
}
}
}
//170钢管厂轧管工艺卡
//170钢管厂轧管工艺卡
if ( fk _flow == '010 ') {
if ( fk _flow == '010 ' && nodeID == '1001 ') {
var GYKSP = "SELECT PC_NO FROM Frm_F170GGCZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM Frm_F170GGCZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -325,7 +325,7 @@ function beforeSend() {
}
}
}
}
//扁棒厂轧钢工艺卡
//扁棒厂轧钢工艺卡
if ( fk _flow == '038 ') {
if ( fk _flow == '038 ' && nodeID == '3801 ') {
var GYKSP = "SELECT PC_NO FROM FB_STEEL_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM FB_STEEL_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -334,7 +334,7 @@ function beforeSend() {
}
}
}
}
//小棒厂热处理(调质)工艺卡
//小棒厂热处理(调质)工艺卡
if ( fk _flow == '032 ') {
if ( fk _flow == '032 ' && nodeID == '3201 ') {
var GYKSP = "SELECT PC_NO FROM SS_TEMPER_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM SS_TEMPER_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -343,7 +343,7 @@ function beforeSend() {
}
}
}
}
//大棒厂轧钢工艺卡
//大棒厂轧钢工艺卡
if ( fk _flow == '004 ') {
if ( fk _flow == '004 ' && nodeID == '401 ') {
var GYKSP = "SELECT PC_NO FROM Frm_DBZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM Frm_DBZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -352,7 +352,7 @@ function beforeSend() {
}
}
}
}
//中棒厂轧钢工艺卡
//中棒厂轧钢工艺卡
if ( fk _flow == '019 ') {
if ( fk _flow == '019 ' && nodeID == '1901 ') {
var GYKSP = "SELECT PC_NO FROM Frm_ZBCZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM Frm_ZBCZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -361,7 +361,7 @@ function beforeSend() {
}
}
}
}
//小棒厂轧钢工艺卡
//小棒厂轧钢工艺卡
if ( fk _flow == '020 ') {
if ( fk _flow == '020 ' && nodeID == '2001 ') {
var GYKSP = "SELECT PC_NO FROM Frm_XBCZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM Frm_XBCZGGYK WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -370,7 +370,7 @@ function beforeSend() {
}
}
}
}
//小棒厂热处理工艺卡
//小棒厂热处理工艺卡
if ( fk _flow == '03 1') {
if ( fk _flow == '03 1' && nodeID == '310 1') {
var GYKSP = "SELECT PC_NO FROM SS_HEATT_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM SS_HEATT_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -379,7 +379,7 @@ function beforeSend() {
}
}
}
}
//特冶厂真空自耗炼钢工艺卡
//特冶厂真空自耗炼钢工艺卡
if ( fk _flow == '047 ') {
if ( fk _flow == '047 ' && nodeID == '4701 ') {
var GYKSP = "SELECT PC_NO FROM SSP_VIM_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM SSP_VIM_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -388,7 +388,7 @@ function beforeSend() {
}
}
}
}
//特冶厂电渣炼钢工艺卡
//特冶厂电渣炼钢工艺卡
if ( fk _flow == '044 ') {
if ( fk _flow == '044 ' && nodeID == '4401 ') {
var GYKSP = "SELECT PC_NO FROM SSP_ES_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM SSP_ES_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -397,7 +397,7 @@ function beforeSend() {
}
}
}
}
//特冶厂真空感应炼钢工艺卡
//特冶厂真空感应炼钢工艺卡
if ( fk _flow == '048 ') {
if ( fk _flow == '048 ' && nodeID == '4801 ') {
var GYKSP = "SELECT PC_NO FROM SSP_VI_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM SSP_VI_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -406,7 +406,7 @@ function beforeSend() {
}
}
}
}
//电炉厂连铸炼钢工艺卡
//电炉厂连铸炼钢工艺卡
if ( fk _flow == '028 ') {
if ( fk _flow == '028 ' && nodeID == '2801 ') {
var GYKSP = "SELECT PC_NO FROM EFF_CCS_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM EFF_CCS_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -415,7 +415,7 @@ function beforeSend() {
}
}
}
}
//电炉厂自耗母材炼钢工艺卡
//电炉厂自耗母材炼钢工艺卡
if ( fk _flow == '046 ') {
if ( fk _flow == '046 ' && nodeID == '4601 ') {
var GYKSP = "SELECT PC_NO FROM SSP_CBM_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM SSP_CBM_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -424,7 +424,7 @@ function beforeSend() {
}
}
}
}
//电炉厂电渣母材炼钢工艺卡
//电炉厂电渣母材炼钢工艺卡
if ( fk _flow == '045 ') {
if ( fk _flow == '045 ' && nodeID == '4501 ') {
var GYKSP = "SELECT PC_NO FROM SSP_EBM_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM SSP_EBM_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -433,7 +433,7 @@ function beforeSend() {
}
}
}
}
//电炉厂模铸炼钢工艺卡
//电炉厂模铸炼钢工艺卡
if ( fk _flow == '043 ') {
if ( fk _flow == '043 ' && nodeID == '4301 ') {
var GYKSP = "SELECT PC_NO FROM EFF_DCS_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM EFF_DCS_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -442,7 +442,7 @@ function beforeSend() {
}
}
}
}
//电炉系列连铸工艺卡
//电炉系列连铸工艺卡
if ( fk _flow == '050 ') {
if ( fk _flow == '050 ' && nodeID == '5001 ') {
var GYKSP = "SELECT PC_NO FROM EFF_CC_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM EFF_CC_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -451,7 +451,7 @@ function beforeSend() {
}
}
}
}
//电炉厂钢锭炼钢工艺卡
//电炉厂钢锭炼钢工艺卡
if ( fk _flow == '023 ') {
if ( fk _flow == '023 ' && nodeID == '2301 ') {
var GYKSP = "SELECT PC_NO FROM SSP_SIR_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM SSP_SIR_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -460,7 +460,7 @@ function beforeSend() {
}
}
}
}
//转炉厂炼钢工艺卡
//转炉厂炼钢工艺卡
if ( fk _flow == '025 ') {
if ( fk _flow == '025 ' && nodeID == '2501 ') {
var GYKSP = "SELECT PC_NO FROM CP_SM_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM CP_SM_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -469,7 +469,7 @@ function beforeSend() {
}
}
}
}
//转炉系列连铸工艺卡
//转炉系列连铸工艺卡
if ( fk _flow == '049 ') {
if ( fk _flow == '049 ' && nodeID == '4901 ') {
var GYKSP = "SELECT PC_NO FROM CS_CC_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM CS_CC_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -478,7 +478,7 @@ function beforeSend() {
}
}
}
}
//锻造厂锻造工艺卡
//锻造厂锻造工艺卡
if ( fk _flow == '024 ') {
if ( fk _flow == '024 ' && nodeID == '2401 ') {
var GYKSP = "SELECT PC_NO FROM TF_FORGING_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM TF_FORGING_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -487,7 +487,7 @@ function beforeSend() {
}
}
}
}
//锻造厂热处理工艺卡
//锻造厂热处理工艺卡
if ( fk _flow == '033 ') {
if ( fk _flow == '033 ' && nodeID == '3301 ') {
var GYKSP = "SELECT PC_NO FROM TF_HEATT_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM TF_HEATT_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -496,7 +496,7 @@ function beforeSend() {
}
}
}
}
//锻造厂调质工艺卡
//锻造厂调质工艺卡
if ( fk _flow == '040 ') {
if ( fk _flow == '040 ' && nodeID == '4001 ') {
var GYKSP = "SELECT PC_NO FROM TF_TEMPER_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM TF_TEMPER_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -505,7 +505,7 @@ function beforeSend() {
}
}
}
}
//锻造厂固溶时效工艺卡
//锻造厂固溶时效工艺卡
if ( fk _flow == '04 1') {
if ( fk _flow == '04 1' && nodeID == '410 1') {
var GYKSP = "SELECT PC_NO FROM TF_SA_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM TF_SA_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {
@ -514,7 +514,7 @@ function beforeSend() {
}
}
}
}
//锻造厂固溶球化退火工艺卡
//锻造厂固溶球化退火工艺卡
if ( fk _flow == '062' ) {
if ( fk _flow == '062' && nodeID == '6201' ) {
var GYKSP = "SELECT PC_NO FROM TF_SSA_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var GYKSP = "SELECT PC_NO FROM TF_SSA_PC WHERE PC_NO='" + bh + "' AND WFState = '2'" ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
var isHave = DBAccess . RunSQLReturnTable ( GYKSP ) ;
if ( isHave . length > 0 ) {
if ( isHave . length > 0 ) {