pan
2025-12-02 07774c70a65bed6bacf936bdd66f756ba9c7f266
ÏîÄ¿´úÂë/WIDESEA_WMSClient/src/extension/inbound/extend/AllocateStockSelect.vue
@@ -140,6 +140,7 @@
        { prop: "palletCode", title: "托盘编号", type: "string", width: 150 },
        { prop: "locationCode", title: "货位编号", type: "string", width: 180 },
        { prop: "useableQuantity", title: "可用数量", type: "string" },
        {prop:"orderDetailId",title:"单据明细主键",type:"string",width:150,hidden:true},
      ],
      selection: [],
      selectionSum: 0,
@@ -200,13 +201,13 @@
      this.$refs.outboundFormRef.validate((valid) => {
        if (!valid) return;
console.log(this.selection)
     if (this.selection.length <= 0) {
        return this.$message.error("请勾选");
      }
      let url = this.pkcx
        ? "api/Task/GenerateOutboundTask?orderDetailId="
        : "api/Task/GenerateOutboundTask?orderDetailId=";
        ? "api/Task/GenerateAllocatOutboundTask?orderDetailId="
        : "api/Task/GenerateAllocatOutboundTask?orderDetailId=";
      this.http
        .post(url + this.row.id, this.selection, "数据处理中")
        .then((x) => {