Parcourir la source

修改了栏舍配方编辑接口

duanxiaoduan il y a 1 an
Parent
commit
da6625e9ae
1 fichiers modifiés avec 8 ajouts et 8 suppressions
  1. 8 8
      src/views/formulationPlan/dhedFormula/index.vue

+ 8 - 8
src/views/formulationPlan/dhedFormula/index.vue

@@ -4224,11 +4224,11 @@ export default {
         supplyweight: row.supplyweight,
         ratio: row.ratio
       }}
-      this.requestParam.data[2] = { 'name': 'updateLPPbyFPChange', 'type': 'e', 'parammaps': {
-        pastureid: row.pastureid,
-        fpid: row.id
-      }}
-      this.requestParam.data[3] = { 'name': 'insertFeedphistory', 'type': 'e', 'parammaps': {
+      // this.requestParam.data[2] = { 'name': 'updateLPPbyFPChange', 'type': 'e', 'parammaps': {
+      //   pastureid: row.pastureid,
+      //   fpid: row.id
+      // }}
+      this.requestParam.data[2] = { 'name': 'insertFeedphistory', 'type': 'e', 'parammaps': {
         createdate:createdate,
         pastureid:row.pastureid,
         barname:row.barname,
@@ -4245,9 +4245,9 @@ export default {
         ftweight:row.ftweight,
         supplyweight:row.supplyweight
       }}
-      this.requestParam.data[4] = { 'name': 'insertSpotList2', 'resultmaps': { 'list': this.table.rwList }}
-      this.requestParam.data[4].children = []
-      this.requestParam.data[4].children[0] = { 'name': 'insertFpdetailhistory', 'type': 'e', 'parammaps': {
+      this.requestParam.data[3] = { 'name': 'insertSpotList2', 'resultmaps': { 'list': this.table.rwList }}
+      this.requestParam.data[3].children = []
+      this.requestParam.data[3].children[0] = { 'name': 'insertFpdetailhistory', 'type': 'e', 'parammaps': {
         createdate:createdate,
         pastureid: '@insertSpotList2.pastureid',
         barname: row.barname,