资金隶属维度

master
xy 1 year ago
parent 834b5efe51
commit ca9edea512

@ -361,6 +361,30 @@
</div>
</div>
</template>
<template #dimension>
<div class="xy-table-item">
<div class="xy-table-item-label">
资金隶属维度
</div>
<div class="xy-table-item-content">
<el-select
placeholder="隶属维度选择"
clearable
size="small"
v-model="form.dimension"
style="width: 300px"
>
<el-option
v-for="item in [1,2,3,4]"
:label="item"
:value="item"
:key="item"
>
</el-option>
</el-select>
</div>
</div>
</template>
<template v-slot:year>
<div class="xy-table-item">
<div class="xy-table-item-label">
@ -543,6 +567,30 @@
</div>
</div>
</template>
<template #dimension>
<div class="xy-table-item">
<div class="xy-table-item-label">
资金隶属维度
</div>
<div class="xy-table-item-content">
<el-select
placeholder="隶属维度选择"
clearable
size="small"
v-model="editorForm.dimension"
style="width: 300px"
>
<el-option
v-for="item in [1,2,3,4]"
:label="item"
:value="item"
:key="item"
>
</el-option>
</el-select>
</div>
</div>
</template>
<template v-slot:year>
<div class="xy-table-item">
<div class="xy-table-item-label">
@ -732,6 +780,7 @@ export default {
isTree: true,
form: {
pid: "0",
dimension: 1,
name: "",
type: "",
year: "",
@ -1094,6 +1143,7 @@ export default {
type: this.form.type,
year: this.form.year,
content: this.form.content,
dimension: this.form.dimension,
money: moneyRecovery(this.form.money),
plan_department_id: this.form.department,
plan_department_links: plan_department_links,
@ -1147,6 +1197,7 @@ export default {
type: this.editorForm.type,
year: this.editorForm.year,
content: this.editorForm.content,
dimension: this.editorForm.dimension,
money: moneyRecovery(this.editorForm.money),
update_money: moneyRecovery(this.editorForm.update_money),
remark: this.editorForm.remark,
@ -1178,6 +1229,7 @@ export default {
id: res.id,
name: res.name,
type: res.type,
dimension: res.dimension,
department: res.plan_department_id,
money: moneyFormatter(res.money),
update_money: moneyFormatter(res.update_money),

Loading…
Cancel
Save