解决老厂生管排程出库详情不能正常显示的问题,添加老厂生管排程明细信息页面

解决老厂生管排程出库详情不能正常显示的问题,添加老厂生管排程明细信息页面
已修改4个文件
211 ■■■■ 文件已修改
项目代码/WMS/WMSClient/src/extension/outbound/extend/SelectedStock.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSClient/src/router/viewGird.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSClient/src/views/outbound/outSGOrder.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSClient/src/views/outbound/outSGOrderDetail.vue 200 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ÏîÄ¿´úÂë/WMS/WMSClient/src/extension/outbound/extend/SelectedStock.vue
@@ -208,11 +208,12 @@
              { label: '出库中', value: 1 },
              { label: '出库完成', value: 2 },
              { label: '拣选完成', value: 3 },
              { label: '撤销', value: 99 }
              { label: '撤销', value: 99 },
              { label: '关闭', value: 100 }
          ]
          this.tableData=x.map((i) => ({
            ...i,
            status:label.find((j) => j.value === i.status).label
            status:label.find((j) => j.value === i.status)?.label || i.status
          }))
        });
    },
ÏîÄ¿´úÂë/WMS/WMSClient/src/router/viewGird.js
@@ -279,6 +279,10 @@
    path: '/outMESOrder',
    name: 'outMESOrder',
    component: () => import('@/views/outbound/outMESOrder.vue')
  },{
    path: '/outSGOrderDetail',
    name: 'outSGOrderDetail',
    component: () => import('@/views/outbound/outSGOrderDetail.vue')
  }
]
export default viewgird
ÏîÄ¿´úÂë/WMS/WMSClient/src/views/outbound/outSGOrder.vue
@@ -42,7 +42,7 @@
      [
        { title: "WMS单号", field: "outSGOrderNo", type: "like" },
        { title: "出库上游ID", field: "boardMpsId", type: "like" },
        { title: "上游生产单号", field: "orderId", type: "like" },
        { title: "排程号", field: "orderId", type: "like" },
        {
          title: "单据状态",
          field: "outSGOrderStatus",
ÏîÄ¿´úÂë/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,