1
Huangxiaoqiang-03
2024-10-23 c05003c73bbe527478bccc55efe25c19068b6f50
代码管理/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue
@@ -3,7 +3,7 @@
    <vol-box
      v-model="showDetialBox"
      :lazy="true"
      width="75%"
      width="60%"
      :padding="15"
      title="鎸囧畾搴撳瓨"
    >
@@ -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,