liulijun
2026-04-09 4cf43750c41e1833143b557ecbbf6844656f49d6
ÏîÄ¿´úÂë/WMS/WMSClient/src/views/outbound/outSGOrderDetail.vue
@@ -18,79 +18,26 @@
      sortName: "id",
    });
    const editFormFields = ref({
      deviceCode: "",
      deviceName: "",
      deviceType: "",
      deviceStatus: "",
      deviceIp: "",
      devicePort: "",
      devicePlcType: "",
      deviceRemark: "",
    });
    const editFormOptions = ref([
      [
        {
          title: "设备编号",
          required: true,
          field: "deviceCode",
          type: "string",
        },
        {
          title: "设备名称",
          required: true,
          field: "deviceName",
          type: "string",
        },
        {
          title: "设备类型",
          required: true,
          field: "deviceType",
          type: "string",
        },
        {
          title: "设备状态",
          required: true,
          field: "deviceStatus",
          type: "string",
        },
      ],
      [
        { title: "设备IP", required: true, field: "deviceIp", type: "string" },
        {
          title: "设备端口",
          required: true,
          field: "devicePort",
          type: "string",
        },
        {
          title: "PLC类型",
          required: true,
          field: "devicePlcType",
          type: "string",
        },
        {
          title: "备注",
          field: "deviceRemark",
          type: "string",
        },
      ],
    ]);
    const searchFormFields = ref({
      deviceCode: "",
      deviceType: "",
      deviceStatus: "",
    });
    const searchFormOptions = ref([
      [
        { title: "设备编号", field: "deviceCode" },
        { title: "设备类型", field: "deviceType" },
        { title: "设备状态", field: "deviceStatus" },
        { title: "出库单主键", field: "outSGOrderId" },
        { title: "物料编号", field: "materialNo" },
        { title: "楞别", field: "boardFluteNo" },
        { title: "机台位", field: "machineName" },
      ],
      [
        { title: "订单明细状态", field: "outSGOrderDetailStatus" },
      ],
    ]);
    const columns = ref([
      {
        field: "id",
        title: "Id",
        title: "ID",
        type: "int",
        width: 90,
        hidden: true,
@@ -100,72 +47,134 @@
      {
        field: "outSGOrderId",
        title: "出库单主键",
        type: "string",
        width: 90,
        type: "int",
        width: 120,
        align: "left",
        hidden: true,
      },
      {
        field: "MaterialNo",
        field: "boardMpsId",
        title: "上游单据ID",
        type: "int",
        width: 120,
        align: "left",
      },
      {
        field: "boardMpsDetailId",
        title: "上游明细ID",
        type: "int",
        width: 120,
        align: "left",
      },
      {
        field: "width",
        title: "幅宽",
        type: "decimal",
        width: 100,
        align: "left",
      },
      {
        field: "xqLen",
        title: "需求长度",
        type: "decimal",
        width: 120,
        align: "left",
      },
      {
        field: "totalUsage",
        title: "总用量",
        type: "decimal",
        width: 120,
        align: "left",
      },
      {
        field: "materialId",
        title: "物料ID",
        type: "int",
        width: 100,
        align: "left",
      },
      {
        field: "materialNo",
        title: "物料编号",
        type: "string",
        width: 150,
        align: "left",
      },
      {
        field: "materielName",
        field: "materialName",
        title: "物料名称",
        type: "string",
        width: 150,
        align: "left",
      },
      {
        field: "batchNo",
        title: "批次号",
        field: "procurementLength",
        title: "采购长度",
        type: "decimal",
        width: 90,
        align: "left",
      },
      {
        field: "orderQuantity",
        title: "单据数量",
        type: "string",
        width: 90,
        align: "left",
      },
      {
        field: "lockQuantity",
        title: "锁定数量",
        type: "int",
        width: 120,
        align: "left",
      },
      {
        field: "overOutQuantity",
        title: "已出数量",
        field: "boardFluteNo",
        title: "楞别",
        type: "string",
        width: 200,
        width: 100,
        align: "left",
      },
      {
        field: "orderDetailStatus",
        title: "订单明细状态",
        field: "machineName",
        title: "机台位",
        type: "string",
        width: 180,
        width: 100,
        align: "left",
      },
      {
        field: "totalLenth",
        title: "总长度",
        type: "decimal",
        width: 120,
        align: "left",
      },
      {
        field: "assignTotalUsage",
        title: "已分配用量",
        type: "decimal",
        width: 120,
        align: "left",
      },
      {
        field: "outTotalUsage",
        title: "已出用量",
        type: "decimal",
        width: 120,
        align: "left",
      },
      {
        field: "outSGOrderDetailStatus",
        title: "订单明细状态",
        type: "int",
        width: 150,
        align: "left",
      },
      {
        field: "number",
        title: "序号",
        type: "int",
        width: 80,
        align: "left",
      },
      {
        field: "creater",
        title: "创建人",
        type: "string",
        width: 90,
        width: 100,
        align: "left",
      },
      {
        field: "createDate",
        title: "创建时间",
        type: "datetime",
        width: 160,
        width: 180,
        align: "left",
      },
      {
@@ -179,22 +188,23 @@
        field: "modifyDate",
        title: "修改时间",
        type: "datetime",
        width: 160,
        width: 180,
        align: "left",
      },
      {
        field: "remark",
        title: "备注",
        type: "string",
        width: 100,
        width: 150,
        align: "left",
      },
    ]);
    const detail = ref({
      cnName: "#detailCnName",
      table: "",
      cnName: "出库明细单",
      table: "OutSGOrderDetail",
      columns: [],
      sortName: "",
      sortName: "id",
      key: "id",
    });
    return {
      table,