| | |
| | | span: 6, |
| | | type: 'switch', |
| | | },{ |
| | | display: this.form.isPersistence | this.form.isPersistence=='true', |
| | | display: this.form.isPersistence || this.form.isPersistence=='true', |
| | | label: '参照配置编号', |
| | | prop: 'id', |
| | | tip: '设置该参照配置持久化存储时的编号。', |
| | |
| | | }], |
| | | span: 6, |
| | | },{ |
| | | display: this.form.isPersistence | this.form.isPersistence=='true', |
| | | display: this.form.isPersistence || this.form.isPersistence=='true', |
| | | label: '参照配置名称', |
| | | prop: 'name', |
| | | tip: '设置该参照配置持久化存储时的名称。', |
| | |
| | | // console.log(val.referConfig); |
| | | if(func.notEmpty(val.referConfig)){ |
| | | this.form = JSON.parse(val.referConfig); |
| | | this.form.isPersistence = this.form.isPersistence == 'true'||this.form.isPersistence ? true:false; |
| | | // 参照引用的业务类型不可选 |
| | | // this.referTypeIsReadOnly = true; |
| | | if((this.form.type == 'default' || this.form.type == 'grid') && (this.form.codeShowFieldConfigVOS != undefined && this.form.codeShowFieldConfigVOS.length > 0)){ |
| | |
| | | ]; |
| | | } |
| | | // 开启持久化参照配置 |
| | | if(oldForm.isPersistence=='true' | oldForm.isPersistence){ |
| | | if(oldForm.isPersistence=='true' || oldForm.isPersistence){ |
| | | submittDefaultForm = submittDefaultForm.concat(['id','name']) |
| | | } |
| | | submittDefaultForm = submittDefaultForm.concat(addArray); |