1
hutongqing
2024-09-13 ea9bdf217e8202a5fa475262dba1792decb05bcb
代码管理/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue
@@ -78,8 +78,12 @@
        </el-table>
      </div>
      <template #footer>
        <el-button type="primary" size="small" @click="outbound">鐩存帴鍑哄簱</el-button>
        <el-button type="primary" size="small" @click="lockStock">閿佸畾搴撳瓨</el-button>
        <el-button type="primary" size="small" @click="outbound"
          >鐩存帴鍑哄簱</el-button
        >
        <el-button type="primary" size="small" @click="lockStock"
          >閿佸畾搴撳瓨</el-button
        >
        <el-button type="danger" size="small" @click="showDetialBox = false"
          >鍏抽棴</el-button
        >
@@ -140,6 +144,13 @@
      this.originalQuantity = this.row.lockQuantity;
      this.selectionSum = this.row.lockQuantity;
      this.getData();
      if (this.selectionSum == this.row.orderQuantity) {
        this.selectionClass = "equle-style";
      } else if (this.selectionSum < this.row.orderQuantity) {
        this.selectionClass = "less-style";
      } else {
        this.selectionClass = "more-style";
      }
    },
    lockStock() {
      this.http
@@ -157,7 +168,7 @@
          });
        });
    },
    outbound(){
    outbound() {
      this.http
        .post(
          "api/Task/GenerateOutboundTask?id=" + this.row.id,