Merge remote-tracking branch 'origin/master'
| | |
| | | let value='' |
| | | formItemList.forEach((formItem) => { |
| | | formItem = this.resetFormConfig(formItem); |
| | | // console.log('formItem',formItem) |
| | | console.log('formItem',formItem) |
| | | // console.log('formItem.dicData.value',formItem.dicData) |
| | | if (formItem.type === "line") { |
| | | group.push({ |
| | |
| | | field: formItem.field, |
| | | type: this.columnType[formItem.type], |
| | | dicData: this.getDataList(formItem.type, formItem.data), |
| | | disabled: this.type === "detail" ? true : formItem.readOnly, |
| | | disabled: this.type === "detail" ? true : formItem.readOnly || (formItem.codeValueApplyStatus && formItem.codeValueApplyStatus == 2 ?true : false) , |
| | | prepend: this.preOrSufFixShow("text", formItem.prefix), |
| | | append: this.preOrSufFixShow("text", formItem.suffix), |
| | | prefixIcon: this.preOrSufFixShow("icon", formItem.prefix), |
| | |
| | | placeholder: formItem.inputTip, |
| | | comboxKey: formItem.comboxKey, |
| | | tip: formItem.tooltips, |
| | | // readonly:true, |
| | | // readonly:formItem.codeValueApplyStatus && formItem.codeValueApplyStatus == 2 ?true : false , |
| | | display: !formItem.hidden, |
| | | maxlength: formItem.maxlength, |
| | | filterable: true, |
| | |
| | | ); |
| | | }, |
| | | setReferValue(data) { |
| | | console.log(data) |
| | | if (data.field) { |
| | | this.form[data.field] = data.value || ""; |
| | | this.form[data.showField] = data.text || ""; |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | //码值的第二种只读隐藏情况 |
| | | codeValueApplyStatus:'', |
| | | loading: false, |
| | | submitBtnLoading: false, |
| | | hasResemble: false, |
| | |
| | | //编码规则查询 |
| | | SelectFindeHandler(){ |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.MasterdefaultRend(masterParameter) |
| | | }, |
| | | //编码规则失焦 |
| | |
| | | //关键属性查询 |
| | | KeySelectFindeHandler(){ |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.KeydefaultRend(masterParameter) |
| | | }, |
| | | //关键属性接口 |
| | |
| | | //相似项查询 |
| | | SimSelectFindeHandler(){ |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.simdefaultRend(masterParameter) |
| | | }, |
| | | //相似项多选 |
| | |
| | | //业务类型查询 |
| | | BtmSelectFindeHandler(){ |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.btmdefaultRend(masterParameter); |
| | | }, |
| | | //业务类型多选 |
| | |
| | | //编码规则查询 |
| | | SelectFindeHandler() { |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.MasterdefaultRend(masterParameter) |
| | | }, |
| | | //编码规则确定 |
| | |
| | | //关键属性查询 |
| | | KeySelectFindeHandler() { |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.KeydefaultRend(masterParameter) |
| | | }, |
| | | //关键属性接口 |
| | |
| | | //相似项查询 |
| | | SimSelectFindeHandler() { |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.simdefaultRend(masterParameter) |
| | | }, |
| | | // 相似项多选 |
| | |
| | | //业务类型查询 |
| | | BtmSelectFindeHandler() { |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.btmdefaultRend(masterParameter); |
| | | }, |
| | | //业务类型多选 |
| | |
| | | isMuti: false |
| | | } |
| | | } |
| | | console.log('referConfig',this.referConfig) |
| | | }, |
| | | mounted() { |
| | | var title = this.referConfig.title || ''; |
| | |
| | | this.value=newV.value; |
| | | this.$emit("setReferValue", newV); |
| | | } |
| | | } |
| | | }, |
| | | } |
| | | } |
| | | </script> |