张诺
15 小时以前 195770f92f7d739ffba6447fdbf3a3d5b9e009fa
src/views/productionManagement/productionOrder/index.vue
@@ -94,7 +94,6 @@
  import { listMain as getOrderProcessRouteMain } from "@/api/productionManagement/productProcessRoute.js";
  import PIMTable from "@/components/PIMTable/PIMTable.vue";
  import BindRouteDialog from "./BindRouteDialog.vue";
  import {getDeviceLedger} from "@/api/equipmentManagement/ledger.js";
  const NewProductOrder = defineAsyncComponent(() => import("@/views/productionManagement/productionOrder/New.vue"));
  const { proxy } = getCurrentInstance();
@@ -132,7 +131,7 @@
      width: '150px',
    },
    {
      label: "客户名称",
      label: "厂家",
      prop: "customerName",
      width: '200px',
    },
@@ -142,7 +141,7 @@
      width: '120px',
    },
    {
      label: "规格",
      label: "纸张规格",
      prop: "specificationModel",
      width: '120px',
    },
@@ -152,8 +151,28 @@
      width: '200px',
    },
    {
      label: "需求数量",
      label: "印刷数量",
      prop: "quantity",
    },
    {
      label: "尺寸",
      prop: "cutSize",
      width: '120px',
    },
    {
      label: "小盒数量",
      prop: "smallBoxQty",
      width: '120px',
    },
    {
      label: "中盒数量",
      prop: "mediumBoxQty",
      width: '120px',
    },
    {
      label: "色数",
      prop: "printColorCount",
      width: '120px',
    },
    {
      label: "完成数量",
@@ -179,9 +198,14 @@
      width: 120,
    },
    {
      label: "交付日期",
      label: "计划交货日期",
      prop: "deliveryDate",
      formatData: val => (val ? dayjs(val).format("YYYY-MM-DD") : ""),
      width: 120,
    },
    {
      label: "备注",
      prop: "remark",
      width: 120,
    },
    {
@@ -292,6 +316,11 @@
      if (type === "view") {
        bindDialogType.value = "detail"
        const res = await viewGetByProductWordId(row.id)
        if(res?.cuttingFileVo?.id ==null){
          res.cuttingFileVo = []
        }else{
          res.cuttingFileVo = [res.cuttingFileVo]
        }
        rowData.value = res?.data || res
      } else {
        bindDialogType.value = "add"