liulijun
2025-11-24 9086b238cd9fbb9fbeae7cab11d59576cd9d2853
ÏîÄ¿´úÂë/WMS/WMSClient/src/extension/outbound/extend/SelectedStock.vue
@@ -11,16 +11,16 @@
        <el-alert :closable="false" style="width: 100%">
          <el-row>
            <el-col :span="24">
              <span class="less-style">物料名称: {{ row.materielName }} </span>
              <span class="less-style">物料名称: {{ row.materialName }} </span>
              <el-divider direction="vertical"></el-divider>
              <span class="less-style">物料编号: {{ row.materielCode }} </span>
              <span class="less-style">物料编号: {{ row.materialNo }} </span>
              <el-divider direction="vertical"></el-divider>
              <span class="less-style"
                >需求数量: {{ row.orderQuantity }}
                >需求数量: {{ row.xqLen }}
              </span>
              <el-divider direction="vertical"></el-divider>
              <span class="less-style"
                >已分配数量: {{ row.lockQuantity }}
                >已分配数量: {{ row.assignTotalUsage }}
              </span>
            </el-col>
          </el-row>
@@ -81,6 +81,7 @@
  data() {
    return {
      row: null,
      orderNo:null,
      showDetialBox: false,
      tableData: [],
      tableColumns: [
@@ -105,16 +106,10 @@
          hidden: true,
        },
        {
          prop: "orderType",
          title: "单据类型",
          prop: "materielId",
          title: "物料Id",
          type: "string",
          width: 90,
        },
        {
          prop: "batchNo",
          title: "批次号",
          type: "string",
          width: 120,
        },
        {
          prop: "materielCode",
@@ -129,6 +124,18 @@
          width: 150,
        },
        {
          prop: "materialWide",
          title: "物料幅宽",
          type: "string",
          width: 100,
        },
        {
          prop: "materialWeight",
          title: "物料重量",
          type: "string",
          width: 100,
        },
        {
          prop: "stockId",
          title: "库存主键",
          type: "string",
@@ -136,34 +143,40 @@
          hidden: true,
        },
        {
          prop: "originalQuantity",
          title: "原始库存量",
          prop: "orderQuantity",
          title: "单据需求长度",
          type: "string",
          width: 100,
          width: 110,
        },
        {
          prop: "originalQuantity",
          title: "原库存长度",
          type: "string",
          width: 110,
        },
        {
          prop: "assignQuantity",
          title: "分配出库量",
          title: "分配出库长度",
          type: "string",
          width: 100,
          width: 110,
        },
        {
          prop: "taskNum",
          title: "出库任务号",
          title: "出库任务",
          type: "string",
          width: 100,
        },
        {
          prop: "palletCode",
          title: "托盘编号",
          title: "条码编号",
          type: "string",
          width: 150,
          width: 130,
        },
        {
          prop: "locationCode",
          title: "货位编号",
          type: "string",
          width: 180,
          width: 200,
        },
        {
          prop: "status",
@@ -174,15 +187,16 @@
    };
  },
  methods: {
    open(row) {
    open(row,orderNo) {
      this.row = row;
      this.orderNo=orderNo;
      this.showDetialBox = true;
      this.getData();
    },
    getData() {
      this.http
        .post(
          "api/OutStockLockInfo/GetByOrderDetailId?orderDetailId=" +
          "api/OutStockLockInfo/GetByOrderDetailId?orderNo="+this.orderNo+"&orderDetailId=" +
            this.row.id,
          null,
          "查询中"