diff --git a/pages/apply/dynamicModelList/form.vue b/pages/apply/dynamicModelList/form.vue index 870a5aa..97821a9 100644 --- a/pages/apply/dynamicModelList/form.vue +++ b/pages/apply/dynamicModelList/form.vue @@ -536,8 +536,8 @@ if(this.config.current || this.isProcess){ titleName = this.config.name + '详情' }else { - const name = this.dataForm.id ? this.$t('common.editText') : this.$t('common.addText') - titleName = name + this.config.name + const text = this.dataForm.id ? this.$t('common.editText') : this.$t('common.addText') + titleName = text + this.config.name } return titleName } @@ -1472,10 +1472,13 @@ operateType: this.dataForm.id ? 1 : 0, attachments: data.attachment, data: { - ...formData + ...formData, + eDate: this.formatTime(formData.eDate), + sDate: this.formatTime(formData.sDate), } } const formMethod = createModel; + console.log(params,'params---') formMethod(this.modelId, params).then(res => { uni.showToast({ title:'保存成功',