给账户管理去掉当前余额列

This commit is contained in:
季圣华 2023-10-17 23:50:44 +08:00
parent b4d97b7fb0
commit f98406ab04
2 changed files with 3 additions and 7 deletions

View File

@ -128,8 +128,7 @@
{ title: '名称', dataIndex: 'name', width: 100, align: "left"},
{ title: '编号', dataIndex: 'serialNo', width: 150, align: "left"},
{ title: '期初金额', dataIndex: 'initialAmount', width: 100, align: "left"},
{ title: '当前余额', dataIndex: 'currentAmount', width: 100, align: "left"},
{ title: '备注', dataIndex: 'remark', width: 100, align: "left"},
{ title: '备注', dataIndex: 'remark', width: 200, align: "left"},
{ title: '排序', dataIndex: 'sort', width: 60, align: "left"},
{ title: '状态',dataIndex: 'enabled',width:60,align:"center",
scopedSlots: { customRender: 'customRenderEnabledFlag' }

View File

@ -13,7 +13,7 @@
@ok="handleOk"
@cancel="handleCancel"
cancelText="关闭"
style="top:15%;height: 65%;">
style="top:15%;height: 55%;">
<template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭
@ -30,9 +30,6 @@
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="期初金额">
<a-input placeholder="请输入期初金额" v-decorator.trim="[ 'initialAmount' ]" />
</a-form-item>
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="当前余额">
<a-input placeholder="请输入当前余额" :read-only="true" v-decorator.trim="[ 'currentAmount' ]" />
</a-form-item>
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="排序">
<a-input placeholder="请输入排序" v-decorator.trim="[ 'sort' ]" />
</a-form-item>
@ -90,7 +87,7 @@
this.model = Object.assign({}, record);
this.visible = true;
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model,'name', 'serialNo', 'initialAmount', 'currentAmount', 'sort', 'remark'))
this.form.setFieldsValue(pick(this.model,'name', 'serialNo', 'initialAmount', 'sort', 'remark'))
autoJumpNextInput('accountModal')
});
},