浏览代码

日期选择问题

gks 1 年之前
父节点
当前提交
2e706db679
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/ENTERPRISETRADEPERFORMANCE/index.vue

+ 2 - 1
src/views/ENTERPRISETRADEPERFORMANCE/index.vue

@@ -608,7 +608,8 @@ export default {
       const id = row.id || this.ids;
       getENTERPRISETRADEPERFORMANCE(id).then((response) => {
         this.form = response.data;
-        this.form.dateValue = this.form.year + '-' + this.form.month
+        this.$set(this.form,'dateValue',this.form.year + '-' + this.form.month);
+        // this.form.dateValue = this.form.year + '-' + this.form.month
         this.open = true;
         this.title = "修改企业贸易绩效数据(每个月填报)";
       });