ke_junjie
2025-06-04 bb6e2230bb8ded3c5546bc4e4c282ee343754475
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<template>
  <div class="quotationEdit height overflow">
    <div class="width overflow height92">
      <div>
        <div class="flex justify-between">
          <div class="width40 flex align-center">
            <label class="width40 textalign">零件编号:</label>
            <el-input size="mini" clearable v-model="iqnuer.center" class="width60"> </el-input>
          </div>
          <div class="width40 flex align-center">
            <label class="width40 textalign">零件名称:</label>
            <el-input size="mini" clearable v-model="iqnuer.center" class="width60"> </el-input>
          </div>
          <el-button type="primary" size="mini" @click="$emit('partclick')">查询</el-button>
        </div>
      </div>
      <div class="width height94 overflow">
        <table-container
          height="91%"
          :wipelist="wipelist"
          :tableHead="tableHead"
          :tableData="tableData"
          :selectionShow="true"
          :operation="false"
          :totle="totle"
        />
      </div>
    </div>
    <div class="quotationEdit-button text-right margin-right15 margin-top2">
      <el-button type="primary" size="mini" class="form-buttom" @click="submitForm">确认选择</el-button>
      <el-button type="primary" size="mini" class="form-buttom" @click="$emit('cancel')">取消</el-button>
    </div>
  </div>
</template>
 
<script>
import { TableContainer, Modal } from '@/components/index';
const { partschoose } = require('@/components/tableContainer/tableHead');
export default {
  data() {
    return {
      iqnuer: {},
 
      wipelist: [],
      tableData: [
        {
          deviceName1: '张三'
        }
      ],
      totle: 0
    };
  },
  props: {
    rowitem: {
      type: Object,
      default: {}
    }
  },
  components: { TableContainer },
  computed: {
    tableHead() {
      return partschoose;
    }
  },
  mounted() {
    if (JSON.stringify(this.rowitem) != '{}') {
      this.registerForm = this.rowitem;
    }
  },
  methods: {
    submitForm(registerForm) {}
  },
  watch: {}
};
</script>
 
<style lang="scss" scoped>
.quotationEdit {
  width: 98%;
  padding: 1%;
  .show-pwd {
    position: absolute;
    right: 10px;
    top: 3px;
    font-size: 16px;
    color: #889aa4;
    cursor: pointer;
    user-select: none;
  }
  .centent-form {
    height: 92%;
    width: 100%;
    margin: auto;
  }
  .quotationEdit-button {
  }
  ::v-deep .el-form-item__content {
    width: 60%;
  }
  ::v-deep .el-select {
    // width: 100%;
  }
}
</style>