|
|
|
@ -138,7 +138,8 @@
|
|
|
|
|
return { |
|
|
|
|
heid: true, |
|
|
|
|
isabled: true, |
|
|
|
|
libraryAssociationIdInvisible: 'ZK', |
|
|
|
|
libraryAssociationIdInvisible: undefined, |
|
|
|
|
libraryInvisible: undefined, |
|
|
|
|
labelCol: { |
|
|
|
|
xs: { span: 24 }, |
|
|
|
|
sm: { span: 6 } |
|
|
|
@ -241,7 +242,7 @@
|
|
|
|
|
// defaultValue: '' |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
title: '调拨目标', |
|
|
|
|
title: '接收调拨目标', |
|
|
|
|
key: 'allotTarget', |
|
|
|
|
type: FormTypes.sel_search, |
|
|
|
|
dictCode: '', |
|
|
|
@ -329,7 +330,8 @@
|
|
|
|
|
processPlan: { rules: [{ required: true, message: '请选择流程计划!' }] } |
|
|
|
|
}, |
|
|
|
|
bigIdMerchandiseNewsList: [], |
|
|
|
|
materialGroupId: undefined |
|
|
|
|
materialGroupId: undefined, |
|
|
|
|
materialTypeRecord: undefined |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
props: { |
|
|
|
@ -520,8 +522,8 @@
|
|
|
|
|
//你的逻辑代码 |
|
|
|
|
let par = { |
|
|
|
|
delFlag: 0, |
|
|
|
|
descriptionId: value |
|
|
|
|
|
|
|
|
|
descriptionId: value, |
|
|
|
|
departId: this.libraryInvisible |
|
|
|
|
} |
|
|
|
|
this.bigIdMerchandiseNewsList = [] |
|
|
|
|
let qc = [] |
|
|
|
@ -618,9 +620,10 @@
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
materialType(val) { |
|
|
|
|
if (val !== undefined) { |
|
|
|
|
this.materialTypeRecord = val; |
|
|
|
|
if (!!val && !!this.libraryInvisible ) { |
|
|
|
|
this.heid = false |
|
|
|
|
this.descriptionFetchData(val) |
|
|
|
|
this.descriptionFetchData(val,this.libraryInvisible) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
/*回显数据*/ |
|
|
|
@ -837,7 +840,7 @@
|
|
|
|
|
//1、文件回显 |
|
|
|
|
this.data = getRecord(this.data) |
|
|
|
|
} |
|
|
|
|
console.log(this.data.haveAndNot,"------------666666666666665555555555555555") |
|
|
|
|
// console.log(this.data.haveAndNot,"------------666666666666665555555555555555") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let fieldval = pick(this.data, 'id', 'company', 'createTime', 'departId', 'createBy', 'materialType', 'beAllotDepartment', 'fileId', 'haveAndNot') |
|
|
|
@ -921,14 +924,19 @@
|
|
|
|
|
if (value !== null || value !== '' || value !== undefined) { |
|
|
|
|
let params = {} |
|
|
|
|
params.unit = value |
|
|
|
|
this.libraryInvisible = value; |
|
|
|
|
console.log('value>>>>>>>>>>>>>>>>>>>>>>>>>>>>', value); |
|
|
|
|
getAction(this.url.puwwlistByuntil, params).then((rest) => { |
|
|
|
|
console.log('rest>>>>>>>>>>>>>>>>>>>>>>>>>>>>', rest) |
|
|
|
|
// console.log('rest>>>>>>>>>>>>>>>>>>>>>>>>>>>>', rest) |
|
|
|
|
if (rest.success && rest.result.total > 0) { |
|
|
|
|
this.libraryAssociationIdInvisible = value |
|
|
|
|
} else { |
|
|
|
|
this.libraryAssociationIdInvisible = 'ZK' |
|
|
|
|
} |
|
|
|
|
console.log('value>>>>>>>>>>>>>>>>>>>>>>>>>>>>', this.libraryAssociationIdInvisible) |
|
|
|
|
if(!!this.materialTypeRecord){ |
|
|
|
|
this.heid = false |
|
|
|
|
this.descriptionFetchData(this.materialTypeRecord,value); |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|