wangxinhui
2025-04-08 dcecb039035f4b2e82e31c39b74db9402444c536
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/proOutboundOrderDetail.vue
@@ -3,7 +3,7 @@
    <vol-box
      v-model="showDetialBox"
      :lazy="true"
      width="75%"
      width="85%"
      :padding="15"
      title="单据明细信息"
    >
@@ -14,13 +14,13 @@
              <span>已选中 {{ selection.length }} é¡¹</span>
            </el-col>
            <el-col :span="8">
              <el-link
              <!-- <el-link
                type="primary"
                size="small"
                style="float: right; height: 20px"
                @click="lockstocks"
                >锁定库存</el-link
              >
              > -->
              <el-link
                type="primary"
                size="small"
@@ -91,7 +91,7 @@
        </el-table>
      </div>
    </vol-box>
    <pp-stock-select ref="childs" ></pp-stock-select>
    <stock-select ref="childs" ></stock-select>
    <selected-stock
      ref="SelectedStock"
      @parentCall="parentCall"
@@ -101,8 +101,8 @@
<script>
import VolBox from "@/components/basic/VolBox.vue";
import VolForm from "@/components/basic/VolForm.vue";
import StockSelect from "./StockSelect.vue";
import SelectedStock from "./SelectedStock.vue";
import StockSelect from "./ProStockSelect.vue";
import SelectedStock from "./ProSelectedStock.vue";
export default {
  components: { VolBox, VolForm, StockSelect, SelectedStock },
  data() {
@@ -183,9 +183,15 @@
          type: "string",
          width: 150,
        },
        // {
        //   prop: "overQtyPcs",
        //   title: "已出数量",
        //   type: "string",
        //   width: 150,
        // },
        {
          prop: "overQtyPcs",
          title: "已出数量",
          prop: "lockQtyPcs",
          title: "锁定数量",
          type: "string",
          width: 150,
        },
@@ -208,12 +214,6 @@
          width: 120,
        },
        {
          prop: "spareQty",
          title: "备品数",
          type: "string",
          width: 120,
        },
          {
          prop: "assignStock",
          title: "指定库存",
          type: "icon",
@@ -228,6 +228,12 @@
          icon: "el-icon-s-operation",
        },
        {
          prop: "spareQty",
          title: "备品数",
          type: "string",
          width: 120,
        },
        {
          prop: "creater",
          title: "创建人",
          type: "string",
@@ -239,18 +245,18 @@
          type: "datetime",
          width: 160,
        },
        {
          prop: "modifier",
          title: "修改人",
          type: "string",
          width: 100,
        },
        {
          prop: "modifyDate",
          title: "修改时间",
          type: "datetime",
          width: 160,
        },
        // {
        //   prop: "modifier",
        //   title: "修改人",
        //   type: "string",
        //   width: 100,
        // },
        // {
        //   prop: "modifyDate",
        //   title: "修改时间",
        //   type: "datetime",
        //   width: 160,
        // },
        {
          prop: "remark",
          title: "备注",
@@ -308,7 +314,7 @@
      this.getData();
    },
    getData() {
      var wheres = [{ name: "orderId", value: this.row.id }];
      var wheres = [{ name: "proOrderId", value: this.row.id }];
      var param = {
        page: this.paginations.page,
        rows: this.paginations.rows,
@@ -356,7 +362,7 @@
      var keys = this.selection.map((item) => item.id); // èŽ·å–é€‰ä¸­è¡Œçš„id
      this.http
        .post("api/Mes/PPCutOutGenerateOutboundTasks", keys, "数据处理中")
        .post("api/Task/OutProductTask?stationCode=5236", keys, "数据处理中")
        .then((x) => {
          if (!x.status) return this.$message.error(x.message);
          this.$message.success("操作成功");
@@ -375,10 +381,10 @@
    getButtonEnable(propName, row) {
      if (propName == "assignStock") {
        if (
          row.orderDetailStatus !== 0 &&
          row.orderDetailStatus !== 60 &&
          row.orderDetailStatus !== 70 &&
          row.orderDetailStatus !== 80
          row.proOrderDetailStatus !== 0 &&
          row.proOrderDetailStatus !== 60 &&
          row.proOrderDetailStatus !== 70 &&
          row.proOrderDetailStatus !== 80
        ) {
          return true;
        } else {