提交 0d5eb1c3 编写于 作者: KK's avatar KK

Revert "表单调整"

This reverts commit b527a327.
上级 7e51e113
......@@ -139,11 +139,11 @@ import { Util } from '@/ibiz-core/utils';
/**
* 重置表单项值
*
* @protected
* @private
* @param {{ name: string, newVal: any, oldVal: any }} { name, newVal, oldVal }
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
protected resetFormData({ name, newVal, oldVal }: { name: string, newVal: any, oldVal: any }): void {
private resetFormData({ name, newVal, oldVal }: { name: string, newVal: any, oldVal: any }): void {
<#list ctrl.getPSDEFormItems() as item>
<#if item.getResetItemName?? && item.getResetItemName()??>
if (Object.is(name, '${item.getResetItemName()}')) {
......@@ -159,11 +159,11 @@ import { Util } from '@/ibiz-core/utils';
/**
* 表单逻辑
*
* @protected
* @private
* @param {{ name: string, newVal: any, oldVal: any }} { name, newVal, oldVal }
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
protected async formLogic({ name, newVal, oldVal }: { name: string, newVal: any, oldVal: any }){
private async formLogic({ name, newVal, oldVal }: { name: string, newVal: any, oldVal: any }){
<#if P.getPartCode(item,'FORM_LOGIC').code?length gt 0>
${P.getPartCode(item,'FORM_LOGIC').code}
</#if>
......@@ -458,10 +458,10 @@ import { Util } from '@/ibiz-core/utils';
/**
* 重置草稿表单状态
*
* @protected
* @private
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
protected resetDraftFormStates(): void {
private resetDraftFormStates(): void {
const form: any = this.$refs.${ctrl.name};
if (form) {
// form.resetValidation();
......@@ -515,12 +515,12 @@ import { Util } from '@/ibiz-core/utils';
/**
* 表单加载完成
*
* @protected
* @private
* @param {*} [data={}]
* @param {string} [action]
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
protected onFormLoad(data: any = {},action:string): void {
private onFormLoad(data: any = {},action:string): void {
this.setFormEnableCond(data);
this.fillForm(data,action);
<#if ctrl.getControlType() == 'FORM'>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册