gaoluyang
9 天以前 80ef3a1fb42f37cde2e9753317e118c50379b095
src/views/qualityManagement/processInspection/index.vue
@@ -401,11 +401,23 @@
  };
  // 提价
  const submit = async id => {
    const res = await submitQualityInspect({ id: id });
    if (res.code === 200) {
      proxy.$modal.msgSuccess("提交成功");
      getList();
    }
    ElMessageBox.confirm(
      "提交后将生成入库记录且不可修改,确认提交?",
      "提示",
      { confirmButtonText: "确认", cancelButtonText: "取消", type: "warning" }
    )
      .then(async () => {
        const res = await submitQualityInspect({ id: id });
        if (res.code === 200) {
          proxy.$modal.msgSuccess(
            "提交成功,合格部分已生成入库记录(待审核),不合格部分已生成处理单"
          );
          getList();
        }
      })
      .catch(() => {
        proxy.$modal.msg("已取消");
      });
  };
  const handleBatchSubmit = () => {