diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index b7a97c8e7..6c2fae52d 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -2281,6 +2281,7 @@ export default { }, // 编辑标准属性 selectStandardPro (item, state) { + debugger this.id = item.id this.collectId = item.collectId this.addOrUPdateFlag = 2 @@ -3096,6 +3097,7 @@ export default { }, // 保存或修改标准 saveOrUpdateStands () { + debugger this.isSubmit = true this.$refs['sarStandardsInfoForm'].validate((valid) => { if (valid) { @@ -3122,7 +3124,7 @@ export default { const value = nowstandinfo[item.attrField] // 时间格式处理 if (item.attrType === 'DATE_PICKER' && value) { - nowstandinfo[item.attrField] = this.$dateFormat(this.sarStandardsInfoEO[item.attrField], 'yyyy-MM-dd hh:mm:ss') + nowstandinfo[item.attrField] = this.sarStandardsInfoEO[item.attrField] } // 数组处理 if (item.attrType === 'SEL_OPTION' || item.attrType === 'SEL_OPTS') { @@ -3133,6 +3135,7 @@ export default { sarStandAttrObj[item.attrField] = nowstandinfo[item.attrField] }) nowstandinfo['sarStandAttrEOStr'] = JSON.stringify(sarStandAttrObj).replace(/"/g, "'") + console.log(nowstandinfo, '提交参数') this.$http.postData(this.addOrUPdateFlag === 1 ? 'sarStandardsInfo/sar-standards-info/addarStandardsInfo' : 'sarStandardsInfo/sar-standards-info/updateSarStandardsInfo', nowstandinfo, { _this: this }, res => {