wangxinhui
2025-03-31 a6e0ea9ce13e791f3edae4edffeb3be3ccb760be
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/proOutboundOrderDetail.vue
@@ -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"
@@ -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,
        },
@@ -213,13 +219,13 @@
          type: "string",
          width: 120,
        },
          {
          prop: "assignStock",
          title: "指定库存",
          type: "icon",
          width: 90,
          icon: "el-icon-s-grid",
        },
        //   {
        //   prop: "assignStock",
        //   title: "指定库存",
        //   type: "icon",
        //   width: 90,
        //   icon: "el-icon-s-grid",
        // },
        {
          prop: "viewDetail",
          title: "出库详细",
@@ -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: "备注",
@@ -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 {