duanxiaoduan 3 سال پیش
والد
کامیت
bd382d8099

BIN
dist.zip


+ 10 - 10
src/views/formulationPlan/dailyExecutionPlan/typePage/materialIssuancePlan.vue

@@ -1233,17 +1233,17 @@ export default {
           'returnmap': '0'
         }
         this.requestParam.data = []
+        // this.requestParam.data[0] = {
+        //   'name': 'updateLpplandtlSortsdate',
+        //   'type': 'e',
+        //   'parammaps': {
+        //     pastureid: evt.pastureid,
+        //     sort: evt.sort,
+        //     lppid: evt.id,
+        //     date: this.date
+        //   }
+        // }
         this.requestParam.data[0] = {
-          'name': 'updateLpplandtlSortsdate',
-          'type': 'e',
-          'parammaps': {
-            pastureid: evt.pastureid,
-            sort: evt.sort,
-            lppid: evt.id,
-            date: this.date
-          }
-        }
-        this.requestParam.data[1] = {
           'name': 'updateFpdetailUsedate',
           'type': 'e',
           'parammaps': {

+ 4 - 4
src/views/formulationPlan/materialIssuancePlan/index.vue

@@ -988,9 +988,9 @@ export default {
         this.requestParam = {}
         this.requestParam.common = { 'returnmap': '0' }
         this.requestParam.data = []
-        this.requestParam.data[0] = { 'name': 'updateLpplandtlSorts', 'type': 'e',
-          'parammaps': { pastureid: evt.pastureid, sort: evt.sort, lppid: evt.id }
-        }
+        // this.requestParam.data[0] = { 'name': 'updateLpplandtlSorts', 'type': 'e',
+        //   'parammaps': { pastureid: evt.pastureid, sort: evt.sort, lppid: evt.id }
+        // }
         // this.requestParam.data[1] = { 'name': 'insertLppd', 'type': 'e',
         //   'parammaps': {
         //     pastureid: evt.pastureid, lppid: evt.id, barid: item.barid, barname: item.barname, fpdid: item.id, fttype: item.fttype,
@@ -998,7 +998,7 @@ export default {
         //     background: item.background, ccountradio: item.ccountradio, cowcount: item.cowcount
         //   }
         // }
-        this.requestParam.data[1] = { 'name': 'updateFpdetailUse', 'type': 'e',
+        this.requestParam.data[0] = { 'name': 'updateFpdetailUse', 'type': 'e',
           'parammaps': { pastureid: item.pastureid, id: item.id, fttype: item.fttype, lweight: item.weight }
         }
         const url2 = 'authdata/ExecDataByConfig'