ltao 2 жил өмнө
parent
commit
79b5dc5499

+ 6 - 4
src/views/combatduty/RateOfTen/index.vue

@@ -664,7 +664,7 @@ export default {
     // Cookies.set("shuaxin", "true");
     this.getLiuliang();
     getzbky().then((res) => {
-      this.zbky = res.msg;
+      this.zbky = res.data;
     });
   },
   methods: {
@@ -673,7 +673,6 @@ export default {
         this.loading2 = true;
         this.form1 = {};
         this.zhuangbei = res.rows[0];
-
         this.myEcharts();
         this.loading2 = false;
       });
@@ -692,11 +691,14 @@ export default {
     },
     // 编辑装备五率
     editor2() {
+      console.log(1111)
       this.open1 = true;
       this.form1.zbky = this.zbky;
+      
       this.form1 = this.zhuangbei;
-
+      console.log(this.form1)
       addzbwl().then((res) => {
+        console.log(res.rows)
         this.form1 = res.rows[0];
       });
     },
@@ -977,7 +979,7 @@ export default {
       var data9 = [
         {
           value: this.zhuangbei.cczb,
-          name: "建制单位达到战备战备储存标准的装备数量",
+          name: "建制单位达到战备储存标准的装备数量",
         },
         {
           value: 200,