|
|
|
@ -482,22 +482,17 @@
|
|
|
|
|
param.tableId = r.tableId |
|
|
|
|
param.username = res.username |
|
|
|
|
let res2 =await this.getAction('/hy/processMaterialsAllot/getOne', param) |
|
|
|
|
console.log('res>>>>>>>>>>>>>>>>>>', res2) |
|
|
|
|
if (res2.success) { |
|
|
|
|
if (res2.result) { |
|
|
|
|
/* if (param.username==res2.result.relateId) {*/ |
|
|
|
|
console.log("/////////**************>") |
|
|
|
|
this.lcModa.isPlanType = true; |
|
|
|
|
this.lcModa.isSourceCapital = true; |
|
|
|
|
this.lcModa.disabled = false; |
|
|
|
|
// } |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
let res1=await this.getAction('/hy/processMaterialsAllot/getLast', param) |
|
|
|
|
console.log('res>>>>>>>>>>>>>>fdsafdsaf>>>>', res1) |
|
|
|
|
if (res1.success) { |
|
|
|
|
if (res1.result) { |
|
|
|
|
if (param.username==res1.result.relateId){ |
|
|
|
|
if (param.username==res1.result.username){ |
|
|
|
|
this.lcModa.isPlanType = true; |
|
|
|
|
this.lcModa.isSourceCapital = true; |
|
|
|
|
this.lcModa.disabled = false; |
|
|
|
|