|
|
@@ -184,7 +184,6 @@
|
|
|
}
|
|
|
this.excute(this.$service.collectService, this.$service.collectService.checkProdUserCode, params).then(res => {
|
|
|
if (res.code === this.$config.SUCCESS_CODE) {
|
|
|
- this.onProdUserCodeFlag = false
|
|
|
this.formData.prodUserId = parseInt(res.data)
|
|
|
}
|
|
|
//没有打卡
|
|
|
@@ -196,6 +195,7 @@
|
|
|
},
|
|
|
{
|
|
|
ok: () => {
|
|
|
+ this.onProdUserCodeFlag = false
|
|
|
this.$router.push('/pdm/ws-clock/clock-user')
|
|
|
},
|
|
|
cancel: () => {
|
|
|
@@ -206,6 +206,8 @@
|
|
|
this.$Message.error(res.message)
|
|
|
}
|
|
|
})
|
|
|
+ }else{
|
|
|
+ this.onProdUserCodeFlag = false
|
|
|
}
|
|
|
},
|
|
|
/**
|