[运维] -合同同步数据-匹配负责人时增加员工号;打印增加数据异常的判断
This commit is contained in:
@@ -59,7 +59,7 @@ export default {
|
||||
},
|
||||
// 通过其他的信息 赋值,如 姓名、部门、员工号
|
||||
setValueByOtherInfo(otherInfo) {
|
||||
let ele = this.userList.find(tt => tt.realname === otherInfo.realname && tt.orgCodeTxt === otherInfo.orgCodeTxt)
|
||||
let ele = this.userList.find(tt => tt.realname === otherInfo.realname && tt.orgCodeTxt === otherInfo.orgCodeTxt && tt.workNo === otherInfo.workNo)
|
||||
if( ele) {
|
||||
this.$emit('change', ele.id)
|
||||
}
|
||||
|
||||
+2
-1
@@ -805,7 +805,8 @@ export default {
|
||||
// 负责人信息的处理 todo 需要增加员工号的判断
|
||||
let userInfo = {
|
||||
realname: obj.realname, // 申请人
|
||||
orgCodeTxt: obj.orgCodeTxt // 申请部门
|
||||
orgCodeTxt: obj.orgCodeTxt, // 申请部门
|
||||
workNo: obj.workNo // 申请人工号
|
||||
}
|
||||
this.$refs.selectPrincipal.setValueByOtherInfo(userInfo)
|
||||
// 签订单位信息的处理
|
||||
|
||||
@@ -244,4 +244,5 @@ let ConnectionKey = {
|
||||
'contractAmount': 'contAmountLc', //签订合同总金额 --合同金额(人民币)
|
||||
'rate': 'taxRate', //税率--税率
|
||||
'noTaxAmount': 'contUntaxAmountLc', //未税金额--未税金额(人民币)
|
||||
'workNo': 'userno', //申请人工号
|
||||
}
|
||||
|
||||
@@ -953,7 +953,8 @@ export default {
|
||||
// 负责人信息的处理 todo 需要增加员工号的判断
|
||||
let userInfo = {
|
||||
realname: obj.realname, // 申请人
|
||||
orgCodeTxt: obj.orgCodeTxt // 申请部门
|
||||
orgCodeTxt: obj.orgCodeTxt, // 申请部门
|
||||
workNo: obj.workNo // 申请人工号
|
||||
}
|
||||
this.$refs.selectPrincipal.setValueByOtherInfo(userInfo)
|
||||
|
||||
|
||||
@@ -82,6 +82,7 @@ export default {
|
||||
getPostContactDetail(id) {
|
||||
getPrintPostContactByMailId({ id: id }).then(res => {
|
||||
console.log(res)
|
||||
res.result = res.result || {}
|
||||
this.mailDetail.contactAddress = res.result.contactAddress
|
||||
this.mailDetail.postalCode = res.result.postalCode
|
||||
console.log(this.mailDetail)
|
||||
|
||||
Reference in New Issue
Block a user