Browse Source

客户需求管理工作台

pull/87/head
wangxy 3 years ago
parent
commit
59c561175b
1 changed files with 24 additions and 1 deletions
  1. +24
    -1
      src/views/plan/workbench/homePage/beta/predict/predictEdit.vue

+ 24
- 1
src/views/plan/workbench/homePage/beta/predict/predictEdit.vue View File

@ -81,6 +81,20 @@
placeholder="请输入" />
</template>
</el-table-column>
<el-table-column label="使用组织" width="180">
<template #default="scope">
<el-select
v-model="scope.row['AP_CustDemandVerDetail-FUseOrgNo']"
:disabled="item.title === '修改' && formData['AP_CustDemandVerHead-Status'] === '1'"
placeholder="请选择"
style="width:100%;">
<el-option v-for="item in orgListArray"
:key="item['FNumber']"
:label="item['FName']"
:value="item['FNumber']" />
</el-select>
</template>
</el-table-column>
<el-table-column v-for="(item1, index) in headers" :key="index" :label="item1" width="130">
<template #default="scope">
<el-input
@ -165,11 +179,13 @@ export default {
AriId:undefined
},
getCreateModeArray: [], //
orgListArray: [],
CustDemandVerDetail: {},
}
},
mounted() {
this.getCreateModeData()
this.getOrgListData()
if (this.item.title === '修改') {
this.handleUpdate(this.item.CustomerId, this.item.VersionId)
} else if (this.item.title === '复制') {
@ -185,7 +201,6 @@ export default {
Item: JSON.parse(JSON.stringify(this.defaultItem)),
CustDemandVerDetail: this.CustDemandVerDetail
})
console.log(this.formData['AP_CustDemandVerHead-CustomerItem'])
},
/** 删除属性 */
handleDeleteValst(index) {
@ -199,6 +214,14 @@ export default {
}
})
},
// 使
getOrgListData() {
get(`/admin/common/org/list`).then(res => {
if (res.code === 200) {
this.orgListArray = res.data || []
}
})
},
handleAdd(CustomerId) { //
this.formData['AP_CustDemandVerHead-CustomerId'] = this.item.CustomerId
this.formData['AP_CustDemandVerHead-CreateMode'] = this.item.CreateModel


Loading…
Cancel
Save