1
huangxiaoqiang
2025-11-21 97a9ad53c6d1ac097f46f0b5d4d4d53547c9efe4
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/Order/Production/ProductionStockSelect.vue
@@ -21,7 +21,7 @@
          </el-row>
        </el-alert>
      </div>
      <div style="margin-top:10px;width:400px">
      <!-- <div style="margin-top:10px;width:400px">
        <el-form ref="form" :model="form" label-width="90px">
          <el-form-item label="出库区域" prop="areaId">
            <el-select v-model="form.areaId" placeholder="请选择出库区域">
@@ -31,7 +31,7 @@
            </el-select>
          </el-form-item>
        </el-form>
      </div>
      </div> -->
      <div class="box-table" style="margin-top: 1%">
        <el-table ref="singleTable" :data="tableData" style="width: 100%; height: 800px" highlight-current-row
          @row-click="handleRowClick" height="500px" @selection-change="handleSelectionChange">
@@ -81,6 +81,7 @@
          title: "物料名称",
          type: "string",
          width: 150,
        },
        {
          prop: "palletCode",
@@ -101,7 +102,7 @@
        },
      ],
      selection: [],
      ids:[],
      ids: [],
      selectionSum: 0,
      selectionClass: "less-style",
      originalQuantity: 0,
@@ -129,7 +130,7 @@
      }
      this.ids.push(this.row.id);
      var param = {
        "orderIds":this.ids,
        "orderIds": this.ids,
        "stockViews": this.selection,
        "AreaId": this.form.areaId,
      }
@@ -137,7 +138,7 @@
        .post(
          "api/ProductionOutboundOrder/GeneratetProductOutboundTask",
          param,
          "数据处理中"
          "数据处理中..."
        )
        .then((x) => {
          if (!x.status) return this.$message.error(x.message);
@@ -150,12 +151,12 @@
    },
    getData() {
      var param = {
        "materielCode":this.row.materielCode,
        "materielCode": this.row.materielCode,
        "materielName": this.row.materielName,
        "demandClassification": this.row.demandClassification,
      }
      this.http
        .post("api/StockInfo/GetStockSelectViews",param,"查询中").then((x) => {
        .post("api/StockInfo/GetStockSelectViews", param, "查询中...").then((x) => {
          this.tableData = x;
        });
    },