|
|
|
|
@ -1,6 +1,19 @@ |
|
|
|
|
<template> |
|
|
|
|
<el-dialog title="详情" append-to-body :modelValue="openShow" width="30%" @close="closeDialog"> |
|
|
|
|
<avue-form ref="form" v-model="form" :option="option"></avue-form> |
|
|
|
|
<avue-form ref="form" v-model="form" :option="option" > |
|
|
|
|
<template #planBuyManName="{}"> |
|
|
|
|
{{ form.planBuyManName?row.planBuyManName:'-' }} |
|
|
|
|
</template> |
|
|
|
|
<template #needStatus="{}"> |
|
|
|
|
{{ form.needStatus?row.needStatus:'-' }} |
|
|
|
|
</template> |
|
|
|
|
<template #erpBuyCode="{}"> |
|
|
|
|
{{ form.erpBuyCode?row.erpBuyCode:'-' }} |
|
|
|
|
</template> |
|
|
|
|
<template #buyManName="{}"> |
|
|
|
|
{{ form.buyManName?row.buyManName:'-' }} |
|
|
|
|
</template> |
|
|
|
|
</avue-form> |
|
|
|
|
|
|
|
|
|
<template #footer> |
|
|
|
|
<span class="dialog-footer"> |
|
|
|
|
@ -30,6 +43,7 @@ export default { |
|
|
|
|
submitBtn: false, |
|
|
|
|
emptyBtn: false, |
|
|
|
|
labelWidth: 'auto', |
|
|
|
|
labelPosition:'right', |
|
|
|
|
column: [ |
|
|
|
|
{ |
|
|
|
|
label: '采购部计划员名称', |
|
|
|
|
@ -80,6 +94,8 @@ export default { |
|
|
|
|
init() { |
|
|
|
|
detailData({ id: this.rowItem.id }).then(res => { |
|
|
|
|
this.form = res.data.data; |
|
|
|
|
}).catch(error => { |
|
|
|
|
console.error('获取详情失败', error); |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
closeDialog() { |
|
|
|
|
|