|
|
@ -350,7 +350,7 @@ |
|
|
|
></el-input> |
|
|
|
<el-cascader |
|
|
|
v-else |
|
|
|
v-model="form.parentCode" |
|
|
|
v-model="form.categoryCode" |
|
|
|
:options="demandOptions" |
|
|
|
:props="{label: 'categoryName',value: 'categoryCode',children: 'childCateList'}" |
|
|
|
:disabled="disabled" |
|
|
@ -743,7 +743,7 @@ export default { |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "需求类型", |
|
|
|
columnName: "categoryName", |
|
|
|
columnName: "categoryAllName", |
|
|
|
align: "center", |
|
|
|
width: "", |
|
|
|
options: [], |
|
|
@ -1062,10 +1062,7 @@ export default { |
|
|
|
} |
|
|
|
if (addType == "edit") { |
|
|
|
await this.getDemandUserList(); |
|
|
|
this.demandOptions.forEach((item) => { |
|
|
|
if (item.value === row.categoryCode) |
|
|
|
this.form.categoryCode = [row.categoryCode]; |
|
|
|
}); |
|
|
|
this.form.categoryCode = [row.parentCode,row.categoryCode]; |
|
|
|
this.demandUserList.forEach((item) => { |
|
|
|
if (item.demandUserId == row.demandUserId) |
|
|
|
this.selectDemandUser = item.label; |
|
|
@ -1076,7 +1073,6 @@ export default { |
|
|
|
}, |
|
|
|
async handleLook(row, type) { |
|
|
|
this.detailShow = true; |
|
|
|
console.log("row", row); |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs.ref_form_detail.initForm(row); |
|
|
|
}); |
|
|
|