Merge remote-tracking branch 'origin/master'
| | |
| | | let slotColumnList = []; |
| | | formItemList.forEach((formItem) => { |
| | | formItem = this.resetFormConfig(formItem); |
| | | // console.log(formItem) |
| | | //属性码段规则 |
| | | if (formItem.secType === "codeattrsec") { |
| | | this.attrList.push(formItem); |
| | | } |
| | | //系列号规则 |
| | | //更改方式 |
| | | if (formItem.field === "codeStandardEditType") { |
| | | if (this.status === "amend") { |
| | | formItem.readOnly = true; |
| | |
| | | }); |
| | | return; |
| | | } |
| | | |
| | | if ( |
| | | formItem.type === "combox" && |
| | | formItem.comboxKey && |
| | |
| | | type: this.columnType[formItem.type], |
| | | dicData: this.getDataList(formItem.type, formItem.data), |
| | | disabled: this.type === "detail" ? true : formItem.readOnly || (formItem.codeValueApplyStatus && formItem.codeValueApplyStatus == 2 ? true : false) || |
| | | (this.status === 'amend' ? (formItem.field === "reviseSeries" ? (formItem.value == 'false' ? true : false) : false) : false), |
| | | ((formItem.name === "系列号" && this.status && (formItem.field === "reviseSeries" && formItem.value == 'false') ? true : false)), |
| | | prepend: this.preOrSufFixShow("text", formItem.prefix), |
| | | append: this.preOrSufFixShow("text", formItem.suffix), |
| | | prefixIcon: this.preOrSufFixShow("icon", formItem.prefix), |
| | |
| | | field: formItem.field, |
| | | type: this.columnType[formItem.type], |
| | | dicData: this.getDataList(formItem.type, formItem.data), |
| | | disabled: this.type === "detail" ? true : formItem.readOnly || (formItem.codeValueApplyStatus && formItem.codeValueApplyStatus == 2 ? true : false) || |
| | | (this.status ? (formItem.field === "reviseSeries" ? (formItem.value == 'false' ? true : false) : false) : false), |
| | | 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), |
| | |
| | | type: this.columnType[formItem.type], |
| | | dicData: this.getDataList(formItem.type, formItem.data), |
| | | disabled: this.type === "detail" ? true : formItem.readOnly || (formItem.codeValueApplyStatus && formItem.codeValueApplyStatus == 2 ? true : false) || |
| | | (this.status === 'amend' ? (formItem.field === "reviseSeries" ? (formItem.value == 'false' ? true : false) : false) : false), |
| | | ((formItem.name === "系列号" && this.status && (formItem.field === "reviseSeries" && formItem.value == 'false') ? true : false)), |
| | | prepend: this.preOrSufFixShow("text", formItem.prefix), |
| | | append: this.preOrSufFixShow("text", formItem.suffix), |
| | | prefixIcon: this.preOrSufFixShow("icon", formItem.prefix), |
| | |
| | | this.loading = true; |
| | | // const targetObject = this.characterReleasedList.find(obj => obj.oid === this.selectValue); |
| | | // const chartValue = targetObject.name; |
| | | getList({codeRuleId: this.select, chartType: "fillerChar", chartValue: this.characterValue}).then(res => { |
| | | getList({codeRuleId: this.select, chartType: "separator", chartValue: this.characterValue}).then(res => { |
| | | console.log(res.data.data); |
| | | this.tableData = res.data.data; |
| | | this.loading = false; |
| | |
| | | this.dataKeyList = this.selectData.map(obj => obj.code) |
| | | const btmName = this.dataKeyList.join(","); |
| | | if (btmName) { |
| | | // this.menuList=[ |
| | | // { |
| | | // menuData: [ |
| | | // [0, 0, 0, 0, 0, 0, 4, 9, 12, 12, 12, 12], |
| | | // [0, 0, 0, 0, 0, 0, 4, 5, 3, 0, 0, 0] |
| | | // ], |
| | | // code:1 |
| | | // }, |
| | | // { |
| | | // menuData: [ |
| | | // [0, 0, 0, 1, 1, 1, 1, 1, 1, 29, 5315, 5315], |
| | | // [0, 0, 0, 1, 0, 0, 0, 0, 0, 28, 5286, 0] |
| | | // ], |
| | | // code:2 |
| | | // }, |
| | | // { |
| | | // menuData: [ |
| | | // [0, 58, 60, 61, 75, 84, 145, 162, 166, 177, 186, 186], |
| | | // [0, 58, 2, 1, 14, 9, 61, 17, 4, 11, 9, 0] |
| | | // ], |
| | | // code:3 |
| | | // } |
| | | // ] |
| | | // this.nextSave(); |
| | | // this.$message.success('保存成功') |
| | | getStatisticAnalysis({btmNames: btmName}).then(res => { |
| | | this.menuList = res.data.data; |
| | | this.nextSave(); |
| | |
| | | const dataKey = typeList[item.codeType]; |
| | | if (dataKey) { |
| | | this[dataKey].push(item); |
| | | this[dataKey].forEach(res=>{ |
| | | console.log('res',res) |
| | | }) |
| | | hasValidData = true; |
| | | } |
| | | }); |