Преглед изворни кода

CategoryVo: weightUnit <- {netWeightUnit,roughtWeightUnit}

wanxq пре 2 година
родитељ
комит
42ef2d7963
2 измењених фајлова са 3 додато и 3 уклоњено
  1. 2 2
      src/api/aps/index.js
  2. 1 1
      src/components/EquipmentDailog/equipment-dailog.vue

+ 2 - 2
src/api/aps/index.js

@@ -24,8 +24,8 @@ export async function getDeviceList ({ productionId }) {
 }
 }
 
 
 // 生产计划添加工单列表
 // 生产计划添加工单列表
-export async function getPlanDeviceList ({ productionId }) {
-  const res = await request.get(`/aps/workorder/getDeviceList/${productionId}`);
+export async function getPlanDeviceList ({ produceVersionId }) {
+  const res = await request.get(`/aps/workorder/getDeviceList/${produceVersionId}`);
   if (res.data.code == 0) {
   if (res.data.code == 0) {
     return res.data.data;
     return res.data.data;
   }
   }

+ 1 - 1
src/components/EquipmentDailog/equipment-dailog.vue

@@ -162,7 +162,7 @@
         const fn = this.isPlan ? getPlanDeviceList : getDeviceList;
         const fn = this.isPlan ? getPlanDeviceList : getDeviceList;
         const data = await fn({
         const data = await fn({
           name: this.name,
           name: this.name,
-          productionId: this.produceVersionId
+          produceVersionId: this.produceVersionId
         });
         });
         this.datasource = data || [];
         this.datasource = data || [];
       },
       },