gongchunyi
12 小时以前 0f9cb9a58ac49db40237f656508aac157ca3712b
fix: 产品类型会出现参数传递为id而不是label
已修改1个文件
7 ■■■■ 文件已修改
src/views/productionPlan/productionPlan/index.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productionPlan/productionPlan/index.vue
@@ -1087,7 +1087,12 @@
    }
    console.log(mergeForm, "mergeForm");
    productionPlanCombine(mergeForm)
    const strengthItem = block_strength.value.find(item => item.id === mergeForm.strength);
    const payload = {
      ...mergeForm,
      strength: strengthItem ? strengthItem.label : mergeForm.strength
    };
    productionPlanCombine(payload)
      .then(res => {
        if (res.code === 200) {
          ElMessage.success("下发成功");