|
|
@ -7,13 +7,14 @@
|
|
|
|
{{ this.input_text }}
|
|
|
|
{{ this.input_text }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="input_body">
|
|
|
|
<div class="input_body">
|
|
|
|
<el-input v-model="person_input" placeholder="请输入数量"></el-input>
|
|
|
|
<el-input v-model="person_input" placeholder="请输入数量" oninput="value=value.replace(/^(0+)|[^\d]+/g,'')"></el-input>
|
|
|
|
<el-button @click="add_detail">提交</el-button>
|
|
|
|
<el-button @click="add_detail">提交</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="table_body">
|
|
|
|
<div class="table_body">
|
|
|
|
<el-table
|
|
|
|
<el-table
|
|
|
|
:data="detail_table_data"
|
|
|
|
:data="detail_table_data"
|
|
|
|
class="company_table"
|
|
|
|
class="company_table"
|
|
|
|
|
|
|
|
height="320"
|
|
|
|
:header-cell-style="table_header"
|
|
|
|
:header-cell-style="table_header"
|
|
|
|
:cell-style="{ background: 'revert', 'text-align': 'center' }"
|
|
|
|
:cell-style="{ background: 'revert', 'text-align': 'center' }"
|
|
|
|
>
|
|
|
|
>
|
|
|
@ -221,6 +222,7 @@ export default {
|
|
|
|
// 刷新
|
|
|
|
// 刷新
|
|
|
|
refresh() {
|
|
|
|
refresh() {
|
|
|
|
this.get_detail_data()
|
|
|
|
this.get_detail_data()
|
|
|
|
|
|
|
|
this.person_input = ''
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 表头样式
|
|
|
|
// 表头样式
|
|
|
|
table_header({ row, rowIndex }) {
|
|
|
|
table_header({ row, rowIndex }) {
|
|
|
@ -325,7 +327,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/deep/.el-table {
|
|
|
|
/deep/.el-table {
|
|
|
|
// width: 85.2vw;
|
|
|
|
// width: 85.2vw;
|
|
|
|
height: 29vh;
|
|
|
|
// height: 29vh;
|
|
|
|
background: rgba(0, 0, 0, 0);
|
|
|
|
background: rgba(0, 0, 0, 0);
|
|
|
|
border: 0.1px solid #3f5564;
|
|
|
|
border: 0.1px solid #3f5564;
|
|
|
|
thead {
|
|
|
|
thead {
|
|
|
@ -352,6 +354,23 @@ export default {
|
|
|
|
background: rgba(0, 0, 0, 0);
|
|
|
|
background: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/deep/ .el-table td.el-table__cell,
|
|
|
|
|
|
|
|
.el-table th.el-table__cell.is-leaf {
|
|
|
|
|
|
|
|
border: 0.1px solid #3f5564;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/deep/.el-table__body-wrapper::-webkit-scrollbar {
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
width: 6px;
|
|
|
|
|
|
|
|
background-color: #5e666a;
|
|
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/deep/.el-table__body-wrapper::-webkit-scrollbar-thumb {
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
width: 5px;
|
|
|
|
|
|
|
|
background-color: #3c4b4a;
|
|
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
}
|
|
|
|
.table_pagination {
|
|
|
|
.table_pagination {
|
|
|
|
width: 51vw;
|
|
|
|
width: 51vw;
|
|
|
|
height: 5vh;
|
|
|
|
height: 5vh;
|
|
|
|