zhangwencui
4 天以前 3b55fed0ba65d887969acbe118c1a868bc3b3ad0
src/views/productionManagement/workOrder/index.vue
@@ -249,6 +249,7 @@
      width: "200",
      align: "center",
      dataType: "action",
      fixed: "right",
      operation: [
        {
          name: "编辑",
@@ -289,6 +290,7 @@
    reportWork: "",
    productProcessRouteItemId: "",
    userId: "",
    productMainId: null,
  });
  const currentReportRowData = ref(null);
  const page = reactive({
@@ -332,7 +334,10 @@
  const showTransferCard = async row => {
    transferCardRowData.value = row;
    const qrContent = proxy.javaApi + "/work-order?orderId=" + row.id;
    const qrContent =
      proxy.javaApi + "/work-order?orderRow=" + JSON.stringify(row);
    console.log(qrContent, "qrContent");
    transferCardQrUrl.value = await QRCode.toDataURL(qrContent);
    transferCardVisible.value = true;
  };
@@ -363,10 +368,11 @@
  const showReportDialog = row => {
    currentReportRowData.value = row;
    reportForm.remainingQuantity = 1;
    reportForm.quantity = 0;
    reportForm.quantity = row.quantity;
    reportForm.productProcessRouteItemId = row.productProcessRouteItemId;
    reportForm.workOrderId = row.id;
    reportForm.reportWork = row.reportWork;
    reportForm.productMainId = row.productMainId;
    // 获取当前登录用户信息
    reportDialogVisible.value = true;