给部分表增加启用状态和排序字段,完善对应页面

This commit is contained in:
季圣华
2022-08-26 01:52:48 +08:00
parent f8e542cbcc
commit b6cf6d4ac3
16 changed files with 132 additions and 57 deletions

View File

@@ -25,6 +25,9 @@
<a-select-option value="支出">支出</a-select-option>
</a-select>
</a-form-item>
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="排序">
<a-input placeholder="请输入排序" v-decorator.trim="[ 'sort' ]" />
</a-form-item>
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="备注">
<a-textarea :rows="2" placeholder="请输入备注" v-decorator="[ 'remark' ]" />
</a-form-item>
@@ -80,7 +83,7 @@
this.model = Object.assign({}, record);
this.visible = true;
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model,'name', 'type', 'remark'))
this.form.setFieldsValue(pick(this.model,'name', 'type', 'sort', 'remark'))
autoJumpNextInput('inOutItemModal')
});
},