<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>
|