@ -370,8 +370,8 @@
< / e l - f o r m >
< el -form :inline ="true" label -position = " top " :model ="componentData" :rules ="componentRules" style = "margin-left: 5px" >
< el -form -item style = "margin-left: 235px" prop = "setupLaborClassNo" >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(2 17, 2)" > < a herf = "#" > 调机过程中人员等级 < / a > < / span >
< el -input v-model ="componentData.setupLaborClassNo" @blur="setupLaborClassBlur(2 17)" style="width: 70px" > < / el -input >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(5 17, 2)" > < a herf = "#" > 调机过程中人员等级 < / a > < / span >
< el -input v-model ="componentData.setupLaborClassNo" @blur="setupLaborClassBlur(5 17)" style="width: 70px" > < / el -input >
< el -input v-model ="componentData.setupLaborClassDesc" disabled style="width: 148px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m >
@ -389,8 +389,8 @@
< / e l - s e l e c t >
< / e l - f o r m - i t e m >
< el -form -item prop = "laborClassNo" >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(2 17, 1)" > < a herf = "#" > 人员等级 < / a > < / span >
< el -input v-model ="componentData.laborClassNo" @blur="laborClassBlur(2 17)" style="width: 70px" > < / el -input >
< span style = "cursor: pointer" slot = "label" @ click = "getBaseList(5 17, 1)" > < a herf = "#" > 人员等级 < / a > < / span >
< el -input v-model ="componentData.laborClassNo" @blur="laborClassBlur(5 17)" style="width: 70px" > < / el -input >
< el -input v-model ="componentData.laborClassDesc" disabled style="width: 148px" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m >
@ -3494,14 +3494,14 @@ export default {
this . $nextTick ( ( ) => {
let strVal = ''
let conSql = ''
if ( this . modalData . bu === null || this . modalData . bu === '' ) {
this . $message . warning ( "请选择BU!" )
retur n
} else {
conSql = " and site = '" + this . modalData . bu . split ( '_' ) [ 0 ] + "'" + " and bu_no = '" + this . modalData . bu . split ( '_' ) [ 1 ] + "' "
}
if ( val === 2 17) {
if ( type === 1 ) {
/ / i f ( t h i s . m o d a l D a t a . b u = = = n u l l | | t h i s . m o d a l D a t a . b u = = = ' ' ) {
/ / t h i s . $ m e s s a g e . w a r n i n g ( " 请 选 择 B U ! " )
/ / r e t u r n
/ / } e l s e {
/ / c o n S q l = " a n d s i t e = ' " + t h i s . m o d a l D a t a . b u . s p l i t ( ' _ ' ) [ 0 ] + " ' " + " a n d b u _ n o = ' " + t h i s . m o d a l D a t a . b u . s p l i t ( ' _ ' ) [ 1 ] + " ' "
/ / }
if ( val === 5 17) {
if ( type === 1 ) {
strVal = this . componentData . laborClassNo
} else if ( type === 2 ) {
strVal = this . componentData . setupLaborClassNo
@ -3519,7 +3519,7 @@ export default {
* @ param val
* /
getBaseData ( val ) {
if ( this . tagNo === 2 17) {
if ( this . tagNo === 5 17) {
if ( this . tagNo1 === 1 ) {
this . componentData . laborClassNo = val . class_no
this . componentData . laborClassDesc = val . class_desc
@ -3596,7 +3596,7 @@ export default {
if ( this . componentData . setupLaborClassNo != null && this . componentData . setupLaborClassNo !== '' ) {
let tempData = {
tagno : tagNo ,
conditionSql : " and class_no = '" + this . componentData . setupLaborClassNo + "'" + " and site = '" + this . modalData . site + "'" + " and bu_no = '" + this . modalData . buNo + "'"
conditionSql : " and class_no = '" + this . componentData . setupLaborClassNo + "'" + " and site = '" + this . modalData . site + "'"
}
verifyData ( tempData ) . then ( ( { data } ) => {
if ( data && data . code === 0 ) {
@ -3616,7 +3616,7 @@ export default {
if ( this . componentData . laborClassNo != null && this . componentData . laborClassNo !== '' ) {
let tempData = {
tagno : tagNo ,
conditionSql : " and class_no = '" + this . componentData . laborClassNo + "'" + " and site = '" + this . modalData . site + "'" + " and bu_no = '" + this . modalData . buNo + "'"
conditionSql : " and class_no = '" + this . componentData . laborClassNo + "'" + " and site = '" + this . modalData . site + "'"
}
verifyData ( tempData ) . then ( ( { data } ) => {
if ( data && data . code === 0 ) {