333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<template>
  <div class="dialog-container">
    <el-dialog v-dialogDrag :visible.sync="currentVisible" width="650px" title="新建">
      <el-table :data="listtableData" stripe style="width: 100%">
        <el-table-column prop="productCode" label="物料编号" width="100">
        </el-table-column>
        <el-table-column prop="enterQuantity" label="待收数量" width="110">
          <template slot-scope="{$idnex, row, col}">
            <el-input-number v-model.number="row.enterQuantity" :max="row.quantity" controls-position="right" class="w-100" @change="changeEnterQuantity(row, col)"></el-input-number>
          </template>
        </el-table-column>
      </el-table>
      <div slot="footer" class="dialog-footer">
        <!-- <el-switch v-model="isSorting" active-color="#13ce66" inactive-color="#ff4949" active-text="是否分拣"></el-switch> -->
        <el-button @click="currentVisible = false">取 消</el-button>
        <el-button type="primary" @click="saveCheck">确 定</el-button>
      </div>
    </el-dialog>
  </div>
</template>
 
<script>
import InputSelect from "@/components/base/InputSelect";
export default {
  name: "quick-enter",
  components: { InputSelect },
  props: {
    // 显示对话框
    visible: {
      type: Boolean,
      default: false,
      required: true
    }
  },
  data() {
    return {
      // 明细数据
      listtableData: [],
      isSorting: false,
      show: false,
      // 获取验证员
      creatorlist: [],
      // 获取货位
      positionlist: [],
      creator: "",
      positionName: "",
      // 物料属性
      productnature: "",
      // 当前订单ID
      order_Id: 0,
      // 当前仓库ID
      storage_Id: 0
    };
  },
  computed: {
    currentVisible: {
      get: function() {
        return this.visible;
      },
      set: function(val) {
        this.$emit("update:visible", val);
      }
    }
  },
  mounted() {
    // this.getCreater();
  },
  methods: {
    saveCheck() {}
  }
};
</script>