| | |
| | | deep: true |
| | | }, |
| | | }, |
| | | mounted() { |
| | | mounted() { |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | return acc; |
| | | }, {}); |
| | | |
| | | const arrCode = Object.entries(filteredObj).map(([key, value]) => { |
| | | /*const arrCode = Object.entries(filteredObj).map(([key, value]) => { |
| | | return { |
| | | secOid: key, |
| | | secValue: value |
| | | } |
| | | }) |
| | | })*/ |
| | | |
| | | this.ruleFormFlag = Object.values(codeApplyForm).every(value => { |
| | | return value !== null && value !== undefined && value !== ''; |
| | |
| | | this.loading=true; |
| | | let params = {}; |
| | | params['codeRuleOid'] = this.ruleOid; |
| | | |
| | | Object.keys(arrCode).forEach((key) => { |
| | | params[key] = arrCode[key]; |
| | | Object.keys(filteredObj).forEach((key) => { |
| | | params[key] = filteredObj[key]; |
| | | }); |
| | | |
| | | getMaxSerialNumber(params).then(res => { |
| | | this.formModel.maxSecNum = res.data.data; |
| | | this.loading=false; |
| | | this.maxNum=res.data.data |
| | | }); |
| | | |
| | | } |
| | | }, |
| | | |