From 2064a18ced91483f8fffcc57b99af1b5e2ee0787 Mon Sep 17 00:00:00 2001 From: fanlin Date: Sat, 24 Jul 2021 16:56:28 +0800 Subject: [PATCH] =?UTF-8?q?bug:=20=E5=9B=BD=E5=86=85=E6=A0=87=E5=87=86?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=8F=90=E4=BA=A4=E5=90=8E=EF=BC=8C=E5=AE=9E?= =?UTF-8?q?=E6=96=BD=E6=97=A5=E6=9C=9F=E9=83=BD=E5=8F=98=E6=88=90=E4=BA=86?= =?UTF-8?q?1910-01-01=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domesticStandardsAndRegulations/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 => {